|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||
java.lang.Objectjava.lang.Enum<NodeType>
org.dom4j.NodeType
public enum NodeType
| Enum Constant Summary | |
|---|---|
ANY_NODE
Matches Element nodes |
|
ATTRIBUTE_NODE
Matches elements nodes |
|
CDATA_SECTION_NODE
Matches elements nodes |
|
COMMENT_NODE
Matches Comments nodes |
|
DOCUMENT_FRAGMENT_NODE
|
|
DOCUMENT_NODE
Matches Document nodes |
|
DOCUMENT_TYPE_NODE
Matches DocumentType nodes |
|
ELEMENT_NODE
Matches Element nodes |
|
ENTITY_NODE
Matches elements nodes |
|
ENTITY_REFERENCE_NODE
Matches elements nodes |
|
NAMESPACE_NODE
Matchs a Namespace Node - NOTE this differs from DOM |
|
NOTATION_NODE
|
|
PROCESSING_INSTRUCTION_NODE
Matches ProcessingInstruction |
|
TEXT_NODE
Matches elements nodes |
|
UNKNOWN_NODE
Does not match any valid node |
|
| Method Summary | |
|---|---|
static NodeType |
byCode(short code)
|
short |
getCode()
Return W3C DOM compliant node type code. |
java.lang.String |
getName()
|
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 ANY_NODE
public static final NodeType ELEMENT_NODE
public static final NodeType ATTRIBUTE_NODE
public static final NodeType TEXT_NODE
public static final NodeType CDATA_SECTION_NODE
public static final NodeType ENTITY_REFERENCE_NODE
public static final NodeType ENTITY_NODE
public static final NodeType PROCESSING_INSTRUCTION_NODE
public static final NodeType COMMENT_NODE
public static final NodeType DOCUMENT_NODE
public static final NodeType DOCUMENT_TYPE_NODE
public static final NodeType DOCUMENT_FRAGMENT_NODE
public static final NodeType NOTATION_NODE
public static final NodeType NAMESPACE_NODE
public static final NodeType UNKNOWN_NODE
| 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 nullpublic short getCode()
public java.lang.String getName()
public static NodeType byCode(short code)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||