org.insolina.ydom
Class YamlNode

java.lang.Object
  extended by org.insolina.ydom.YamlNode
Direct Known Subclasses:
KeyValuePair, ScalarNode, YamlCollection

public abstract class YamlNode
extends java.lang.Object

The abstract base class for the different types of YamlNode.


Constructor Summary
YamlNode()
           
 
Method Summary
abstract  java.util.List<YamlNode> getChildren()
          Return the children of this YamlNode
abstract  void print()
          Print out details of the node
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

YamlNode

public YamlNode()
Method Detail

getChildren

public abstract java.util.List<YamlNode> getChildren()
Return the children of this YamlNode

Returns:
List of YamlNode

print

public abstract void print()
Print out details of the node