Package org.codehaus.jettison.badgerfish
Class BadgerFishXMLStreamReader
- java.lang.Object
-
- org.codehaus.jettison.AbstractXMLStreamReader
-
- org.codehaus.jettison.badgerfish.BadgerFishXMLStreamReader
-
- All Implemented Interfaces:
XMLStreamConstants
,XMLStreamReader
public class BadgerFishXMLStreamReader extends AbstractXMLStreamReader
-
-
Field Summary
-
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
Constructors Constructor Description BadgerFishXMLStreamReader(JSONObject obj)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
close()
String
getAttributeType(int arg0)
String
getCharacterEncodingScheme()
String
getElementText()
NamespaceContext
getNamespaceContext()
String
getText()
int
next()
-
Methods inherited from class org.codehaus.jettison.AbstractXMLStreamReader
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, standaloneSet
-
-
-
-
Constructor Detail
-
BadgerFishXMLStreamReader
public BadgerFishXMLStreamReader(JSONObject obj) throws JSONException, XMLStreamException
- Throws:
JSONException
XMLStreamException
-
-
Method Detail
-
next
public int next() throws XMLStreamException
- Throws:
XMLStreamException
-
close
public void close() throws XMLStreamException
- Throws:
XMLStreamException
-
getAttributeType
public String getAttributeType(int arg0)
- Specified by:
getAttributeType
in interfaceXMLStreamReader
- Overrides:
getAttributeType
in classAbstractXMLStreamReader
-
getCharacterEncodingScheme
public String getCharacterEncodingScheme()
- Specified by:
getCharacterEncodingScheme
in interfaceXMLStreamReader
- Overrides:
getCharacterEncodingScheme
in classAbstractXMLStreamReader
-
getElementText
public String getElementText() throws XMLStreamException
- Throws:
XMLStreamException
-
getNamespaceContext
public NamespaceContext getNamespaceContext()
-
getText
public String getText()
-
-