Package net.sf.saxon.functions
Class StandardFunction.Entry
java.lang.Object
net.sf.saxon.functions.StandardFunction.Entry
- All Implemented Interfaces:
Serializable
- Enclosing class:
- StandardFunction
An entry in the table describing the properties of a function
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionint
Flags indicating which host languages the function is applicable toAn array holding the types of the arguments to the functionint
The cardinality of the result of the functionThe class containing the implementation of this function (always a subclass of SystemFunction)The item type of the result of the functionint
The maximum number of arguments permittedint
The minimum number of arguments requiredThe 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 functionsint
Some classes support more than one function.Value[]
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 Summary
Constructors -
Method Summary
-
Field Details
-
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 -
implementationClass
The class containing the implementation of this function (always a subclass of SystemFunction) -
opcode
public int opcodeSome 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. -
minArguments
public int minArgumentsThe minimum number of arguments required -
maxArguments
public int maxArgumentsThe maximum number of arguments permitted -
itemType
The item type of the result of the function -
cardinality
public int cardinalityThe cardinality of the result of the function -
applicability
public int applicabilityFlags indicating which host languages the function is applicable to -
argumentTypes
An array holding the types of the arguments to the function -
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 Details
-
Entry
public Entry()
-