org.insolina.ydom
Class MappingNode

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

public class MappingNode
extends YamlCollection

This class represents a Yaml Mapping Node. In the Yaml document this is a list of key value pairs, each key value pair separated by a colon.


Constructor Summary
MappingNode()
          Default Constructor
 
Method Summary
 void print()
          Print out the contents of the mapping 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

MappingNode

public MappingNode()
Default Constructor

Method Detail

print

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

Specified by:
print in class YamlNode

toString

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