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 MappedNamespaceConventionprivate NamespaceContextprivate Stringprivate FastStackprivate intprivate StringFields inherited from class org.codehaus.jettison.AbstractXMLStreamReader
event, nodeFields 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 TypeMethodDescriptionvoidclose()getText()booleanintnext()private voidprivate booleanprocessUniformArrayIfPossible(String arrayKey, JSONArray array) voidsetValueKey(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:
JSONExceptionXMLStreamException
-
MappedXMLStreamReader
public MappedXMLStreamReader(JSONObject obj, MappedNamespaceConvention con) throws JSONException, XMLStreamException - Throws:
JSONExceptionXMLStreamException
-
-
Method Details
-
next
- Throws:
XMLStreamException
-
processElement
- Throws:
XMLStreamException
-
processUniformArrayIfPossible
private boolean processUniformArrayIfPossible(String arrayKey, JSONArray array) throws JSONException, XMLStreamException - Throws:
JSONExceptionXMLStreamException
-
close
- Throws:
XMLStreamException
-
getElementText
- Throws:
XMLStreamException
-
getNamespaceContext
-
getText
-
setValueKey
-
isAvoidArraySpecificEvents
-
getConvention
-