Class DocumentHandlerProxy

  • All Implemented Interfaces:
    Result

    public class DocumentHandlerProxy
    extends Emitter
    A DocumentHandlerProxy is an Emitter that filters data before passing it to an underlying SAX DocumentHandler. Note that in general the output passed to an Emitter corresponds to an External General Parsed Entity. A SAX DocumentHandler only expects to deal with well-formed XML documents, so we only pass it the contents of the first element encountered.