net.sf.saxon.functions

Class StandardFunction.Entry

Enclosing Class:
StandardFunction
Implemented Interfaces:
java.io.Serializable

public static class StandardFunction.Entry
extends java.lang.Object
implements java.io.Serializable

An entry in the table describing the properties of a function
See Also:
Serialized Form

Field Summary

SequenceType[]
argumentTypes
An array holding the types of the arguments to the function
int
cardinality
The cardinality of the result of the function
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
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

Field Details

argumentTypes

public SequenceType[] argumentTypes
An array holding the types of the arguments to the function

cardinality

public int cardinality
The cardinality of the result of the function

implementationClass

public Class implementationClass
The class containing the implementation of this function (always a subclass of SystemFunction)

itemType

public ItemType itemType
The item type of the result of the function

maxArguments

public int maxArguments
The maximum number of arguments permitted

minArguments

public int minArguments
The minimum number of arguments required

name

public 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

opcode

public int opcode
Some classes support more than one function. In these cases the particular function is defined by an integer opcode, whose meaning is local to the implementation class.

resultIfEmpty

public 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