Interface EmbeddedDocumentExtractor

    • Method Detail

      • shouldParseEmbedded

        boolean shouldParseEmbedded​(Metadata metadata)
      • parseEmbedded

        void parseEmbedded​(java.io.InputStream stream,
                           org.xml.sax.ContentHandler handler,
                           Metadata metadata,
                           boolean outputHtml)
                    throws org.xml.sax.SAXException,
                           java.io.IOException
        Processes the supplied embedded resource, calling the delegating parser with the appropriate details.
        Parameters:
        stream - The embedded resource
        handler - The handler to use
        metadata - The metadata for the embedded resource
        outputHtml - Should we output HTML for this resource, or has the parser already done so?
        Throws:
        org.xml.sax.SAXException
        java.io.IOException