public class BadgerFishXMLStreamReader extends AbstractXMLStreamReader
| Modifier and Type | Field and Description |
|---|---|
private static BadgerFishConvention |
CONVENTION |
private java.lang.String |
currentText |
private FastStack |
nodes |
event, node| Constructor and Description |
|---|
BadgerFishXMLStreamReader(JSONObject obj) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
java.lang.String |
getAttributeType(int arg0) |
java.lang.String |
getCharacterEncodingScheme() |
java.lang.String |
getElementText() |
javax.xml.namespace.NamespaceContext |
getNamespaceContext() |
java.lang.String |
getText() |
int |
next() |
private void |
processElement() |
private void |
processKey(java.lang.String nextKey,
java.lang.Object newObj) |
getAttributeCount, getAttributeLocalName, getAttributeName, getAttributeNamespace, getAttributePrefix, getAttributeValue, getAttributeValue, 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 static final BadgerFishConvention CONVENTION
private FastStack nodes
private java.lang.String currentText
public BadgerFishXMLStreamReader(JSONObject obj) 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 void processKey(java.lang.String nextKey,
java.lang.Object newObj)
throws JSONException,
javax.xml.stream.XMLStreamException
JSONExceptionjavax.xml.stream.XMLStreamExceptionpublic void close()
throws javax.xml.stream.XMLStreamException
javax.xml.stream.XMLStreamExceptionpublic java.lang.String getAttributeType(int arg0)
getAttributeType in interface javax.xml.stream.XMLStreamReadergetAttributeType in class AbstractXMLStreamReaderpublic java.lang.String getCharacterEncodingScheme()
getCharacterEncodingScheme in interface javax.xml.stream.XMLStreamReadergetCharacterEncodingScheme in class AbstractXMLStreamReaderpublic java.lang.String getElementText()
throws javax.xml.stream.XMLStreamException
javax.xml.stream.XMLStreamExceptionpublic javax.xml.namespace.NamespaceContext getNamespaceContext()
public java.lang.String getText()