Package org.codehaus.jettison.mapped
Class MappedXMLStreamWriter.JSONPropertyObject
java.lang.Object
org.codehaus.jettison.mapped.MappedXMLStreamWriter.JSONProperty
org.codehaus.jettison.mapped.MappedXMLStreamWriter.JSONPropertyObject
- Enclosing class:
MappedXMLStreamWriter
private final class MappedXMLStreamWriter.JSONPropertyObject
extends MappedXMLStreamWriter.JSONProperty
Property with a JSONObject value.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
Add textgetValue()
Get the value of the propertywithProperty
(MappedXMLStreamWriter.JSONProperty property, boolean add) Return a new property object with this property addedMethods inherited from class org.codehaus.jettison.mapped.MappedXMLStreamWriter.JSONProperty
getKey, getParentKey, getTreeKey, withProperty
-
Field Details
-
object
-
-
Constructor Details
-
JSONPropertyObject
-
-
Method Details
-
getValue
Description copied from class:MappedXMLStreamWriter.JSONProperty
Get the value of the property- Specified by:
getValue
in classMappedXMLStreamWriter.JSONProperty
-
addText
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
-