public class YAMLString extends net.pwall.json.JSONString implements YAMLScalar
| Modifier and Type | Field and Description |
|---|---|
static String |
defaultTag |
| Constructor and Description |
|---|
YAMLString(String value)
Construct a
YAMLString with the given value and the default tag. |
YAMLString(String value,
String tag)
Construct a
YAMLString with the given value and tag. |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object other) |
String |
getTag()
Get the tag of the node.
|
int |
hashCode() |
appendJSON, charAt, getValue, length, subSequence, toSimpleValue, toStringclone, finalize, getClass, notify, notifyAll, wait, wait, waitappendJSON, simpleValue, toJSON, toSimpleValuechars, codePointspublic static final String defaultTag
public YAMLString(String value, String tag)
YAMLString with the given value and tag.value - the valuetag - the tagpublic YAMLString(String value)
YAMLString with the given value and the default tag.value - the valueCopyright © 2021. All rights reserved.