Package dap4.core.dmr
Enum DapXML.NodeType
- java.lang.Object
-
- java.lang.Enum<DapXML.NodeType>
-
- dap4.core.dmr.DapXML.NodeType
-
- All Implemented Interfaces:
Serializable,Comparable<DapXML.NodeType>
- Enclosing class:
- DapXML
public static enum DapXML.NodeType extends Enum<DapXML.NodeType>
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description shortgetW3CNodeType()static DapXML.NodeTypevalueOf(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.
-
-
-
Enum Constant Detail
-
ELEMENT
public static final DapXML.NodeType ELEMENT
-
ATTRIBUTE
public static final DapXML.NodeType ATTRIBUTE
-
TEXT
public static final DapXML.NodeType TEXT
-
CDATA
public static final DapXML.NodeType CDATA
-
COMMENT
public static final DapXML.NodeType COMMENT
-
DOCUMENT
public static final DapXML.NodeType DOCUMENT
-
DOCTYPE
public static final DapXML.NodeType DOCTYPE
-
-
Method Detail
-
values
public static DapXML.NodeType[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (DapXML.NodeType c : DapXML.NodeType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static DapXML.NodeType valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-
getW3CNodeType
public short getW3CNodeType()
-
-