com.ibm.xml.xapi
Enum XNodeView.Kind
- java.lang.Object
java.lang.Enum<XNodeView.Kind>
com.ibm.xml.xapi.XNodeView.Kind
All implemented interfaces:
java.io.Serializable, java.lang.Comparable<XNodeView.Kind>
Enclosing interface:
- public static enum XNodeView.Kind
- extends java.lang.Enum<XNodeView.Kind>
Enum Constant Summary
Enum Constant and Description |
---|
ATTRIBUTE
|
COMMENT
|
DOCUMENT
|
ELEMENT
|
NAMESPACE_DECL
|
NONE
|
PROCESSING_INSTRUCTION
|
TEXT
|
Method Summary
Modifier and Type | Method and Description |
---|---|
|
getValue()
Get the value of the enumerator.
|
|
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
|
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
NONE
- public static final XNodeView.Kind NONE
ELEMENT
- public static final XNodeView.Kind ELEMENT
ATTRIBUTE
- public static final XNodeView.Kind ATTRIBUTE
TEXT
- public static final XNodeView.Kind TEXT
NAMESPACE_DECL
- public static final XNodeView.Kind NAMESPACE_DECL
PROCESSING_INSTRUCTION
- public static final XNodeView.Kind PROCESSING_INSTRUCTION
COMMENT
- public static final XNodeView.Kind COMMENT
DOCUMENT
- public static final XNodeView.Kind DOCUMENT
Method Detail
values
- public static XNodeView.Kind[] 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:
Returns:
an array containing the constants of this enum type, in
the order they are declared
valueOf
- public static XNodeView.Kind valueOf( java.lang.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:
java.lang.IllegalArgumentException
- if this enum type has no constant
with the specified name java.lang.NullPointerException
- if the argument is null getValue
- public int getValue()
Get the value of the enumerator. Values are the same as those
defined by DOM.
Returns:
The enumerator value.