|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.icl.saxon.expr.Expression com.icl.saxon.expr.Function
Abstract superclass for system-defined and user-defined functions
Field Summary | |
protected Expression[] |
argument
|
Fields inherited from class com.icl.saxon.expr.Expression |
staticContext |
Constructor Summary | |
Function()
|
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 java.lang.String |
getName()
Get the name of the function. |
int |
getNumberOfArguments()
Determine the number of actual arguments supplied in the function call |
Methods inherited from class com.icl.saxon.expr.Expression |
containsReferences, enumerate, evaluate, evaluateAsBoolean, evaluateAsNodeSet, evaluateAsNumber, evaluateAsString, getDataType, getDependencies, getStaticContext, indent, isContextDocumentNodeSet, make, outputStringValue, reduce, setStaticContext, simplify, usesCurrent |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
protected Expression[] argument
Constructor Detail |
public Function()
Method Detail |
public void addArgument(Expression expr)
public int getNumberOfArguments()
public abstract java.lang.String getName()
protected int checkArgumentCount(int min, int max) throws XPathException
min
- the minimum number of arguments allowedmax
- the maximum number of arguments allowed
XPathException
- if the number of arguments is out of rangepublic void display(int level)
display
in class Expression
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |