|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Objectjava.lang.Enum<GuEventKind>
org.gxml.u.GuEventKind
public enum GuEventKind
Enumeration representing possible kinds of events in a sequential read of an XDM tree.
Enum Constant Summary | |
---|---|
ATTRIBUTE
An attribute event kind. |
|
COMMENT
A comment event kind. |
|
END_DOCUMENT
An end document event kind. |
|
END_ELEMENT
An end element event kind. |
|
NAMESPACE
A namespace event kind. |
|
PROCESSING_INSTRUCTION
A processing instruction event kind. |
|
START_DOCUMENT
A start document event kind. |
|
START_ELEMENT
A start element event kind. |
|
TEXT
A text event kind. |
Method Summary | |
---|---|
int |
getEventType()
|
static GuEventKind |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static GuEventKind[] |
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 GuEventKind ATTRIBUTE
attribute
event kind.
public static final GuEventKind COMMENT
comment
event kind.
public static final GuEventKind END_DOCUMENT
end document
event kind.
public static final GuEventKind END_ELEMENT
end element
event kind.
public static final GuEventKind NAMESPACE
namespace
event kind.
public static final GuEventKind PROCESSING_INSTRUCTION
processing instruction
event kind.
public static final GuEventKind START_DOCUMENT
start document
event kind.
public static final GuEventKind START_ELEMENT
start element
event kind.
public static final GuEventKind TEXT
text
event kind.
Method Detail |
---|
public static GuEventKind[] values()
for (GuEventKind c : GuEventKind.values()) System.out.println(c);
public static GuEventKind 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 nullpublic int getEventType()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |