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