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|
Creates a decorator for the given parser.
getDecorationName, getSupportedTypes, getWrappedParser, parse, withFallbacks, withoutTypes, withTypes
public StatefulParser(Parser parser)
parser- the parser instance to be decorated
Copyright © 2007–2022 The Apache Software Foundation. All rights reserved.