Package net.sf.saxon.query
Class XQueryFunctionLibrary.UnresolvedCallable
java.lang.Object
net.sf.saxon.query.XQueryFunctionLibrary.UnresolvedCallable
- All Implemented Interfaces:
Callable
,UserFunctionResolvable
- Enclosing class:
XQueryFunctionLibrary
public static class XQueryFunctionLibrary.UnresolvedCallable
extends Object
implements UserFunctionResolvable, Callable
Inner class containing information about a reference to a function whose declaration
has not yet been encountered. The references gets fixed up later, once information
about all user-declared functions is available.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncall
(XPathContext context, Sequence[] arguments) Evaluate the expressionint
getArity()
void
setFunction
(UserFunction function)
-
Constructor Details
-
UnresolvedCallable
-
-
Method Details
-
getFunctionName
-
getArity
public int getArity() -
call
Evaluate the expression- Specified by:
call
in interfaceCallable
- Parameters:
context
- the dynamic evaluation contextarguments
- the values of the arguments, supplied as Sequences- Returns:
- the result of the evaluation, in the form of a Sequence
- Throws:
XPathException
- if a dynamic error occurs during the evaluation of the expression
-
setFunction
- Specified by:
setFunction
in interfaceUserFunctionResolvable
-
getFunction
-