Class Reader

  • All Implemented Interfaces:
    XMLStreamConstants, XMLStreamReader
    Direct Known Subclasses:
    ResettableReader

    public abstract class Reader
    extends Object
    implements XMLStreamReader
    Reader In many situations, you want the ability to reset an XMLStreamReader. (Or at least ask if the XMLStreamReader is resettable).

    The Reader abstract class: - accepts an XMLStreamReader - provides reset() and isResettable() methods Adds support resettable support to XMLStreamReader

    Derived classes must pass the initial reader to the constructor and indicate if it is resettable. Derived classes must also provide an implementation of the newReader() method if resettable.