Saxon.Api
Class XdmFunctionItem
-
public class XdmFunctionItem
- extends XdmItem
The class XdmFunctionItem
represents an item in an XDM sequence
that holds a function.
Note that there is no guarantee that every XdmValue
comprising a single
function item will be an instance of this class. To force this, use the Simplify
property of the XdmValue
.
At present the only way of creating an instance of this class is as the result of an XPath or XQuery expression that returns a function item.
Property Summary |
|
---|---|
int | Arity The arity of the function, that is, the number of arguments it expects |
QName | FunctionName The name of the function, as a QName |
Method Summary |
|
---|---|
XdmValue | Invoke(XdmValue[] arguments, Processor processor) Invoke the function |
bool | IsAtomic() Determine whether the item is an atomic value |
Property Detail
Arity
The arity of the function, that is, the number of arguments it expects
Returns:
FunctionName
The name of the function, as a QName
Returns:
Method Detail
Invoke
Processor processor)
IsAtomic
Determine whether the item is an atomic value
Returns:
Invoke the function
Parameters:
arguments
- The arguments to the functionprocessor
- The Saxon processor, used to provide context informationReturns: