Modifier | Constructor and Description |
---|---|
protected |
XdmFunctionItem() |
|
XdmFunctionItem(Function fi) |
Modifier and Type | Method and Description |
---|---|
XdmValue |
call(Processor processor,
XdmValue... arguments)
Call the function
|
int |
getArity()
Get the arity of the function
|
QName |
getName()
Get the name of the function
|
static XdmFunctionItem |
getSystemFunction(Processor processor,
QName name,
int arity)
Get a system function.
|
boolean |
isAtomicValue()
Determine whether the item is an atomic value
|
asMap, getStringValue, getUnderlyingValue, size, wrapItem
append, itemAt, iterator, makeSequence, makeValue, setValue, toString, wrap
protected XdmFunctionItem()
public XdmFunctionItem(Function fi)
public QName getName()
public int getArity()
public boolean isAtomicValue()
isAtomicValue
in class XdmItem
public static XdmFunctionItem getSystemFunction(Processor processor, QName name, int arity) throws SaxonApiException
SaxonApiException
- if dynamic function calls are not permitted by this Saxon Configurationpublic XdmValue call(Processor processor, XdmValue... arguments) throws SaxonApiException
arguments
- the values to be supplied as arguments to the function. The "function
conversion rules" will be applied to convert the arguments to the required
type when necessary.processor
- the s9api ProcessorSaxonApiException
Copyright (c) 2004-2018 Saxonica Limited. All rights reserved.