Package org.codehaus.jettison.mapped
Class MappedXMLStreamReader
java.lang.Object
org.codehaus.jettison.AbstractXMLStreamReader
org.codehaus.jettison.mapped.MappedXMLStreamReader
- All Implemented Interfaces:
XMLStreamConstants
,XMLStreamReader
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate MappedNamespaceConvention
private NamespaceContext
private String
private FastStack
private int
private String
Fields inherited from class org.codehaus.jettison.AbstractXMLStreamReader
event, node
Fields inherited from interface javax.xml.stream.XMLStreamConstants
ATTRIBUTE, CDATA, CHARACTERS, COMMENT, DTD, END_DOCUMENT, END_ELEMENT, ENTITY_DECLARATION, ENTITY_REFERENCE, NAMESPACE, NOTATION_DECLARATION, PROCESSING_INSTRUCTION, SPACE, START_DOCUMENT, START_ELEMENT
-
Constructor Summary
ConstructorsConstructorDescription -
Method Summary
Modifier and TypeMethodDescriptionvoid
close()
getText()
boolean
int
next()
private void
private boolean
processUniformArrayIfPossible
(String arrayKey, JSONArray array) void
setValueKey
(String valueKey) Methods inherited from class org.codehaus.jettison.AbstractXMLStreamReader
getAttributeCount, getAttributeLocalName, getAttributeName, getAttributeNamespace, getAttributePrefix, getAttributeType, getAttributeValue, getAttributeValue, getCharacterEncodingScheme, getEncoding, getEventType, getLocalName, getLocation, getName, getNamespaceCount, getNamespacePrefix, getNamespaceURI, getNamespaceURI, getNamespaceURI, getPIData, getPITarget, getPrefix, getProperty, getTextCharacters, getTextCharacters, getTextLength, getTextStart, getVersion, hasName, hasNext, hasText, isAttributeSpecified, isCharacters, isEndElement, isStandalone, isStartElement, isWhiteSpace, nextTag, require, standaloneSet
-
Field Details
-
nodes
-
currentValue
-
convention
-
valueKey
-
ctx
-
popArrayNodes
private int popArrayNodes
-
-
Constructor Details
-
MappedXMLStreamReader
- Throws:
JSONException
XMLStreamException
-
MappedXMLStreamReader
public MappedXMLStreamReader(JSONObject obj, MappedNamespaceConvention con) throws JSONException, XMLStreamException - Throws:
JSONException
XMLStreamException
-
-
Method Details
-
next
- Throws:
XMLStreamException
-
processElement
- Throws:
XMLStreamException
-
processUniformArrayIfPossible
private boolean processUniformArrayIfPossible(String arrayKey, JSONArray array) throws JSONException, XMLStreamException - Throws:
JSONException
XMLStreamException
-
close
- Throws:
XMLStreamException
-
getElementText
- Throws:
XMLStreamException
-
getNamespaceContext
-
getText
-
setValueKey
-
isAvoidArraySpecificEvents
-
getConvention
-