Package org.codehaus.jettison.mapped
Class MappedXMLStreamWriter.JSONProperty
java.lang.Object
org.codehaus.jettison.mapped.MappedXMLStreamWriter.JSONProperty
- Direct Known Subclasses:
MappedXMLStreamWriter.JSONPropertyObject
,MappedXMLStreamWriter.JSONPropertyString
- Enclosing class:
MappedXMLStreamWriter
JSON property currently being constructed. For efficiency, this is
concretely represented as either a property with a String value or an
Object value.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionabstract void
Add textgetKey()
Get the key of the property.abstract Object
getValue()
Get the value of the propertywithProperty
(MappedXMLStreamWriter.JSONProperty property, boolean add) Return a new property object with this property added
-
Field Details
-
key
-
parentKey
-
-
Constructor Details
-
JSONProperty
-
-
Method Details
-
getKey
Get the key of the property. -
getParentKey
-
getTreeKey
-
getValue
Get the value of the property -
addText
Add text -
withProperty
public abstract MappedXMLStreamWriter.JSONPropertyObject withProperty(MappedXMLStreamWriter.JSONProperty property, boolean add) Return a new property object with this property added -
withProperty
public MappedXMLStreamWriter.JSONPropertyObject withProperty(MappedXMLStreamWriter.JSONProperty property)
-