Package net.sf.saxon.functions.hof
Class UnresolvedXQueryFunctionItem
java.lang.Object
net.sf.saxon.functions.AbstractFunction
net.sf.saxon.functions.hof.UnresolvedXQueryFunctionItem
- All Implemented Interfaces:
Callable,Function,GroundedValue,Item,Sequence
-
Constructor Summary
ConstructorsConstructorDescriptionUnresolvedXQueryFunctionItem(XQueryFunction fd, SymbolicName.F functionName, UserFunctionReference ref) -
Method Summary
Modifier and TypeMethodDescriptioncall(XPathContext context, Sequence[] args) Invoke the functionintgetArity()Get the arity of the functionGet a description of this function for use in error messages.Get the item type of the function itemGet the name of the function, or null if it is anonymousMethods inherited from class net.sf.saxon.functions.AbstractFunction
atomize, deepEquals, effectiveBooleanValue, export, getAnnotations, getOperandRoles, getStringValue, getStringValueCS, isArray, isMap, isTrustedResultType, makeNewContext, simplify, typeCheckMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface net.sf.saxon.om.Function
getGenre, toShortStringMethods inherited from interface net.sf.saxon.om.GroundedValue
asIterable, concatenate, containsNode, materializeMethods inherited from interface net.sf.saxon.om.Item
getLength, head, isStreamed, itemAt, iterate, reduce, subsequenceMethods inherited from interface net.sf.saxon.om.Sequence
makeRepeatable
-
Constructor Details
-
UnresolvedXQueryFunctionItem
public UnresolvedXQueryFunctionItem(XQueryFunction fd, SymbolicName.F functionName, UserFunctionReference ref)
-
-
Method Details
-
getFunctionItemType
Description copied from interface:FunctionGet the item type of the function item- Returns:
- the function item's type
-
getFunctionName
Description copied from interface:FunctionGet the name of the function, or null if it is anonymous- Returns:
- the function name, or null for an anonymous inline function
-
getArity
public int getArity()Description copied from interface:FunctionGet the arity of the function- Returns:
- the number of arguments in the function signature
-
call
Description copied from interface:FunctionInvoke the function- Parameters:
context- the XPath dynamic evaluation contextargs- the actual arguments to be supplied- Returns:
- the result of invoking the function
- Throws:
XPathException- if a dynamic error occurs within the function
-
getDescription
Description copied from interface:FunctionGet a description of this function for use in error messages. For named functions, the description is the function name (as a lexical QName). For others, it might be, for example, "inline function", or "partially-applied ends-with function".- Returns:
- a description of the function for use in error messages
-
getFunctionReference
-