Class CallableWithBoundFocus

  • All Implemented Interfaces:

    public class CallableWithBoundFocus
    extends java.lang.Object
    implements Callable
    A Callable that wraps another Callable and a Dynamic Context, in effect acting as a closure that executes the original callable with a saved context.
    • Constructor Detail

    • Method Detail

      • call

        public Sequence call​(XPathContext context,
                             Sequence[] arguments)
                      throws XPathException
        Evaluate the expression
        Specified by:
        call in interface Callable
        context - the dynamic evaluation context
        arguments - the values of the arguments, supplied as SequenceIterators
        the result of the evaluation, in the form of a SequenceIterator
        XPathException - if a dynamic error occurs during the evaluation of the expression