public class ParserPostProcessor extends ParserDecorator
| Constructor and Description | 
|---|
ParserPostProcessor(Parser parser)
Creates a post-processing decorator for the given parser. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
void | 
parse(java.io.InputStream stream,
     org.xml.sax.ContentHandler handler,
     Metadata metadata,
     ParseContext context)
Forwards the call to the delegated parser and post-processes the
 results as described above. 
 | 
getDecorationName, getSupportedTypes, getWrappedParser, withFallbacks, withoutTypes, withTypesparsepublic ParserPostProcessor(Parser parser)
parser - the parser to be decoratedpublic void parse(java.io.InputStream stream,
                  org.xml.sax.ContentHandler handler,
                  Metadata metadata,
                  ParseContext context)
           throws java.io.IOException,
                  org.xml.sax.SAXException,
                  TikaException
parse in interface Parserparse in class ParserDecoratorstream - the document stream (input)handler - handler for the XHTML SAX events (output)metadata - document metadata (input and output)context - parse contextjava.io.IOException - if the document stream could not be readorg.xml.sax.SAXException - if the SAX events could not be processedTikaException - if the document could not be parsed"Copyright © 2010 - 2020 Adobe Systems Incorporated. All Rights Reserved"