public enum ScalarStyle extends Enum<ScalarStyle>
| Enum Constant and Description |
|---|
DOUBLE_QUOTED |
FOLDED |
LITERAL |
PLAIN |
SINGLE_QUOTED |
| Modifier and Type | Method and Description |
|---|---|
String |
toString() |
static ScalarStyle |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ScalarStyle[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ScalarStyle DOUBLE_QUOTED
public static final ScalarStyle SINGLE_QUOTED
public static final ScalarStyle LITERAL
public static final ScalarStyle FOLDED
public static final ScalarStyle PLAIN
public static ScalarStyle[] values()
for (ScalarStyle c : ScalarStyle.values()) System.out.println(c);
public static ScalarStyle 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 nullpublic String toString()
toString in class Enum<ScalarStyle>Copyright © 2018–2022. All rights reserved.