public static enum Node.NodeType extends java.lang.Enum<Node.NodeType>
| Enum Constant and Description |
|---|
CDATA |
COMMENT |
DOCUMENT |
DOCUMENT_TYPE |
ELEMENT |
TEXT |
XML_DECLARATION |
| Modifier and Type | Method and Description |
|---|---|
static Node.NodeType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Node.NodeType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Node.NodeType DOCUMENT
public static final Node.NodeType ELEMENT
public static final Node.NodeType TEXT
public static final Node.NodeType COMMENT
public static final Node.NodeType CDATA
public static final Node.NodeType DOCUMENT_TYPE
public static final Node.NodeType XML_DECLARATION
public static Node.NodeType[] values()
for (Node.NodeType c : Node.NodeType.values()) System.out.println(c);
public static Node.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 namejava.lang.NullPointerException - if the argument is nullCopyright © 2003-present Jodd Team