public class ReversibleXMLStreamReader extends DelegateXMLStreamReader
ATTRIBUTE, CDATA, CHARACTERS, COMMENT, DTD, END_DOCUMENT, END_ELEMENT, ENTITY_DECLARATION, ENTITY_REFERENCE, NAMESPACE, NOTATION_DECLARATION, PROCESSING_INSTRUCTION, SPACE, START_DOCUMENT, START_ELEMENT
Constructor and Description |
---|
ReversibleXMLStreamReader(XMLStreamReader reader) |
close, getCharacterEncodingScheme, getDelegateReader, getEncoding, getProperty, getVersion, isStandalone, require, standaloneSet
public ReversibleXMLStreamReader(XMLStreamReader reader)
public int nextTag() throws XMLStreamException
nextTag
in interface XMLStreamReader
nextTag
in class DelegateXMLStreamReader
XMLStreamException
public void reset()
public boolean isTracking()
public void setTracking(boolean tracking)
public int next() throws XMLStreamException
next
in interface XMLStreamReader
next
in class DelegateXMLStreamReader
XMLStreamException
public String getElementText() throws XMLStreamException
getElementText
in interface XMLStreamReader
getElementText
in class DelegateXMLStreamReader
XMLStreamException
public int getAttributeCount()
getAttributeCount
in interface XMLStreamReader
getAttributeCount
in class DelegateXMLStreamReader
public String getAttributeLocalName(int i)
getAttributeLocalName
in interface XMLStreamReader
getAttributeLocalName
in class DelegateXMLStreamReader
public QName getAttributeName(int i)
getAttributeName
in interface XMLStreamReader
getAttributeName
in class DelegateXMLStreamReader
public String getAttributeNamespace(int i)
getAttributeNamespace
in interface XMLStreamReader
getAttributeNamespace
in class DelegateXMLStreamReader
public String getAttributePrefix(int i)
getAttributePrefix
in interface XMLStreamReader
getAttributePrefix
in class DelegateXMLStreamReader
public String getAttributeType(int i)
getAttributeType
in interface XMLStreamReader
getAttributeType
in class DelegateXMLStreamReader
public String getAttributeValue(int i)
getAttributeValue
in interface XMLStreamReader
getAttributeValue
in class DelegateXMLStreamReader
public String getAttributeValue(String ns, String local)
getAttributeValue
in interface XMLStreamReader
getAttributeValue
in class DelegateXMLStreamReader
public int getEventType()
getEventType
in interface XMLStreamReader
getEventType
in class DelegateXMLStreamReader
public String getLocalName()
getLocalName
in interface XMLStreamReader
getLocalName
in class DelegateXMLStreamReader
public Location getLocation()
getLocation
in interface XMLStreamReader
getLocation
in class DelegateXMLStreamReader
public QName getName()
getName
in interface XMLStreamReader
getName
in class DelegateXMLStreamReader
public NamespaceContext getNamespaceContext()
getNamespaceContext
in interface XMLStreamReader
getNamespaceContext
in class DelegateXMLStreamReader
public int getNamespaceCount()
getNamespaceCount
in interface XMLStreamReader
getNamespaceCount
in class DelegateXMLStreamReader
public String getNamespacePrefix(int arg0)
getNamespacePrefix
in interface XMLStreamReader
getNamespacePrefix
in class DelegateXMLStreamReader
public String getNamespaceURI()
getNamespaceURI
in interface XMLStreamReader
getNamespaceURI
in class DelegateXMLStreamReader
public String getNamespaceURI(int arg0)
getNamespaceURI
in interface XMLStreamReader
getNamespaceURI
in class DelegateXMLStreamReader
public String getNamespaceURI(String prefix)
getNamespaceURI
in interface XMLStreamReader
getNamespaceURI
in class DelegateXMLStreamReader
public String getPIData()
getPIData
in interface XMLStreamReader
getPIData
in class DelegateXMLStreamReader
public String getPITarget()
getPITarget
in interface XMLStreamReader
getPITarget
in class DelegateXMLStreamReader
public String getPrefix()
getPrefix
in interface XMLStreamReader
getPrefix
in class DelegateXMLStreamReader
public String getText()
getText
in interface XMLStreamReader
getText
in class DelegateXMLStreamReader
public char[] getTextCharacters()
getTextCharacters
in interface XMLStreamReader
getTextCharacters
in class DelegateXMLStreamReader
public int getTextCharacters(int sourceStart, char[] target, int targetStart, int length) throws XMLStreamException
getTextCharacters
in interface XMLStreamReader
getTextCharacters
in class DelegateXMLStreamReader
XMLStreamException
public int getTextLength()
getTextLength
in interface XMLStreamReader
getTextLength
in class DelegateXMLStreamReader
public int getTextStart()
getTextStart
in interface XMLStreamReader
getTextStart
in class DelegateXMLStreamReader
public boolean hasName()
hasName
in interface XMLStreamReader
hasName
in class DelegateXMLStreamReader
public boolean hasNext() throws XMLStreamException
hasNext
in interface XMLStreamReader
hasNext
in class DelegateXMLStreamReader
XMLStreamException
public boolean hasText()
hasText
in interface XMLStreamReader
hasText
in class DelegateXMLStreamReader
public boolean isAttributeSpecified(int i)
isAttributeSpecified
in interface XMLStreamReader
isAttributeSpecified
in class DelegateXMLStreamReader
public boolean isCharacters()
isCharacters
in interface XMLStreamReader
isCharacters
in class DelegateXMLStreamReader
public boolean isEndElement()
isEndElement
in interface XMLStreamReader
isEndElement
in class DelegateXMLStreamReader
public boolean isStartElement()
isStartElement
in interface XMLStreamReader
isStartElement
in class DelegateXMLStreamReader
public boolean isWhiteSpace()
isWhiteSpace
in interface XMLStreamReader
isWhiteSpace
in class DelegateXMLStreamReader
Copyright © 2003–2016 MuleSoft, Inc.. All rights reserved.