Package net.pwall.yaml
Class YAMLString
java.lang.Object
net.pwall.json.JSONString
net.pwall.yaml.YAMLString
- All Implemented Interfaces:
Serializable,CharSequence,net.pwall.json.JSONValue,YAMLNode,YAMLScalar
A YAML string scalar.
- Author:
- Peter Wall
- See Also:
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionYAMLString(String value) Construct aYAMLStringwith the given value and the default tag.YAMLString(String value, String tag) Construct aYAMLStringwith the given value and tag. -
Method Summary
Methods inherited from class net.pwall.json.JSONString
appendJSON, charAt, getValue, length, subSequence, toSimpleValue, toStringMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface java.lang.CharSequence
chars, codePoints, isEmptyMethods inherited from interface net.pwall.json.JSONValue
appendJSON, toJSON, toSimpleValue
-
Field Details
-
defaultTag
- See Also:
-
-
Constructor Details
-
YAMLString
Construct aYAMLStringwith the given value and tag.- Parameters:
value- the valuetag- the tag
-
YAMLString
Construct aYAMLStringwith the given value and the default tag.- Parameters:
value- the value
-
-
Method Details