public static enum LexicalPreservationBase.Region extends java.lang.Enum<LexicalPreservationBase.Region>
Enum Constant and Description |
---|
AFTER_BODY
This region marker is used for all content that follows the body of the XML document.
|
AFTER_DTD
This region marker is used for content between the DTD declaration and the body of the XML document.
|
BEFORE_DTD
This region marker is used to define all content before a DOCTYPE declaration (which may contain a DTD or reference an
external DTD).
|
IN_BODY
This region marker is used when inside the body of the XML document.
|
IN_EXT_DTD
This region marker is used to identify when an external DTD declaration/file is being processed.
|
IN_INT_SUBSET
This region marker is used to identify when the internal subset is being processed.
|
Modifier and Type | Method and Description |
---|---|
static LexicalPreservationBase.Region |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static LexicalPreservationBase.Region[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final LexicalPreservationBase.Region BEFORE_DTD
public static final LexicalPreservationBase.Region IN_INT_SUBSET
public static final LexicalPreservationBase.Region IN_EXT_DTD
public static final LexicalPreservationBase.Region AFTER_DTD
public static final LexicalPreservationBase.Region IN_BODY
public static final LexicalPreservationBase.Region AFTER_BODY
public static LexicalPreservationBase.Region[] values()
for (LexicalPreservationBase.Region c : LexicalPreservationBase.Region.values()) System.out.println(c);
public static LexicalPreservationBase.Region valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null