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, withTypes
parse
public StatefulParser(Parser parser)
parser
- the parser instance to be decoratedCopyright © 2007–2021 The Apache Software Foundation. All rights reserved.