org.apache.xpath.functions
public abstract class Function extends Expression
UNKNOWN: advanced
Method Summary | |
---|---|
void | callArgVisitors(XPathVisitor visitor)
Call the visitors for the function arguments. |
void | callVisitors(ExpressionOwner owner, XPathVisitor visitor) |
void | checkNumberArgs(int argNum)
Check that the number of arguments passed to this function is correct.
|
boolean | deepEquals(Expression expr) |
XObject | execute(XPathContext xctxt)
Execute an XPath function object. |
void | postCompileStep(Compiler compiler)
This function is currently only being used by Position()
and Last(). |
void | setArg(Expression arg, int argNum)
Set an argument expression for a function. |
See Also: XPathVisitable
Parameters: argNum The number of arguments that is being passed to the function.
Throws: WrongNumberArgsException
See Also: deepEquals
Parameters: xctxt The execution current context.
Returns: A valid XObject.
Throws: javax.xml.transform.TransformerException
Parameters: arg non-null expression that represents the argument. argNum The argument number index.
Throws: WrongNumberArgsException If the argNum parameter is beyond what is specified for this function.