|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Object java.lang.Enum<NodeType> nu.validator.saxtree.NodeType
public enum NodeType
The node type.
Enum Constant Summary | |
---|---|
CDATA
A CDATA section. |
|
CHARACTERS
A run of characters. |
|
COMMENT
A comment. |
|
DOCUMENT
A document. |
|
DOCUMENT_FRAGMENT
A document fragment. |
|
DTD
A DTD. |
|
ELEMENT
An element. |
|
ENTITY
An entity. |
|
IGNORABLE_WHITESPACE
A run of ignorable whitespace. |
|
PROCESSING_INSTRUCTION
A processing instruction. |
|
SKIPPED_ENTITY
A skipped entity. |
Method Summary | |
---|---|
static NodeType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static NodeType[] |
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, toString, valueOf |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Enum Constant Detail |
---|
public static final NodeType CDATA
public static final NodeType CHARACTERS
public static final NodeType COMMENT
public static final NodeType DOCUMENT
public static final NodeType DOCUMENT_FRAGMENT
public static final NodeType DTD
public static final NodeType ELEMENT
public static final NodeType ENTITY
public static final NodeType IGNORABLE_WHITESPACE
public static final NodeType PROCESSING_INSTRUCTION
public static final NodeType SKIPPED_ENTITY
Method Detail |
---|
public static NodeType[] values()
for (NodeType c : NodeType.values()) System.out.println(c);
public static NodeType 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 name
java.lang.NullPointerException
- if the argument is null
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |