Package org.apache.nifi.xml.processing
Enum Class ProcessingFeature
- All Implemented Interfaces:
Serializable
,Comparable<ProcessingFeature>
,Constable
XML Processing Features
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionDisallow Document Type DeclarationSAX Namespace PrefixesSAX NamespacesSecure Processing -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionboolean
static ProcessingFeature
Returns the enum constant of this class with the specified name.static ProcessingFeature[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
SECURE_PROCESSING
Secure Processing -
SAX_NAMESPACES
SAX Namespaces -
SAX_NAMESPACE_PREFIXES
SAX Namespace Prefixes -
DISALLOW_DOCTYPE_DECL
Disallow Document Type Declaration
-
-
Field Details
-
feature
-
enabled
private final boolean enabled
-
-
Constructor Details
-
ProcessingFeature
-
-
Method Details
-
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
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 nameNullPointerException
- if the argument is null
-
getFeature
-
isEnabled
public boolean isEnabled()
-