public enum ProcessingFeature extends Enum<ProcessingFeature>
| Enum Constant and Description |
|---|
DISALLOW_DOCTYPE_DECL
Disallow Document Type Declaration
|
SAX_NAMESPACE_PREFIXES
SAX Namespace Prefixes
|
SAX_NAMESPACES
SAX Namespaces
|
SECURE_PROCESSING
Secure Processing
|
| Modifier and Type | Field and Description |
|---|---|
private boolean |
enabled |
private String |
feature |
| Modifier and Type | Method and Description |
|---|---|
String |
getFeature() |
boolean |
isEnabled() |
static ProcessingFeature |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ProcessingFeature[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ProcessingFeature SECURE_PROCESSING
public static final ProcessingFeature SAX_NAMESPACES
public static final ProcessingFeature SAX_NAMESPACE_PREFIXES
public static final ProcessingFeature DISALLOW_DOCTYPE_DECL
private final String feature
private final boolean enabled
public static ProcessingFeature[] values()
for (ProcessingFeature c : ProcessingFeature.values()) System.out.println(c);
public static ProcessingFeature valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic String getFeature()
public boolean isEnabled()
Copyright © 2024 Apache NiFi Project. All rights reserved.