public static enum DapXML.NodeType extends java.lang.Enum<DapXML.NodeType>
Enum Constant and Description |
---|
ATTRIBUTE |
CDATA |
COMMENT |
DOCTYPE |
DOCUMENT |
ELEMENT |
TEXT |
Modifier and Type | Method and Description |
---|---|
short |
getW3CNodeType() |
static DapXML.NodeType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static DapXML.NodeType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DapXML.NodeType ELEMENT
public static final DapXML.NodeType ATTRIBUTE
public static final DapXML.NodeType TEXT
public static final DapXML.NodeType CDATA
public static final DapXML.NodeType COMMENT
public static final DapXML.NodeType DOCUMENT
public static final DapXML.NodeType DOCTYPE
public static DapXML.NodeType[] values()
for (DapXML.NodeType c : DapXML.NodeType.values()) System.out.println(c);
public static DapXML.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 nullpublic short getW3CNodeType()