Package com.fasterxml.aalto.sax
Enum SAXFeature
- java.lang.Object
-
- java.lang.Enum<SAXFeature>
-
- com.fasterxml.aalto.sax.SAXFeature
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<SAXFeature>
public enum SAXFeature extends java.lang.Enum<SAXFeature>
Enumeration for listing all currently (SAX 2.0.2) defined standard features
-
-
Enum Constant Summary
-
Field Summary
Fields Modifier and Type Field Description private java.lang.String
mSuffix
static java.lang.String
STD_FEATURE_PREFIX
-
Constructor Summary
Constructors Modifier Constructor Description private
SAXFeature(java.lang.String suffix)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getSuffix()
java.lang.String
toExternal()
static SAXFeature
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static SAXFeature[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
EXTERNAL_GENERAL_ENTITIES
public static final SAXFeature EXTERNAL_GENERAL_ENTITIES
-
EXTERNAL_PARAMETER_ENTITIES
public static final SAXFeature EXTERNAL_PARAMETER_ENTITIES
-
IS_STANDALONE
public static final SAXFeature IS_STANDALONE
-
LEXICAL_HANDLER_PARAMETER_ENTITIES
public static final SAXFeature LEXICAL_HANDLER_PARAMETER_ENTITIES
-
NAMESPACES
public static final SAXFeature NAMESPACES
-
NAMESPACE_PREFIXES
public static final SAXFeature NAMESPACE_PREFIXES
-
RESOLVE_DTD_URIS
public static final SAXFeature RESOLVE_DTD_URIS
-
STRING_INTERNING
public static final SAXFeature STRING_INTERNING
-
UNICODE_NORMALIZATION_CHECKING
public static final SAXFeature UNICODE_NORMALIZATION_CHECKING
-
USE_ATTRIBUTES2
public static final SAXFeature USE_ATTRIBUTES2
-
USE_LOCATOR2
public static final SAXFeature USE_LOCATOR2
-
USE_ENTITY_RESOLVER2
public static final SAXFeature USE_ENTITY_RESOLVER2
-
VALIDATION
public static final SAXFeature VALIDATION
-
XMLNS_URIS
public static final SAXFeature XMLNS_URIS
-
XML_1_1
public static final SAXFeature XML_1_1
-
-
Field Detail
-
STD_FEATURE_PREFIX
public static final java.lang.String STD_FEATURE_PREFIX
- See Also:
- Constant Field Values
-
mSuffix
private final java.lang.String mSuffix
-
-
Method Detail
-
values
public static SAXFeature[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (SAXFeature c : SAXFeature.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static SAXFeature valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
getSuffix
public java.lang.String getSuffix()
-
toExternal
public java.lang.String toExternal()
-
-