jd.xml.xpath.expr.function
Interface Function
- All Superinterfaces:
- Expression
- All Known Subinterfaces:
- XsltFunction
- All Known Implementing Classes:
- Available, BooleanFunction, DocumentFunction, FormatNumber, KeyFunction, NodeSetFunction, NumericFunction, ScriptFunction, StringFunction, SystemProperty, VariableFunction
- public interface Function
- extends Expression
Function represents a XPath function.
A function takes zero or more XPath expressions as arguments and
computes an XObject result value.
Methods inherited from interface jd.xml.xpath.expr.Expression |
accept, getContextDependencies, getResultType, hasContextDependencies, isUniqueFilter, matchesFilter, toBooleanValue, toNode, toNodeSet, toNumberValue, toString, toStringValue, toXObject |
NULL_ARGUMENTS
public static final Expression[] NULL_ARGUMENTS
getFunctionType
public FunctionType getFunctionType()
- Return the FunctionType of the Function-
setArguments
public void setArguments(Expression[] arguments)
throws XPathException
- Set the function arguments.
- Throws:
XPathException
- thrown if the number of
arguments is not correct
getArgument
public Expression getArgument(int i)
- Return the actual argument for the given index.