public static enum XNodeView.Kind extends java.lang.Enum<XNodeView.Kind>
Enum Constant and Description |
---|
ATTRIBUTE |
COMMENT |
DOCUMENT |
ELEMENT |
NAMESPACE_DECL |
NONE |
PROCESSING_INSTRUCTION |
TEXT |
Modifier and Type | Method and Description |
---|---|
int |
getValue()
Get the value of the enumerator.
|
static XNodeView.Kind |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static XNodeView.Kind[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final XNodeView.Kind NONE
public static final XNodeView.Kind ELEMENT
public static final XNodeView.Kind ATTRIBUTE
public static final XNodeView.Kind TEXT
public static final XNodeView.Kind NAMESPACE_DECL
public static final XNodeView.Kind PROCESSING_INSTRUCTION
public static final XNodeView.Kind COMMENT
public static final XNodeView.Kind DOCUMENT
public static XNodeView.Kind[] values()
for (XNodeView.Kind c : XNodeView.Kind.values()) System.out.println(c);
public static XNodeView.Kind 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 int getValue()