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 voidclose()StringgetAttributeType(int arg0)StringgetCharacterEncodingScheme()StringgetElementText()NamespaceContextgetNamespaceContext()StringgetText()intnext()-
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:
JSONExceptionXMLStreamException
-
-
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:
getAttributeTypein interfaceXMLStreamReader- Overrides:
getAttributeTypein classAbstractXMLStreamReader
-
getCharacterEncodingScheme
public String getCharacterEncodingScheme()
- Specified by:
getCharacterEncodingSchemein interfaceXMLStreamReader- Overrides:
getCharacterEncodingSchemein classAbstractXMLStreamReader
-
getElementText
public String getElementText() throws XMLStreamException
- Throws:
XMLStreamException
-
getNamespaceContext
public NamespaceContext getNamespaceContext()
-
getText
public String getText()
-
-