Enum Constant and Description |
---|
Alias |
Anchor |
BlockEnd |
BlockEntry |
BlockMappingStart |
BlockSequenceStart |
Comment |
Directive |
DocumentEnd |
DocumentStart |
Error |
FlowEntry |
FlowMappingEnd |
FlowMappingStart |
FlowSequenceEnd |
FlowSequenceStart |
Key |
Scalar |
StreamEnd |
StreamStart |
Tag |
Value |
Whitespace |
Modifier and Type | Method and Description |
---|---|
static Token.ID |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Token.ID[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Token.ID Alias
public static final Token.ID Anchor
public static final Token.ID BlockEnd
public static final Token.ID BlockEntry
public static final Token.ID BlockMappingStart
public static final Token.ID BlockSequenceStart
public static final Token.ID Directive
public static final Token.ID DocumentEnd
public static final Token.ID DocumentStart
public static final Token.ID FlowEntry
public static final Token.ID FlowMappingEnd
public static final Token.ID FlowMappingStart
public static final Token.ID FlowSequenceEnd
public static final Token.ID FlowSequenceStart
public static final Token.ID Key
public static final Token.ID Scalar
public static final Token.ID StreamEnd
public static final Token.ID StreamStart
public static final Token.ID Tag
public static final Token.ID Value
public static final Token.ID Whitespace
public static final Token.ID Comment
public static final Token.ID Error
public static Token.ID[] values()
for (Token.ID c : Token.ID.values()) System.out.println(c);
public static Token.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