private final class MappedXMLStreamWriter.JSONPropertyString extends MappedXMLStreamWriter.JSONProperty
| Modifier and Type | Field and Description |
|---|---|
private java.lang.StringBuilder |
object |
| Constructor and Description |
|---|
JSONPropertyString(java.lang.String key,
java.lang.String parentKey) |
| Modifier and Type | Method and Description |
|---|---|
void |
addText(java.lang.String text)
Add text
|
java.lang.Object |
getValue()
Get the value of the property
|
MappedXMLStreamWriter.JSONPropertyObject |
withProperty(MappedXMLStreamWriter.JSONProperty property,
boolean add)
Return a new property object with this property added
|
getKey, getParentKey, getTreeKey, withPropertypublic JSONPropertyString(java.lang.String key,
java.lang.String parentKey)
public java.lang.Object getValue()
MappedXMLStreamWriter.JSONPropertygetValue in class MappedXMLStreamWriter.JSONPropertypublic void addText(java.lang.String text)
MappedXMLStreamWriter.JSONPropertyaddText in class MappedXMLStreamWriter.JSONPropertypublic MappedXMLStreamWriter.JSONPropertyObject withProperty(MappedXMLStreamWriter.JSONProperty property, boolean add)
MappedXMLStreamWriter.JSONPropertywithProperty in class MappedXMLStreamWriter.JSONProperty