public enum YamlNodeTypes extends Enum<YamlNodeTypes>
| Enum Constant and Description |
|---|
BLOCK_MAP |
BLOCK_SEQUENCE |
FLOW_MAP |
FLOW_SEQUENCE |
SCALAR |
UNKOWN |
| Modifier and Type | Method and Description |
|---|---|
static YamlNodeTypes |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static YamlNodeTypes[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final YamlNodeTypes SCALAR
public static final YamlNodeTypes BLOCK_SEQUENCE
public static final YamlNodeTypes BLOCK_MAP
public static final YamlNodeTypes FLOW_SEQUENCE
public static final YamlNodeTypes FLOW_MAP
public static final YamlNodeTypes UNKOWN
public static YamlNodeTypes[] values()
for (YamlNodeTypes c : YamlNodeTypes.values()) System.out.println(c);
public static YamlNodeTypes 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 © 2021. All rights reserved.