org.yaml.snakeyaml.nodes
Class SequenceNode

java.lang.Object
  extended by org.yaml.snakeyaml.nodes.Node
      extended by org.yaml.snakeyaml.nodes.CollectionNode
          extended by org.yaml.snakeyaml.nodes.SequenceNode

public class SequenceNode
extends CollectionNode

See Also:
PyYAML for more information

Field Summary
 
Fields inherited from class org.yaml.snakeyaml.nodes.Node
endMark, resolved, useClassConstructor
 
Constructor Summary
SequenceNode(String tag, boolean resolved, List<Node> value, Mark startMark, Mark endMark, Boolean flowStyle)
           
SequenceNode(String tag, List<Node> value, Boolean flowStyle)
           
 
Method Summary
 NodeId getNodeId()
          For error reporting.
 List<Node> getValue()
           
 void setListType(Class<? extends Object> listType)
           
 String toString()
           
 
Methods inherited from class org.yaml.snakeyaml.nodes.CollectionNode
getFlowStyle, setEndMark, setFlowStyle
 
Methods inherited from class org.yaml.snakeyaml.nodes.Node
equals, getEndMark, getStartMark, getTag, getType, hashCode, isResolved, isTwoStepsConstruction, setTag, setTwoStepsConstruction, setType, setUseClassConstructor, useClassConstructor
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

SequenceNode

public SequenceNode(String tag,
                    boolean resolved,
                    List<Node> value,
                    Mark startMark,
                    Mark endMark,
                    Boolean flowStyle)

SequenceNode

public SequenceNode(String tag,
                    List<Node> value,
                    Boolean flowStyle)
Method Detail

getNodeId

public NodeId getNodeId()
Description copied from class: Node
For error reporting.

Specified by:
getNodeId in class Node
Returns:
scalar, sequence, mapping
See Also:
variable 'id' in PyYAML

getValue

public List<Node> getValue()

setListType

public void setListType(Class<? extends Object> listType)

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2008-2010. All Rights Reserved.