org.elasticsearch.util.yaml.snakeyaml.nodes
Class CollectionNode

java.lang.Object
  extended by org.elasticsearch.util.yaml.snakeyaml.nodes.YamlNode
      extended by org.elasticsearch.util.yaml.snakeyaml.nodes.CollectionNode
Direct Known Subclasses:
MappingNode, SequenceNode

public abstract class CollectionNode
extends YamlNode

Base class for the two collection types mapping and collection.


Field Summary
 
Fields inherited from class org.elasticsearch.util.yaml.snakeyaml.nodes.YamlNode
endMark, resolved, useClassConstructor
 
Constructor Summary
CollectionNode(Tag tag, Mark startMark, Mark endMark, java.lang.Boolean flowStyle)
           
 
Method Summary
 java.lang.Boolean getFlowStyle()
          Serialization style of this collection.
 void setEndMark(Mark endMark)
           
 void setFlowStyle(java.lang.Boolean flowStyle)
           
 
Methods inherited from class org.elasticsearch.util.yaml.snakeyaml.nodes.YamlNode
equals, getEndMark, getNodeId, getStartMark, getTag, getType, hashCode, isResolved, isTwoStepsConstruction, setTag, setTwoStepsConstruction, setType, setUseClassConstructor, useClassConstructor
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CollectionNode

public CollectionNode(Tag tag,
                      Mark startMark,
                      Mark endMark,
                      java.lang.Boolean flowStyle)
Method Detail

getFlowStyle

public java.lang.Boolean getFlowStyle()
Serialization style of this collection.

Returns:
true for flow style, false for block style.

setFlowStyle

public void setFlowStyle(java.lang.Boolean flowStyle)

setEndMark

public void setEndMark(Mark endMark)