Class EndDocumentShieldingContentHandler

All Implemented Interfaces:
ContentHandler, DTDHandler, EntityResolver, ErrorHandler

@Deprecated(since="2026-04-30") public class EndDocumentShieldingContentHandler extends ContentHandlerDecorator
Deprecated.
This version of the Apache Tika library is deprecated. Use your own version of Apache Tika.
A wrapper around a ContentHandler which will ignore normal SAX calls to endDocument(), and only fire them later. This is typically used to ensure that we can output the metadata before ending the document
  • Constructor Details

    • EndDocumentShieldingContentHandler

      public EndDocumentShieldingContentHandler(ContentHandler handler)
      Deprecated.
      Creates a decorator for the given SAX event handler.
      Parameters:
      handler - SAX event handler to be decorated
  • Method Details