java.lang.Object
javax.xml.stream.util.StreamReaderDelegate
- All Implemented Interfaces:
- XMLStreamConstants,- XMLStreamReader
public class StreamReaderDelegate extends Object implements XMLStreamReader
This is the base class for deriving an XMLStreamReader filter
 This class is designed to sit between an XMLStreamReader and an
 application's XMLStreamReader.   By default each method
 does nothing but call the corresponding method on the
 parent interface.
- Since:
- 1.6
- See Also:
- XMLStreamReader,- EventReaderDelegate
- 
Field SummaryFields declared in interface javax.xml.stream.XMLStreamConstantsATTRIBUTE, CDATA, CHARACTERS, COMMENT, DTD, END_DOCUMENT, END_ELEMENT, ENTITY_DECLARATION, ENTITY_REFERENCE, NAMESPACE, NOTATION_DECLARATION, PROCESSING_INSTRUCTION, SPACE, START_DOCUMENT, START_ELEMENT
- 
Constructor SummaryConstructors Constructor Description StreamReaderDelegate()Construct an empty filter with no parent.StreamReaderDelegate(XMLStreamReader reader)Construct an filter with the specified parent.
- 
Method SummaryModifier and Type Method Description XMLStreamReadergetParent()Get the parent of this instance.voidsetParent(XMLStreamReader reader)Set the parent of this instance.Methods declared in class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods declared in interface javax.xml.stream.XMLStreamReaderclose, getAttributeCount, getAttributeLocalName, getAttributeName, getAttributeNamespace, getAttributePrefix, getAttributeType, getAttributeValue, getAttributeValue, getCharacterEncodingScheme, getElementText, getEncoding, getEventType, getLocalName, getLocation, getName, getNamespaceContext, getNamespaceCount, getNamespacePrefix, getNamespaceURI, getNamespaceURI, getNamespaceURI, getPIData, getPITarget, getPrefix, getProperty, getText, getTextCharacters, getTextCharacters, getTextLength, getTextStart, getVersion, hasName, hasNext, hasText, isAttributeSpecified, isCharacters, isEndElement, isStandalone, isStartElement, isWhiteSpace, next, nextTag, require, standaloneSet
- 
Constructor Details- 
StreamReaderDelegatepublic StreamReaderDelegate()Construct an empty filter with no parent.
- 
StreamReaderDelegateConstruct an filter with the specified parent.- Parameters:
- reader- the parent
 
 
- 
- 
Method Details