Package | Description |
---|---|
org.yaml.snakeyaml | |
org.yaml.snakeyaml.events | |
org.yaml.snakeyaml.nodes | |
org.yaml.snakeyaml.representer |
Modifier and Type | Method and Description |
---|---|
static DumperOptions.FlowStyle |
DumperOptions.FlowStyle.fromBoolean(Boolean flowStyle)
Deprecated.
|
DumperOptions.FlowStyle |
DumperOptions.getDefaultFlowStyle() |
static DumperOptions.FlowStyle |
DumperOptions.FlowStyle.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static DumperOptions.FlowStyle[] |
DumperOptions.FlowStyle.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
String |
Yaml.dumpAs(Object data,
Tag rootTag,
DumperOptions.FlowStyle flowStyle)
Serialize a Java object into a YAML string.
|
void |
DumperOptions.setDefaultFlowStyle(DumperOptions.FlowStyle defaultFlowStyle) |
Modifier and Type | Method and Description |
---|---|
DumperOptions.FlowStyle |
CollectionStartEvent.getFlowStyle()
true if this collection is in flow style, false
for block style. |
Constructor and Description |
---|
CollectionStartEvent(String anchor,
String tag,
boolean implicit,
Mark startMark,
Mark endMark,
DumperOptions.FlowStyle flowStyle) |
MappingStartEvent(String anchor,
String tag,
boolean implicit,
Mark startMark,
Mark endMark,
DumperOptions.FlowStyle flowStyle) |
SequenceStartEvent(String anchor,
String tag,
boolean implicit,
Mark startMark,
Mark endMark,
DumperOptions.FlowStyle flowStyle) |
Modifier and Type | Method and Description |
---|---|
DumperOptions.FlowStyle |
CollectionNode.getFlowStyle()
Serialization style of this collection.
|
Modifier and Type | Method and Description |
---|---|
void |
CollectionNode.setFlowStyle(DumperOptions.FlowStyle flowStyle) |
Constructor and Description |
---|
CollectionNode(Tag tag,
Mark startMark,
Mark endMark,
DumperOptions.FlowStyle flowStyle) |
MappingNode(Tag tag,
boolean resolved,
List<NodeTuple> value,
Mark startMark,
Mark endMark,
DumperOptions.FlowStyle flowStyle) |
MappingNode(Tag tag,
List<NodeTuple> value,
DumperOptions.FlowStyle flowStyle) |
SequenceNode(Tag tag,
boolean resolved,
List<Node> value,
Mark startMark,
Mark endMark,
DumperOptions.FlowStyle flowStyle) |
SequenceNode(Tag tag,
List<Node> value,
DumperOptions.FlowStyle flowStyle) |
Modifier and Type | Field and Description |
---|---|
protected DumperOptions.FlowStyle |
BaseRepresenter.defaultFlowStyle |
Modifier and Type | Method and Description |
---|---|
DumperOptions.FlowStyle |
BaseRepresenter.getDefaultFlowStyle() |
Modifier and Type | Method and Description |
---|---|
protected Node |
BaseRepresenter.representMapping(Tag tag,
Map<?,?> mapping,
DumperOptions.FlowStyle flowStyle) |
protected Node |
BaseRepresenter.representSequence(Tag tag,
Iterable<?> sequence,
DumperOptions.FlowStyle flowStyle) |
void |
BaseRepresenter.setDefaultFlowStyle(DumperOptions.FlowStyle defaultFlowStyle) |
Copyright © 2008–2019. All rights reserved.