|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Objectjava.lang.Enum<NodeKind>
org.gxml.xdm.NodeKind
public enum NodeKind
Enumeration representing possible types of nodes in the XQuery Data Model.
Enum Constant Summary | |
---|---|
ATTRIBUTE
The attribute node kind. |
|
COMMENT
The comment node kind. |
|
DOCUMENT
The document node kind. |
|
ELEMENT
The element node kind. |
|
NAMESPACE
The namespace node kind. |
|
PROCESSING_INSTRUCTION
The processing-instruction node kind. |
|
TEXT
The text node kind. |
Method Summary | |
---|---|
static NodeKind |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static NodeKind[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
Methods inherited from class java.lang.Enum |
---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Enum Constant Detail |
---|
public static final NodeKind ELEMENT
element
node kind.
public static final NodeKind TEXT
text
node kind.
public static final NodeKind ATTRIBUTE
attribute
node kind.
public static final NodeKind NAMESPACE
namespace
node kind.
public static final NodeKind DOCUMENT
document
node kind.
public static final NodeKind PROCESSING_INSTRUCTION
processing-instruction
node kind.
public static final NodeKind COMMENT
comment
node kind.
Method Detail |
---|
public static NodeKind[] values()
for (NodeKind c : NodeKind.values()) System.out.println(c);
public static NodeKind 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 name
java.lang.NullPointerException
- if the argument is null
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |