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