Package org.apache.avro.io.parsing
Interface Parser.ActionHandler
- All Known Implementing Classes:
JsonDecoder
,JsonEncoder
,ParsingDecoder
,ResolvingDecoder
,ValidatingDecoder
,ValidatingEncoder
- Enclosing class:
Parser
public static interface Parser.ActionHandler
The parser knows how to handle the terminal and non-terminal symbols. But it
needs help from outside to handle implicit and explicit actions. The clients
implement this interface to provide this help.
-
Method Summary
-
Method Details
-
doAction
Handle the action symbol top when the input is sought to be taken off the stack.- Parameters:
input
- The input symbol from the caller of advancetop
- The symbol at the top the stack.- Returns:
- null if advance() is to continue processing the stack. If not null the return value will be returned by advance().
- Throws:
IOException
-