java.io.Serializable
, java.lang.Comparable<NodeType>
public enum NodeType extends java.lang.Enum<NodeType>
FieldDescriptor
types.Enum Constant | Description |
---|---|
ATTRIBUTE |
Attribute node (type).
|
ELEMENT |
Element node (type).
|
TEXT |
Text node (type).
|
Modifier and Type | Method | Description |
---|---|---|
static NodeType |
valueOf(java.lang.String name) |
Returns the enum constant of this type with the specified name.
|
static NodeType[] |
values() |
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final NodeType ATTRIBUTE
public static final NodeType ELEMENT
public static final NodeType TEXT
public static NodeType[] values()
for (NodeType c : NodeType.values()) System.out.println(c);
public static 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 nullIntalio Inc. (C) 1999-2008. All rights reserved http://www.intalio.com