- 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
- Version:
- 1.0
- See Also:
- XMLStreamReader,- EventReaderDelegate
 
- 
- 
Field Summary- 
Fields 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 SummaryAll Methods Instance Methods Concrete Methods Modifier 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, wait
 - 
Methods 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 Detail- 
StreamReaderDelegatepublic StreamReaderDelegate() Construct an empty filter with no parent.
 - 
StreamReaderDelegatepublic StreamReaderDelegate(XMLStreamReader reader) Construct an filter with the specified parent.- Parameters:
- reader- the parent
 
 
- 
 - 
Method Detail- 
setParentpublic void setParent(XMLStreamReader reader) Set the parent of this instance.- Parameters:
- reader- the new parent
 
 - 
getParentpublic XMLStreamReader getParent() Get the parent of this instance.- Returns:
- the parent or null if none is set
 
 
- 
 
-