- java.lang.Object
- 
- javax.xml.stream.util.EventReaderDelegate
 
- 
- All Implemented Interfaces:
- Iterator<Object>,- XMLEventReader
 
 public class EventReaderDelegate extends Object implements XMLEventReader This is the base class for deriving an XMLEventReader filter. This class is designed to sit between an XMLEventReader and an application's XMLEventReader. By default each method does nothing but call the corresponding method on the parent interface.- Since:
- 1.6
- See Also:
- XMLEventReader,- StreamReaderDelegate
 
- 
- 
Constructor SummaryConstructors Constructor Description EventReaderDelegate()Construct an empty filter with no parent.EventReaderDelegate(XMLEventReader reader)Construct an filter with the specified parent.
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description XMLEventReadergetParent()Get the parent of this instance.voidsetParent(XMLEventReader 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 java.util.IteratorforEachRemaining, next, remove
 - 
Methods declared in interface javax.xml.stream.XMLEventReaderclose, getElementText, getProperty, hasNext, nextEvent, nextTag, peek
 
- 
 
- 
- 
- 
Constructor Detail- 
EventReaderDelegatepublic EventReaderDelegate() Construct an empty filter with no parent.
 - 
EventReaderDelegatepublic EventReaderDelegate(XMLEventReader reader) Construct an filter with the specified parent.- Parameters:
- reader- the parent
 
 
- 
 - 
Method Detail- 
setParentpublic void setParent(XMLEventReader reader) Set the parent of this instance.- Parameters:
- reader- the new parent
 
 - 
getParentpublic XMLEventReader getParent() Get the parent of this instance.- Returns:
- the parent or null if none is set
 
 
- 
 
-