public class MappedXMLStreamReader extends AbstractXMLStreamReader
| Modifier and Type | Field and Description |
|---|---|
private MappedNamespaceConvention |
convention |
private javax.xml.namespace.NamespaceContext |
ctx |
private java.lang.String |
currentValue |
private FastStack |
nodes |
private int |
popArrayNodes |
private java.lang.String |
valueKey |
event, node| Constructor and Description |
|---|
MappedXMLStreamReader(JSONObject obj) |
MappedXMLStreamReader(JSONObject obj,
MappedNamespaceConvention con) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
MappedNamespaceConvention |
getConvention() |
java.lang.String |
getElementText() |
javax.xml.namespace.NamespaceContext |
getNamespaceContext() |
java.lang.String |
getText() |
boolean |
isAvoidArraySpecificEvents(java.lang.String key) |
int |
next() |
private void |
processElement() |
private boolean |
processUniformArrayIfPossible(java.lang.String arrayKey,
JSONArray array) |
void |
setValueKey(java.lang.String valueKey) |
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, standaloneSetprivate FastStack nodes
private java.lang.String currentValue
private MappedNamespaceConvention convention
private java.lang.String valueKey
private javax.xml.namespace.NamespaceContext ctx
private int popArrayNodes
public MappedXMLStreamReader(JSONObject obj) throws JSONException, javax.xml.stream.XMLStreamException
JSONExceptionjavax.xml.stream.XMLStreamExceptionpublic MappedXMLStreamReader(JSONObject obj, MappedNamespaceConvention con) throws JSONException, javax.xml.stream.XMLStreamException
JSONExceptionjavax.xml.stream.XMLStreamExceptionpublic int next()
throws javax.xml.stream.XMLStreamException
javax.xml.stream.XMLStreamExceptionprivate void processElement()
throws javax.xml.stream.XMLStreamException
javax.xml.stream.XMLStreamExceptionprivate boolean processUniformArrayIfPossible(java.lang.String arrayKey,
JSONArray array)
throws JSONException,
javax.xml.stream.XMLStreamException
JSONExceptionjavax.xml.stream.XMLStreamExceptionpublic void close()
throws javax.xml.stream.XMLStreamException
javax.xml.stream.XMLStreamExceptionpublic java.lang.String getElementText()
throws javax.xml.stream.XMLStreamException
javax.xml.stream.XMLStreamExceptionpublic javax.xml.namespace.NamespaceContext getNamespaceContext()
public java.lang.String getText()
public void setValueKey(java.lang.String valueKey)
public boolean isAvoidArraySpecificEvents(java.lang.String key)
public MappedNamespaceConvention getConvention()