public enum EXMLDOMNodeType extends Enum<EXMLDOMNodeType> implements IHasSimpleIntID
Node.| Enum Constant and Description |
|---|
ATTRIBUTE_NODE
The node is an
Attr. |
CDATA_SECTION_NODE
The node is a
CDATASection. |
COMMENT_NODE
The node is a
Comment. |
DOCUMENT_FRAGMENT_NODE
The node is a
DocumentFragment. |
DOCUMENT_NODE
The node is a
Document. |
DOCUMENT_TYPE_NODE
The node is a
DocumentType. |
ELEMENT_NODE
The node is an
Element. |
ENTITY_NODE
The node is an
Entity. |
ENTITY_REFERENCE_NODE
The node is an
EntityReference. |
NOTATION_NODE
The node is a
Notation. |
PROCESSING_INSTRUCTION_NODE
The node is a
ProcessingInstruction. |
TEXT_NODE
The node is a
Text node. |
| Modifier and Type | Method and Description |
|---|---|
static EXMLDOMNodeType |
getFromIDOrNull(int nID) |
int |
getID() |
static EXMLDOMNodeType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static EXMLDOMNodeType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final EXMLDOMNodeType ELEMENT_NODE
Element.public static final EXMLDOMNodeType ATTRIBUTE_NODE
Attr.public static final EXMLDOMNodeType TEXT_NODE
Text node.public static final EXMLDOMNodeType CDATA_SECTION_NODE
CDATASection.public static final EXMLDOMNodeType ENTITY_REFERENCE_NODE
EntityReference.public static final EXMLDOMNodeType ENTITY_NODE
Entity.public static final EXMLDOMNodeType PROCESSING_INSTRUCTION_NODE
ProcessingInstruction.public static final EXMLDOMNodeType COMMENT_NODE
Comment.public static final EXMLDOMNodeType DOCUMENT_NODE
Document.public static final EXMLDOMNodeType DOCUMENT_TYPE_NODE
DocumentType.public static final EXMLDOMNodeType DOCUMENT_FRAGMENT_NODE
DocumentFragment.public static final EXMLDOMNodeType NOTATION_NODE
Notation.public static EXMLDOMNodeType[] values()
for (EXMLDOMNodeType c : EXMLDOMNodeType.values()) System.out.println(c);
public static EXMLDOMNodeType 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 null@Nonnegative public int getID()
getID in interface IHasSimpleIntID@Nullable public static EXMLDOMNodeType getFromIDOrNull(int nID)
Copyright © 2006–2015 phloc systems. All rights reserved.