org.codehaus.jettison.mapped
Class MappedXMLStreamReader

java.lang.Object
  extended by org.codehaus.jettison.AbstractXMLStreamReader
      extended by org.codehaus.jettison.mapped.MappedXMLStreamReader
All Implemented Interfaces:
javax.xml.stream.XMLStreamConstants, javax.xml.stream.XMLStreamReader

public class MappedXMLStreamReader
extends AbstractXMLStreamReader


Field Summary
 
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
MappedXMLStreamReader(JSONObject obj)
           
MappedXMLStreamReader(JSONObject obj, MappedNamespaceConvention con)
           
 
Method Summary
 void close()
           
 java.lang.String getElementText()
           
 javax.xml.namespace.NamespaceContext getNamespaceContext()
           
 java.lang.String getText()
           
 int next()
           
 void setValueKey(java.lang.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
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MappedXMLStreamReader

public MappedXMLStreamReader(JSONObject obj)
                      throws JSONException,
                             javax.xml.stream.XMLStreamException
Throws:
JSONException
javax.xml.stream.XMLStreamException

MappedXMLStreamReader

public MappedXMLStreamReader(JSONObject obj,
                             MappedNamespaceConvention con)
                      throws JSONException,
                             javax.xml.stream.XMLStreamException
Throws:
JSONException
javax.xml.stream.XMLStreamException
Method Detail

next

public int next()
         throws javax.xml.stream.XMLStreamException
Throws:
javax.xml.stream.XMLStreamException

close

public void close()
           throws javax.xml.stream.XMLStreamException
Throws:
javax.xml.stream.XMLStreamException

getElementText

public java.lang.String getElementText()
                                throws javax.xml.stream.XMLStreamException
Throws:
javax.xml.stream.XMLStreamException

getNamespaceContext

public javax.xml.namespace.NamespaceContext getNamespaceContext()

getText

public java.lang.String getText()

setValueKey

public void setValueKey(java.lang.String valueKey)