Class StatefulParser

All Implemented Interfaces:
Serializable, Parser

public class StatefulParser extends ParserDecorator
The RecursiveParserWrapper wraps the parser sent into the parsecontext and then uses that parser to store state (among many other things).

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.

See Also:
  • Constructor Details

    • StatefulParser

      public StatefulParser(Parser parser)
      Creates a decorator for the given parser.
      parser - the parser instance to be decorated