Class XdmFunctionItem
java.lang.Object
net.sf.saxon.s9api.XdmValue
net.sf.saxon.s9api.XdmItem
net.sf.saxon.s9api.XdmFunctionItem
The class XdmFunctionItem represents a function item
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class XdmItem
getStringValue, newAtomicValue, size, wrapItemMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface Iterable
forEach, spliterator
-
Constructor Details
-
XdmFunctionItem
-
-
Method Details
-
getName
Get the name of the function- Returns:
- the function name, as a QName, or null for an anonymous inline function item
-
getArity
public int getArity()Get the arity of the function- Returns:
- the arity of the function, that is, the number of arguments in the function's signature
-
isAtomicValue
public boolean isAtomicValue()Determine whether the item is an atomic value- Overrides:
isAtomicValuein classXdmItem- Returns:
- false, the item is not an atomic value, it is a function item
-
call
Call the function- Parameters:
arguments- the values to be supplied as arguments to the functionprocessor- the s9api Processor- Returns:
- the result of calling the function
- Throws:
SaxonApiException
-