public static enum DumperOptions.ScalarStyle extends Enum<DumperOptions.ScalarStyle>
Enum Constant and Description |
---|
DOUBLE_QUOTED |
FOLDED |
LITERAL |
PLAIN |
SINGLE_QUOTED |
Modifier and Type | Method and Description |
---|---|
static DumperOptions.ScalarStyle |
createStyle(Character style) |
Character |
getChar() |
String |
toString() |
static DumperOptions.ScalarStyle |
valueOf(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(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 Character getChar()
public String toString()
toString
in class Enum<DumperOptions.ScalarStyle>
public static DumperOptions.ScalarStyle createStyle(Character style)
Copyright © 2008–2019. All rights reserved.