| Modifier and Type | Field and Description |
|---|---|
| public static final ScalarStyle | DOUBLE_QUOTED
Double quoted scalar |
| public static final ScalarStyle | FOLDED
Folded scalar |
| public static final ScalarStyle | JSON_SCALAR_STYLE
Mixture of scalar styles to dump JSON format. |
| public static final ScalarStyle | LITERAL
Literal scalar |
| public static final ScalarStyle | PLAIN
Plain scalar |
| public static final ScalarStyle | SINGLE_QUOTED
Single quoted scalar |
| private final Optional |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public String | toString()
Overrides java. Returns the name of this enum constant, as contained in the declaration. |
| public static ScalarStyle | |
| public static ScalarStyle[] |
| DOUBLE_QUOTED | back to summary |
|---|---|
| public static final ScalarStyle DOUBLE_QUOTED Double quoted scalar | |
| FOLDED | back to summary |
|---|---|
| public static final ScalarStyle FOLDED Folded scalar | |
| JSON_SCALAR_STYLE | back to summary |
|---|---|
| public static final ScalarStyle JSON_SCALAR_STYLE Mixture of scalar styles to dump JSON format. Double-quoted style for !!str, !!binary, !!timestamp. Plain style - for !!bool, !!float, !!int, !!null These are never dumped - !!merge, !!value, !!yaml | |
| LITERAL | back to summary |
|---|---|
| public static final ScalarStyle LITERAL Literal scalar | |
| PLAIN | back to summary |
|---|---|
| public static final ScalarStyle PLAIN Plain scalar | |
| SINGLE_QUOTED | back to summary |
|---|---|
| public static final ScalarStyle SINGLE_QUOTED Single quoted scalar | |
| styleOpt | back to summary |
|---|---|
| private final Optional<Character> styleOpt | |
| ScalarStyle | back to summary |
|---|---|
| private ScalarStyle(Optional<Character> style) | |
| toString | back to summary |
|---|---|
| public String toString() Overrides java. Doc from java. Returns the name of this enum constant, as contained in the declaration. This method may be overridden, though it typically isn't necessary or desirable. An enum class should override this method when a more "programmer-friendly" string form exists.
| |
| valueOf | back to summary |
|---|---|
| public static ScalarStyle valueOf(String name) | |
| values | back to summary |
|---|---|
| public static ScalarStyle[] values() | |