private final class MappedXMLStreamWriter.JSONPropertyObject extends MappedXMLStreamWriter.JSONProperty
| Modifier and Type | Field and Description |
|---|---|
private JSONObject |
object |
| Constructor and Description |
|---|
JSONPropertyObject(java.lang.String key,
java.lang.String parentKey,
JSONObject object) |
| 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, withPropertyprivate JSONObject object
public JSONPropertyObject(java.lang.String key,
java.lang.String parentKey,
JSONObject object)
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