Interface LexicalProcessor.RootXNodeHandler
- Enclosing interface:
- LexicalProcessor<T>
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
Note that this interface does not contain handleError method. It seems that we are currently not able to successfully
recover from JSON/YAML parsing errors - so, after first exception we would get quite random (garbage) data from the
input stream. It is much more safe just to abort processing in that case.
-
Method Summary
Modifier and TypeMethodDescriptionboolean
handleData
(RootXNodeImpl node) Called when a RootXNode was successfully retrieved from the input.
-
Method Details
-
handleData
Called when a RootXNode was successfully retrieved from the input.- Returns:
- true if the processing should continue
-