public static class UserFunctionReference.BoundUserFunction extends AbstractFunction
Constructor and Description |
---|
UserFunctionReference.BoundUserFunction(Component<UserFunction> component) |
Modifier and Type | Method and Description |
---|---|
Sequence |
call(XPathContext context,
Sequence[] args)
Invoke the function
|
int |
getArity()
Get the arity of the function
|
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
|
atomize, deepEquals, effectiveBooleanValue, export, getOperandRoles, getStringValue, getStringValueCS, isArray, isMap, optimize, simplify, typeCheck
getLength, head, itemAt, iterate, reduce, subsequence
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getLength, head, itemAt, reduce, subsequence
public UserFunctionReference.BoundUserFunction(Component<UserFunction> component)
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 FunctionItemType getFunctionItemType()
Function
public StructuredQName getFunctionName()
Function
public int getArity()
Function
public String getDescription()
Function
Copyright (c) 2004-2014 Saxonica Limited. All rights reserved.