org.yaml.snakeyaml.nodes
Class CollectionNode
java.lang.Object
org.yaml.snakeyaml.nodes.Node
org.yaml.snakeyaml.nodes.CollectionNode
- Direct Known Subclasses:
- MappingNode, SequenceNode
public abstract class CollectionNode
- extends Node
Base class for the two collection types mapping
and
collection
.
Methods inherited from class org.yaml.snakeyaml.nodes.Node |
equals, getEndMark, getNodeId, getStartMark, getTag, getType, hashCode, isResolved, isTwoStepsConstruction, setTag, setTwoStepsConstruction, setType, setUseClassConstructor, useClassConstructor |
CollectionNode
public CollectionNode(Tag tag,
Mark startMark,
Mark endMark,
Boolean flowStyle)
getFlowStyle
public Boolean getFlowStyle()
- Serialization style of this collection.
- Returns:
true
for flow style, false
for block
style.
setFlowStyle
public void setFlowStyle(Boolean flowStyle)
setEndMark
public void setEndMark(Mark endMark)
Copyright © 2008-2011. All Rights Reserved.