Class TikaPoweredMetadataExtracter.HeadContentHandler

  • All Implemented Interfaces:
    org.xml.sax.ContentHandler, org.xml.sax.DTDHandler, org.xml.sax.EntityResolver, org.xml.sax.ErrorHandler
    Enclosing class:
    TikaPoweredMetadataExtracter

    protected static class TikaPoweredMetadataExtracter.HeadContentHandler
    extends org.apache.tika.sax.ContentHandlerDecorator
    This content handler will capture entries from within the header of the Tika content XHTML, but ignore the rest.
    • Constructor Summary

      Constructors 
      Modifier Constructor Description
      protected HeadContentHandler​(org.xml.sax.ContentHandler handler)
      Creates a content handler that passes all XHTML body events to the given underlying content handler.
    • Method Summary

      • Methods inherited from class org.apache.tika.sax.ContentHandlerDecorator

        characters, endDocument, endElement, endPrefixMapping, handleException, ignorableWhitespace, processingInstruction, setContentHandler, setDocumentLocator, skippedEntity, startDocument, startElement, startPrefixMapping, toString
      • Methods inherited from class org.xml.sax.helpers.DefaultHandler

        error, fatalError, notationDecl, resolveEntity, unparsedEntityDecl, warning
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • HeadContentHandler

        protected HeadContentHandler​(org.xml.sax.ContentHandler handler)
        Creates a content handler that passes all XHTML body events to the given underlying content handler.
        Parameters:
        handler - content handler