public enum YamlToken extends Enum<YamlToken>
| Enum Constant and Description |
|---|
ALIAS |
ANCHOR |
COMMENT |
DIRECTIVE |
DIRECTIVES_END |
DOCUMENT_END |
MAPPING_END |
MAPPING_KEY |
MAPPING_START |
NONE |
RESERVED |
SEQUENCE_END |
SEQUENCE_ENTRY |
SEQUENCE_START |
STREAM_END |
STREAM_START |
TAG |
TEXT |
| Modifier and Type | Method and Description |
|---|---|
static YamlToken |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static YamlToken[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final YamlToken NONE
public static final YamlToken COMMENT
public static final YamlToken TAG
public static final YamlToken DIRECTIVE
public static final YamlToken DOCUMENT_END
public static final YamlToken DIRECTIVES_END
public static final YamlToken MAPPING_KEY
public static final YamlToken MAPPING_END
public static final YamlToken MAPPING_START
public static final YamlToken SEQUENCE_END
public static final YamlToken SEQUENCE_ENTRY
public static final YamlToken SEQUENCE_START
public static final YamlToken TEXT
public static final YamlToken ANCHOR
public static final YamlToken ALIAS
public static final YamlToken RESERVED
public static final YamlToken STREAM_END
public static final YamlToken STREAM_START
public final YamlToken toEnd
public static YamlToken[] values()
for (YamlToken c : YamlToken.values()) System.out.println(c);
public static YamlToken valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullCopyright © 2020. All rights reserved.