|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.insolina.ydom.YamlNode
org.insolina.ydom.KeyValuePair
public class KeyValuePair
This class represents a Yaml Key Value Pair. In the Yaml document this is a pair of items separated by a colon.
Constructor Summary | |
---|---|
KeyValuePair(java.lang.String key,
YamlNode value)
Create an immutable KeyValuePair object. |
Method Summary | |
---|---|
java.util.List<YamlNode> |
getChildren()
Return the children of this YamlNode |
java.lang.String |
getKey()
|
YamlNode |
getValue()
|
void |
print()
Print out the contents of the key value pair. |
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public KeyValuePair(java.lang.String key, YamlNode value)
key
- value
- Method Detail |
---|
public java.util.List<YamlNode> getChildren()
YamlNode
getChildren
in class YamlNode
public void print()
print
in class YamlNode
public java.lang.String toString()
toString
in class java.lang.Object
public java.lang.String getKey()
public YamlNode getValue()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |