org.mule.module.xml.stax
Class ReversibleXMLStreamReader

java.lang.Object
  extended by org.mule.module.xml.stax.DelegateXMLStreamReader
      extended by org.mule.module.xml.stax.ReversibleXMLStreamReader
All Implemented Interfaces:
XMLStreamConstants, XMLStreamReader

public class ReversibleXMLStreamReader
extends DelegateXMLStreamReader


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
ReversibleXMLStreamReader(XMLStreamReader reader)
           
 
Method Summary
 int getAttributeCount()
           
 String getAttributeLocalName(int i)
           
 QName getAttributeName(int i)
           
 String getAttributeNamespace(int i)
           
 String getAttributePrefix(int i)
           
 String getAttributeType(int i)
           
 String getAttributeValue(int i)
           
 String getAttributeValue(String ns, String local)
           
 String getElementText()
           
 int getEventType()
           
 String getLocalName()
           
 Location getLocation()
           
 QName getName()
           
 NamespaceContext getNamespaceContext()
           
 int getNamespaceCount()
           
 String getNamespacePrefix(int arg0)
           
 String getNamespaceURI()
           
 String getNamespaceURI(int arg0)
           
 String getNamespaceURI(String prefix)
           
 String getPIData()
           
 String getPITarget()
           
 String getPrefix()
           
 String getText()
           
 char[] getTextCharacters()
           
 int getTextCharacters(int sourceStart, char[] target, int targetStart, int length)
           
 int getTextLength()
           
 int getTextStart()
           
 boolean hasName()
           
 boolean hasNext()
           
 boolean hasText()
           
 boolean isAttributeSpecified(int i)
           
 boolean isCharacters()
           
 boolean isEndElement()
           
 boolean isStartElement()
           
 boolean isTracking()
           
 boolean isWhiteSpace()
           
 int next()
           
 int nextTag()
           
 void reset()
           
 void setTracking(boolean tracking)
           
 
Methods inherited from class org.mule.module.xml.stax.DelegateXMLStreamReader
close, getCharacterEncodingScheme, getDelegateReader, getEncoding, getProperty, getVersion, isStandalone, require, standaloneSet
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ReversibleXMLStreamReader

public ReversibleXMLStreamReader(XMLStreamReader reader)
Method Detail

nextTag

public int nextTag()
            throws XMLStreamException
Specified by:
nextTag in interface XMLStreamReader
Overrides:
nextTag in class DelegateXMLStreamReader
Throws:
XMLStreamException

reset

public void reset()

isTracking

public boolean isTracking()

setTracking

public void setTracking(boolean tracking)

next

public int next()
         throws XMLStreamException
Specified by:
next in interface XMLStreamReader
Overrides:
next in class DelegateXMLStreamReader
Throws:
XMLStreamException

getElementText

public String getElementText()
                      throws XMLStreamException
Specified by:
getElementText in interface XMLStreamReader
Overrides:
getElementText in class DelegateXMLStreamReader
Throws:
XMLStreamException

getAttributeCount

public int getAttributeCount()
Specified by:
getAttributeCount in interface XMLStreamReader
Overrides:
getAttributeCount in class DelegateXMLStreamReader

getAttributeLocalName

public String getAttributeLocalName(int i)
Specified by:
getAttributeLocalName in interface XMLStreamReader
Overrides:
getAttributeLocalName in class DelegateXMLStreamReader

getAttributeName

public QName getAttributeName(int i)
Specified by:
getAttributeName in interface XMLStreamReader
Overrides:
getAttributeName in class DelegateXMLStreamReader

getAttributeNamespace

public String getAttributeNamespace(int i)
Specified by:
getAttributeNamespace in interface XMLStreamReader
Overrides:
getAttributeNamespace in class DelegateXMLStreamReader

getAttributePrefix

public String getAttributePrefix(int i)
Specified by:
getAttributePrefix in interface XMLStreamReader
Overrides:
getAttributePrefix in class DelegateXMLStreamReader

getAttributeType

public String getAttributeType(int i)
Specified by:
getAttributeType in interface XMLStreamReader
Overrides:
getAttributeType in class DelegateXMLStreamReader

getAttributeValue

public String getAttributeValue(int i)
Specified by:
getAttributeValue in interface XMLStreamReader
Overrides:
getAttributeValue in class DelegateXMLStreamReader

getAttributeValue

public String getAttributeValue(String ns,
                                String local)
Specified by:
getAttributeValue in interface XMLStreamReader
Overrides:
getAttributeValue in class DelegateXMLStreamReader

getEventType

public int getEventType()
Specified by:
getEventType in interface XMLStreamReader
Overrides:
getEventType in class DelegateXMLStreamReader

