- 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 interface ExpressionActionGeneral action class which can be used to process all nodes on an expression tree
boolean process(Expression expression, java.lang.Object result) throws XPathExceptionProcess 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