|
|||||||||
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.ScalarNode
public class ScalarNode
This class represents a simple scalar value in the Yaml document. Usually this is a String.
Constructor Summary | |
---|---|
ScalarNode(java.lang.Object value)
Create an immutable ScalarNode |
Method Summary | |
---|---|
java.util.List<YamlNode> |
getChildren()
Return the children of this YamlNode |
java.lang.Object |
getValue()
|
void |
print()
Print out the String value of the ScalarNode. |
java.lang.String |
toString()
Return the String value of the ScalarNode. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public ScalarNode(java.lang.Object value)
value
- Method Detail |
---|
public java.lang.Object getValue()
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
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |