Package org.codehaus.jettison.badgerfish
Class BadgerFishXMLStreamReader
java.lang.Object
org.codehaus.jettison.AbstractXMLStreamReader
org.codehaus.jettison.badgerfish.BadgerFishXMLStreamReader
- All Implemented Interfaces:
XMLStreamConstants
,XMLStreamReader
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static final BadgerFishConvention
private String
private FastStack
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 -
Method Summary
Modifier and TypeMethodDescriptionvoid
close()
getAttributeType
(int arg0) getText()
int
next()
private void
private void
processKey
(String nextKey, Object newObj) 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
-
Field Details
-
CONVENTION
-
nodes
-
currentText
-
-
Constructor Details
-
BadgerFishXMLStreamReader
- Throws:
JSONException
XMLStreamException
-
-
Method Details
-
next
- Throws:
XMLStreamException
-
processElement
- Throws:
XMLStreamException
-
processKey
- Throws:
JSONException
XMLStreamException
-
close
- Throws:
XMLStreamException
-
getAttributeType
- Specified by:
getAttributeType
in interfaceXMLStreamReader
- Overrides:
getAttributeType
in classAbstractXMLStreamReader
-
getCharacterEncodingScheme
- Specified by:
getCharacterEncodingScheme
in interfaceXMLStreamReader
- Overrides:
getCharacterEncodingScheme
in classAbstractXMLStreamReader
-
getElementText
- Throws:
XMLStreamException
-
getNamespaceContext
-
getText
-