|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Objectjava.lang.Enum<XMLFeature>
org.crosswire.common.xml.XMLFeature
public enum XMLFeature
Wraps an XML Feature. The "known" set of XML Features is found in XMLFeatureSet.
for license details.
The copyright to this program is held by it's authors.
Enum Constant Summary | |
---|---|
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 |
Field Summary | |
---|---|
private String |
control
|
private boolean |
state
|
Method Summary | |
---|---|
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. |
Methods inherited from class java.lang.Enum |
---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, valueOf |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Enum Constant Detail |
---|
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
Field Detail |
---|
private String control
private boolean state
Method Detail |
---|
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 name
NullPointerException
- if the argument is nullpublic String getControl()
public boolean getState()
public static XMLFeature fromString(String name)
public String toString()
toString
in class Enum<XMLFeature>
|
Copyright ? 2003-2011 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |