Package net.sf.saxon.functions.hof
Class CallableWithBoundFocus
java.lang.Object
net.sf.saxon.functions.hof.CallableWithBoundFocus
- All Implemented Interfaces:
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 Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncall
(XPathContext context, Sequence[] arguments) Evaluate the expression
-
Constructor Details
-
CallableWithBoundFocus
-
-
Method Details
-
call
Evaluate the expression- Specified by:
call
in interfaceCallable
- Parameters:
context
- the dynamic evaluation contextarguments
- the values of the arguments, supplied as SequenceIterators- Returns:
- the result of the evaluation, in the form of a SequenceIterator
- Throws:
XPathException
- if a dynamic error occurs during the evaluation of the expression
-