public class StatefulParser extends ParserDecorator
There are some use cases where regular parsers want to parse content inline (e.g. OCR), and their output should not be treated as coming from an embedded object.
| Constructor and Description |
|---|
StatefulParser(Parser parser)
Creates a decorator for the given parser.
|
getDecorationName, getSupportedTypes, getWrappedParser, parse, withFallbacks, withoutTypes, withTypesparsepublic StatefulParser(Parser parser)
parser - the parser instance to be decoratedCopyright © 2007–2023 The Apache Software Foundation. All rights reserved.