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.

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

    Modifier and Type
    Method
    Description
    boolean
    process(Expression expression, Object result)
    Process an expression
  • Method Details

    • process

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