public enum XMLFeature extends Enum<XMLFeature>
The GNU Lesser General Public License for details.
Enum Constant and Description |
---|
DYNAMIC_VALIDATION
Dynamic validation feature id
|
LOAD_EXTERNAL_DTD
Load external DTD feature id
|
NAMESPACE_PREFIX
Namespace prefixes feature id
|
NAMESPACES
Namespaces feature id
|
SCHEMA_FULL_CHECKING
Schema full checking feature id
|
SCHEMA_VALIDATION
Schema validation feature id
|
VALIDATE_ANNOTATIONS
Validate schema annotations feature id
|
VALIDATION
Validation feature id
|
XINCLUDE
XInclude feature id
|
XINCLUDE_FIXUP_BASE_URIS
XInclude fixup base URIs feature id
|
XINCLUDE_FIXUP_LANGUAGE
XInclude fixup language feature id
|
Modifier and Type | Field and Description |
---|---|
private String |
control |
private boolean |
state |
Modifier and Type | Method and Description |
---|---|
static XMLFeature |
fromString(String name)
Lookup method to convert from a String
|
String |
getControl() |
boolean |
getState()
What state should the feature be set to.
|
String |
toString() |
static XMLFeature |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static XMLFeature[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final XMLFeature NAMESPACES
public static final XMLFeature NAMESPACE_PREFIX
public static final XMLFeature VALIDATION
public static final XMLFeature SCHEMA_VALIDATION
public static final XMLFeature SCHEMA_FULL_CHECKING
public static final XMLFeature VALIDATE_ANNOTATIONS
public static final XMLFeature DYNAMIC_VALIDATION
public static final XMLFeature LOAD_EXTERNAL_DTD
public static final XMLFeature XINCLUDE
public static final XMLFeature XINCLUDE_FIXUP_BASE_URIS
public static final XMLFeature XINCLUDE_FIXUP_LANGUAGE
private String control
private boolean state
public static XMLFeature[] values()
for (XMLFeature c : XMLFeature.values()) System.out.println(c);
public static XMLFeature 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 getControl()
public boolean getState()
public static XMLFeature fromString(String name)
name
- the name of the control featurepublic String toString()
toString
in class Enum<XMLFeature>