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 Details

    • UnresolvedCallable

      public UnresolvedCallable(SymbolicName.F symbolicName)
  • Method Details

    • getFunctionName

      public StructuredQName getFunctionName()
    • getArity

      public int getArity()
    • call

      public Sequence call(XPathContext context, Sequence[] arguments) throws XPathException
      Evaluate the expression
      Specified by:
      call in interface Callable
      Parameters:
      context - the dynamic evaluation context
      arguments - 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

      public void setFunction(UserFunction function)
      Specified by:
      setFunction in interface UserFunctionResolvable
    • getFunction

      public UserFunction getFunction()