public enum DOMNodeType extends java.lang.Enum<DOMNodeType>
Enum Constant and Description |
---|
AttributeNode |
CDataSectionNode |
CommentNode |
DocumentFragmentNode |
DocumentNode |
DocumentTypeNode |
ElementNode |
EntityNode |
EntityReferenceNode |
NotationNode |
ProcessingInstructionsNode |
ShadowRootNode |
TextNode |
XPathNamespaceNode |
Modifier and Type | Method and Description |
---|---|
static DOMNodeType |
valueOf(long value) |
static DOMNodeType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
返回具有指定名称的此类型的枚举常量。 |
static DOMNodeType[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared.
以声明顺序返回包含此枚举类型的常量的数组。 |
public static final DOMNodeType ElementNode
public static final DOMNodeType AttributeNode
public static final DOMNodeType TextNode
public static final DOMNodeType CDataSectionNode
public static final DOMNodeType EntityReferenceNode
public static final DOMNodeType EntityNode
public static final DOMNodeType ProcessingInstructionsNode
public static final DOMNodeType CommentNode
public static final DOMNodeType DocumentNode
public static final DOMNodeType DocumentTypeNode
public static final DOMNodeType DocumentFragmentNode
public static final DOMNodeType NotationNode
public static final DOMNodeType XPathNamespaceNode
public static final DOMNodeType ShadowRootNode
public static DOMNodeType[] values()
for (DOMNodeType c : DOMNodeType.values()) System.out.println(c);
public static DOMNodeType 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
public static DOMNodeType valueOf(long value)