public enum NodeType extends Enum<NodeType>
| Enum Constant and Description |
|---|
CDATA_SECTION
The node is a
CoreCDATASection. |
CHARACTER_DATA
The node is a
CoreCharacterDataNode. |
COMMENT
The node is a
CoreComment. |
DOCUMENT
The node is a
CoreDocument. |
DOCUMENT_FRAGMENT
The node is a
CoreDocumentFragment. |
DOCUMENT_TYPE_DECLARATION
The node is a
CoreDocumentTypeDeclaration. |
ENTITY_REFERENCE
The node is a
CoreEntityReference. |
NAMESPACE_DECLARATION
The node is a
CoreNamespaceDeclaration. |
NS_AWARE_ATTRIBUTE
The node is a
CoreNSAwareAttribute. |
NS_AWARE_ELEMENT
The node is a
CoreNSAwareElement. |
NS_UNAWARE_ATTRIBUTE
The node is a
CoreNSUnawareAttribute. |
NS_UNAWARE_ELEMENT
The node is a
CoreNSUnawareElement. |
PROCESSING_INSTRUCTION
The node is a
CoreProcessingInstruction. |
| Modifier and Type | Method and Description |
|---|---|
Class<? extends CoreNode> |
getInterface() |
static NodeType |
valueOf(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.
|
public static final NodeType DOCUMENT
CoreDocument.public static final NodeType DOCUMENT_TYPE_DECLARATION
CoreDocumentTypeDeclaration.public static final NodeType NS_UNAWARE_ELEMENT
CoreNSUnawareElement.public static final NodeType NS_AWARE_ELEMENT
CoreNSAwareElement.public static final NodeType NS_UNAWARE_ATTRIBUTE
CoreNSUnawareAttribute.public static final NodeType NS_AWARE_ATTRIBUTE
CoreNSAwareAttribute.public static final NodeType NAMESPACE_DECLARATION
CoreNamespaceDeclaration.public static final NodeType PROCESSING_INSTRUCTION
CoreProcessingInstruction.public static final NodeType DOCUMENT_FRAGMENT
CoreDocumentFragment.public static final NodeType CHARACTER_DATA
CoreCharacterDataNode.public static final NodeType COMMENT
CoreComment.public static final NodeType CDATA_SECTION
CoreCDATASection.public static final NodeType ENTITY_REFERENCE
CoreEntityReference.public static NodeType[] values()
for (NodeType c : NodeType.values()) System.out.println(c);
public static NodeType 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 nullCopyright © The Apache Software Foundation. All Rights Reserved.