Module java.xml

Class EventReaderDelegate

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 Details

  • Method Details

    • setParent

      public void setParent​(XMLEventReader reader)
      Set the parent of this instance.
      Parameters:
      reader - the new parent
    • getParent

      public XMLEventReader getParent()
      Get the parent of this instance.
      Returns:
      the parent or null if none is set