Package org.codehaus.jettison.mapped
Class MappedXMLStreamWriter.JSONPropertyString
- java.lang.Object
-
- org.codehaus.jettison.mapped.MappedXMLStreamWriter.JSONProperty
-
- org.codehaus.jettison.mapped.MappedXMLStreamWriter.JSONPropertyString
-
- Enclosing class:
- MappedXMLStreamWriter
private final class MappedXMLStreamWriter.JSONPropertyString extends MappedXMLStreamWriter.JSONProperty
Property with a String value.
-
-
Field Summary
Fields Modifier and Type Field Description private java.lang.StringBuilder
object
-
Constructor Summary
Constructors Constructor Description JSONPropertyString(java.lang.String key, java.lang.String parentKey)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addText(java.lang.String text)
Add textjava.lang.Object
getValue()
Get the value of the propertyMappedXMLStreamWriter.JSONPropertyObject
withProperty(MappedXMLStreamWriter.JSONProperty property, boolean add)
Return a new property object with this property added-
Methods inherited from class org.codehaus.jettison.mapped.MappedXMLStreamWriter.JSONProperty
getKey, getParentKey, getTreeKey, withProperty
-
-
-
-
Method Detail
-
getValue
public java.lang.Object getValue()
Description copied from class:MappedXMLStreamWriter.JSONProperty
Get the value of the property- Specified by:
getValue
in classMappedXMLStreamWriter.JSONProperty
-
addText
public void addText(java.lang.String text)
Description copied from class:MappedXMLStreamWriter.JSONProperty
Add text- Specified by:
addText
in classMappedXMLStreamWriter.JSONProperty
-
withProperty
public MappedXMLStreamWriter.JSONPropertyObject withProperty(MappedXMLStreamWriter.JSONProperty property, boolean add)
Description copied from class:MappedXMLStreamWriter.JSONProperty
Return a new property object with this property added- Specified by:
withProperty
in classMappedXMLStreamWriter.JSONProperty
-
-