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.

    @FunctionalInterface
    public static interface LexicalProcessor.RootXNodeHandler
    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 Detail

      • handleData

        boolean handleData​(RootXNodeImpl node)
        Called when a RootXNode was successfully retrieved from the input.
        Returns:
        true if the processing should continue