public static class XQueryFunctionLibrary.UnresolvedXQueryFunctionItem extends AbstractFunction
Constructor and Description |
---|
UnresolvedXQueryFunctionItem(XQueryFunction fd,
SymbolicName.F functionName,
UserFunctionReference ref) |
Modifier and Type | Method and Description |
---|---|
Sequence |
call(XPathContext context,
Sequence[] args)
Invoke the function
|
int |
getArity()
Get the arity of the function
|
java.lang.String |
getDescription()
Get a description of this function for use in error messages.
|
FunctionItemType |
getFunctionItemType()
Get the item type of the function item
|
StructuredQName |
getFunctionName()
Get the name of the function, or null if it is anonymous
|
UserFunctionReference |
getFunctionReference() |
atomize, deepEquals, effectiveBooleanValue, export, getAnnotations, getOperandRoles, getStringValue, getStringValueCS, isArray, isMap, isTrustedResultType, makeNewContext, simplify, typeCheck
getLength, head, isStreamed, itemAt, iterate, reduce, subsequence
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getLength, head, itemAt, reduce, subsequence
public UnresolvedXQueryFunctionItem(XQueryFunction fd, SymbolicName.F functionName, UserFunctionReference ref)
public FunctionItemType getFunctionItemType()
Function
public StructuredQName getFunctionName()
Function
public int getArity()
Function
public Sequence call(XPathContext context, Sequence[] args) throws XPathException
Function
context
- the XPath dynamic evaluation contextargs
- the actual arguments to be suppliedXPathException
- if a dynamic error occurs within the functionpublic java.lang.String getDescription()
Function
public UserFunctionReference getFunctionReference()
Copyright (c) 2004-2018 Saxonica Limited. All rights reserved.