public class ParsingEmbeddedDocumentExtractor extends java.lang.Object implements EmbeddedDocumentExtractor
Constructor and Description |
---|
ParsingEmbeddedDocumentExtractor(ParseContext context) |
Modifier and Type | Method and Description |
---|---|
void |
parseEmbedded(java.io.InputStream stream,
org.xml.sax.ContentHandler handler,
Metadata metadata,
boolean outputHtml)
Processes the supplied embedded resource, calling the delegating
parser with the appropriate details.
|
boolean |
shouldParseEmbedded(Metadata metadata) |
public ParsingEmbeddedDocumentExtractor(ParseContext context)
public boolean shouldParseEmbedded(Metadata metadata)
shouldParseEmbedded
in interface EmbeddedDocumentExtractor
public void parseEmbedded(java.io.InputStream stream, org.xml.sax.ContentHandler handler, Metadata metadata, boolean outputHtml) throws org.xml.sax.SAXException, java.io.IOException
EmbeddedDocumentExtractor
parseEmbedded
in interface EmbeddedDocumentExtractor
stream
- The embedded resourcehandler
- The handler to usemetadata
- The metadata for the embedded resourceoutputHtml
- Should we output HTML for this resource, or has the parser already done so?org.xml.sax.SAXException
java.io.IOException
Copyright © 2010 - 2020 Adobe. All Rights Reserved