getLocalName

public String getLocalName()
Specified by:
getLocalName in interface XMLStreamReader
Overrides:
getLocalName in class DelegateXMLStreamReader

getLocation

public Location getLocation()
Specified by:
getLocation in interface XMLStreamReader
Overrides:
getLocation in class DelegateXMLStreamReader

getName

public QName getName()
Specified by:
getName in interface XMLStreamReader
Overrides:
getName in class DelegateXMLStreamReader

getNamespaceContext

public NamespaceContext getNamespaceContext()
Specified by:
getNamespaceContext in interface XMLStreamReader
Overrides:
getNamespaceContext in class DelegateXMLStreamReader

getNamespaceCount

public int getNamespaceCount()
Specified by:
getNamespaceCount in interface XMLStreamReader
Overrides:
getNamespaceCount in class DelegateXMLStreamReader

getNamespacePrefix

public String getNamespacePrefix(int arg0)
Specified by:
getNamespacePrefix in interface XMLStreamReader
Overrides:
getNamespacePrefix in class DelegateXMLStreamReader

getNamespaceURI

public String getNamespaceURI()
Specified by:
getNamespaceURI in interface XMLStreamReader
Overrides:
getNamespaceURI in class DelegateXMLStreamReader

getNamespaceURI

public String getNamespaceURI(int arg0)
Specified by:
getNamespaceURI in interface XMLStreamReader
Overrides:
getNamespaceURI in class DelegateXMLStreamReader

getNamespaceURI

public String getNamespaceURI(String prefix)
Specified by:
getNamespaceURI in interface XMLStreamReader
Overrides:
getNamespaceURI in class DelegateXMLStreamReader

getPIData

public String getPIData()
Specified by:
getPIData in interface XMLStreamReader
Overrides:
getPIData in class DelegateXMLStreamReader

getPITarget

public String getPITarget()
Specified by:
getPITarget in interface XMLStreamReader
Overrides:
getPITarget in class DelegateXMLStreamReader

getPrefix

public String getPrefix()
Specified by:
getPrefix in interface XMLStreamReader
Overrides:
getPrefix in class DelegateXMLStreamReader

getText

public String getText()
Specified by:
getText in interface XMLStreamReader
Overrides:
getText in class DelegateXMLStreamReader

getTextCharacters

public char[] getTextCharacters()
Specified by:
getTextCharacters in interface XMLStreamReader
Overrides:
getTextCharacters in class DelegateXMLStreamReader

getTextCharacters

public int getTextCharacters(int sourceStart,
                             char[] target,
                             int targetStart,
                             int length)
                      throws XMLStreamException
Specified by:
getTextCharacters in interface XMLStreamReader
Overrides:
getTextCharacters in class DelegateXMLStreamReader
Throws:
XMLStreamException

getTextLength

public int getTextLength()
Specified by:
getTextLength in interface XMLStreamReader
Overrides:
getTextLength in class DelegateXMLStreamReader

getTextStart

public int getTextStart()
Specified by:
getTextStart in interface XMLStreamReader
Overrides:
getTextStart in class DelegateXMLStreamReader

hasName

public boolean hasName()
Specified by:
hasName in interface XMLStreamReader
Overrides:
hasName in class DelegateXMLStreamReader

hasNext

public boolean hasNext()
                throws XMLStreamException
Specified by:
hasNext in interface XMLStreamReader
Overrides:
hasNext in class DelegateXMLStreamReader
Throws:
XMLStreamException

hasText

public boolean hasText()
Specified by:
hasText in interface XMLStreamReader
Overrides:
hasText in class DelegateXMLStreamReader

isAttributeSpecified

public boolean isAttributeSpecified(int i)
Specified by:
isAttributeSpecified in interface XMLStreamReader
Overrides:
isAttributeSpecified in class DelegateXMLStreamReader

isCharacters

public boolean isCharacters()
Specified by:
isCharacters in interface XMLStreamReader
Overrides:
isCharacters in class DelegateXMLStreamReader

isEndElement

public boolean isEndElement()
Specified by:
isEndElement in interface XMLStreamReader
Overrides:
isEndElement in class DelegateXMLStreamReader

isStartElement

public boolean isStartElement()
Specified by:
isStartElement in interface XMLStreamReader
Overrides:
isStartElement in class DelegateXMLStreamReader

isWhiteSpace

public boolean isWhiteSpace()
Specified by:
isWhiteSpace in interface XMLStreamReader
Overrides:
isWhiteSpace in class DelegateXMLStreamReader


Copyright © 2003-2014 MuleSoft, Inc.. All Rights Reserved.