Enum Constant and Description |
---|
Alias |
DocumentEnd |
DocumentStart |
MappingEnd |
MappingStart |
Scalar |
SequenceEnd |
SequenceStart |
StreamEnd |
StreamStart |
Modifier and Type | Method and Description |
---|---|
static Event.ID |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Event.ID[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Event.ID Alias
public static final Event.ID DocumentEnd
public static final Event.ID DocumentStart
public static final Event.ID MappingEnd
public static final Event.ID MappingStart
public static final Event.ID Scalar
public static final Event.ID SequenceEnd
public static final Event.ID SequenceStart
public static final Event.ID StreamEnd
public static final Event.ID StreamStart
public static Event.ID[] values()
for (Event.ID c : Event.ID.values()) System.out.println(c);
public static Event.ID 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