com.icl.saxon.expr
public abstract class Function extends Expression
Field Summary | |
---|---|
protected Expression[] | argument |
Method Summary | |
---|---|
void | addArgument(Expression expr)
Method to add an argument during function definition. |
protected int | checkArgumentCount(int min, int max)
Check number of arguments. |
void | display(int level)
Diagnostic print of expression structure |
abstract String | getName()
Get the name of the function.
|
int | getNumberOfArguments()
Determine the number of actual arguments supplied in the function call |
Parameters: min the minimum number of arguments allowed max the maximum number of arguments allowed
Returns: the actual number of arguments
Throws: XPathException if the number of arguments is out of range
Returns: the name of the function, as used in XSL expressions, but excluding its namespace prefix