public static enum NodeInfo.NodeType extends Enum<NodeInfo.NodeType>
Enum Constant and Description |
---|
ATTRIBUTE |
ELEMENT |
TEXT |
WHITE_SPACE |
Modifier and Type | Method and Description |
---|---|
static NodeInfo.NodeType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static NodeInfo.NodeType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final NodeInfo.NodeType ELEMENT
public static final NodeInfo.NodeType ATTRIBUTE
public static final NodeInfo.NodeType TEXT
public static final NodeInfo.NodeType WHITE_SPACE
public static NodeInfo.NodeType[] values()
public static NodeInfo.NodeType 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