Enum Constant | Description |
---|---|
CHARACTERS |
|
END_ELEMENT |
|
END_OF_INPUT |
|
IGNORABLE_CHARACTERS |
|
START_ELEMENT |
Modifier and Type | Method | Description |
---|---|---|
static EventType |
valueOf(java.lang.String name) |
Returns the enum constant of this type with the specified name.
|
static EventType[] |
values() |
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final EventType END_OF_INPUT
public static final EventType START_ELEMENT
public static final EventType END_ELEMENT
public static final EventType CHARACTERS
public static final EventType IGNORABLE_CHARACTERS
public static EventType[] values()
for (EventType c : EventType.values()) System.out.println(c);
public static EventType 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 null