Interface ExpressionAction

  • Functional Interface:
    This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

    public interface ExpressionAction
    General action class which can be used to process all nodes on an expression tree
    • Method Detail

      • process

        boolean process​(Expression expression,
                        java.lang.Object result)
                 throws XPathException
        Process an expression
        expression - the expression to be processed
        result - supplied value (of an appropriate type!) which can be updated to return results
        true if processing is now complete and further expressions do not need to be processed
        XPathException - if a failure occurs