Package org.codehaus.jettison.mapped
Class MappedXMLStreamReader
- java.lang.Object
-
- org.codehaus.jettison.AbstractXMLStreamReader
-
- org.codehaus.jettison.mapped.MappedXMLStreamReader
-
- All Implemented Interfaces:
XMLStreamConstants
,XMLStreamReader
public class MappedXMLStreamReader 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 MappedXMLStreamReader(JSONObject obj)
MappedXMLStreamReader(JSONObject obj, MappedNamespaceConvention con)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
close()
MappedNamespaceConvention
getConvention()
String
getElementText()
NamespaceContext
getNamespaceContext()
String
getText()
boolean
isAvoidArraySpecificEvents(String key)
int
next()
void
setValueKey(String valueKey)
-
Methods inherited from class org.codehaus.jettison.AbstractXMLStreamReader
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, standaloneSet
-
-
-
-
Constructor Detail
-
MappedXMLStreamReader
public MappedXMLStreamReader(JSONObject obj) throws JSONException, XMLStreamException
- Throws:
JSONException
XMLStreamException
-
MappedXMLStreamReader
public MappedXMLStreamReader(JSONObject obj, MappedNamespaceConvention con) throws JSONException, XMLStreamException
- Throws:
JSONException
XMLStreamException
-
-
Method Detail
-
next
public int next() throws XMLStreamException
- Throws:
XMLStreamException
-
close
public void close() throws XMLStreamException
- Throws:
XMLStreamException
-
getElementText
public String getElementText() throws XMLStreamException
- Throws:
XMLStreamException
-
getNamespaceContext
public NamespaceContext getNamespaceContext()
-
getText
public String getText()
-
setValueKey
public void setValueKey(String valueKey)
-
isAvoidArraySpecificEvents
public boolean isAvoidArraySpecificEvents(String key)
-
getConvention
public MappedNamespaceConvention getConvention()
-
-