org.yaml.snakeyaml.nodes
Class NodeTuple

java.lang.Object
  extended by org.yaml.snakeyaml.nodes.NodeTuple

public class NodeTuple
extends Object

Stores one key value pair used in a map.


Constructor Summary
NodeTuple(Node keyNode, Node valueNode)
           
 
Method Summary
 Node getKeyNode()
          Key node.
 Node getValueNode()
          Value node.
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

NodeTuple

public NodeTuple(Node keyNode,
                 Node valueNode)
Method Detail

getKeyNode

public Node getKeyNode()
Key node.


getValueNode

public Node getValueNode()
Value node.

Returns:
value

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2008-2010. All Rights Reserved.