java.io.Serializable
public static class StandardFunction.Entry
extends java.lang.Object
implements java.io.Serializable
Modifier and Type | Field | Description |
---|---|---|
int |
applicability |
Flags indicating which host languages the function is applicable to
|
SequenceType[] |
argumentTypes |
An array holding the types of the arguments to the function
|
int |
cardinality |
The cardinality of the result of the function
|
java.lang.Class |
implementationClass |
The class containing the implementation of this function (always a subclass of SystemFunction)
|
ItemType |
itemType |
The item type of the result of the function
|
int |
maxArguments |
The maximum number of arguments permitted
|
int |
minArguments |
The minimum number of arguments required
|
java.lang.String |
name |
The name of the function: a local name in the case of functions in the standard library, or a
name with the conventional prefix "saxon:" in the case of Saxon extension functions
|
int |
opcode |
Some classes support more than one function.
|
Value[] |
resultIfEmpty |
An array holding, for each declared argument, the value that is to be returned if an empty sequence
as the value of this argument allows the result to be determined irrespective of the values of the
other arguments; null if there is no such calculation possible
|
Constructor | Description |
---|---|
Entry() |
public java.lang.String name
public java.lang.Class implementationClass
public int opcode
public int minArguments
public int maxArguments
public ItemType itemType
public int cardinality
public int applicability
public SequenceType[] argumentTypes
public Value[] resultIfEmpty