javax.xml.stream.util
Class ReaderDelegate
public
class
ReaderDelegate
extends Object
implements XMLStreamReader, XMLStreamConstants
Base class for XML stream reader filters.
public ReaderDelegate()
Constructs an empty filter with no parent set.
Constructs an empty filter with the specfied parent.
public void close()
public int getAttributeCount()
public
String getAttributeLocalName(int index)
public
QName getAttributeName(int index)
public
String getAttributeNamespace(int index)
public
String getAttributePrefix(int index)
public
String getAttributeType(int index)
public
String getAttributeValue(int index)
public
String getCharacterEncodingScheme()
public
String getElementText()
public int getEventType()
public int getNamespaceCount()
public
String getNamespacePrefix(int index)
public
String getNamespaceURI(int index)
public
String getNamespaceURI()
Returns the parent.
public int getTextCharacters(int sourceStart, char[] target, int targetStart, int length)
public char[] getTextCharacters()
public int getTextLength()
public int getTextStart()
public boolean hasName()
public boolean hasNext()
public boolean hasText()
public boolean isAttributeSpecified(int index)
public boolean isCharacters()
public boolean isEndElement()
public boolean isStandalone()
public boolean isStartElement()
public boolean isWhiteSpace()
public int next()
public int nextTag()
public void require(int type,
String namespaceURI,
String localName)
Sets the parent.
public boolean standaloneSet()