public enum YamlToken extends Enum<YamlToken>
| Enum Constant and Description |
|---|
ALIAS |
ANCHOR |
COMMENT |
DIRECTIVE |
DIRECTIVES_END
Represents the end of the directives in a YAML document.
|
DOCUMENT_END |
LITERAL |
MAPPING_END |
MAPPING_KEY |
MAPPING_START
Represents the start of a key-value mapping in a YAML document.
|
NONE |
RESERVED |
SEQUENCE_END |
SEQUENCE_ENTRY |
SEQUENCE_START
Represents the start of a sequence in a YAML document.
|
STREAM_END |
STREAM_START
Represents the start of a YAML document stream.
|
TAG |
TEXT |
| Modifier and Type | Field and Description |
|---|---|
YamlToken |
toEnd
The corresponding end token for certain start tokens.
|
| 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 LITERAL
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 © 2024. All rights reserved.