Class BaseXMLEventWriter

  • All Implemented Interfaces:
    XMLEventConsumer, XMLEventWriter
    Direct Known Subclasses:
    StreamEventWriter, XMLStreamEventWriter

    public abstract class BaseXMLEventWriter
    extends Object
    implements XMLEventWriter
    Base class for XMLEventWriter implementations. This implemenation buffers Attribute and Namespace events as specified in the specification, maintains a stack of NamespaceContext instances based on the events it receives, and repairs any missing namespaces. Subclasses should implement the sendEvent(XMLEvent) method to receive the processed events and perform additional processing.
    Version:
    $Revision: 1.9 $
    Author:
    Christian Niles