public enum ScalarStyle extends Enum<ScalarStyle>
Enum Constant and Description |
---|
Fold |
Literal |
None |
OneQuote |
Plain |
TwoQuote |
Modifier and Type | Method and Description |
---|---|
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 None
public static final ScalarStyle OneQuote
public static final ScalarStyle TwoQuote
public static final ScalarStyle Fold
public static final ScalarStyle Literal
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 nullCopyright © 2022. All rights reserved.