Enum Class ProcessingFeature

java.lang.Object
java.lang.Enum<ProcessingFeature>
org.apache.nifi.xml.processing.ProcessingFeature
All Implemented Interfaces:
Serializable, Comparable<ProcessingFeature>, Constable

public enum ProcessingFeature extends Enum<ProcessingFeature>
XML Processing Features
  • Enum Constant Details

    • SECURE_PROCESSING

      public static final ProcessingFeature SECURE_PROCESSING
      Secure Processing
    • SAX_NAMESPACES

      public static final ProcessingFeature SAX_NAMESPACES
      SAX Namespaces
    • SAX_NAMESPACE_PREFIXES

      public static final ProcessingFeature SAX_NAMESPACE_PREFIXES
      SAX Namespace Prefixes
    • DISALLOW_DOCTYPE_DECL

      public static final ProcessingFeature DISALLOW_DOCTYPE_DECL
      Disallow Document Type Declaration
  • Field Details

    • feature

      private final String feature
    • enabled

      private final boolean enabled
  • Constructor Details

    • ProcessingFeature

      private ProcessingFeature(String feature, boolean enabled)
  • Method Details

    • values

      public static ProcessingFeature[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static ProcessingFeature valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null
    • getFeature

      public String getFeature()
    • isEnabled

      public boolean isEnabled()