org.insolina.ydom
Class SequenceNode

java.lang.Object
  extended by org.insolina.ydom.YamlNode
      extended by org.insolina.ydom.YamlCollection
          extended by org.insolina.ydom.SequenceNode

public class SequenceNode
extends YamlCollection

This class represents a Yaml Sequence. In the Yaml document this is a list of items, each of them prefixed by a dash.


Constructor Summary
SequenceNode()
          Default constructor
 
Method Summary
 void print()
          Print out the contents of the sequence node.
 java.lang.String toString()
           
 
Methods inherited from class org.insolina.ydom.YamlCollection
addChild, getChildren
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

SequenceNode

public SequenceNode()
Default constructor

Method Detail

print

public void print()
Print out the contents of the sequence node.

Specified by:
print in class YamlNode

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object