Class FunctionCall
java.lang.Object
org.exolab.adaptx.xpath.expressions.PrimaryExpr
org.exolab.adaptx.xpath.expressions.FunctionCall
- All Implemented Interfaces:
XPathExpression
- Direct Known Subclasses:
FunctionCallImpl
A abstract class representing an XPath function call
- Version:
- $Revision: 3734 $
- Author:
- Keith Visco
-
Field Summary
Fields inherited from class PrimaryExpr
EXPR, FUNCTION_CALL, LITERAL, NUMBER, VARIABLE_REFERENCEFields inherited from interface XPathExpression
BOOLEAN, ERROR, FILTER_EXPR, LOCATION_PATH, NODE_TEST, PATH_EXPR, PRIMARY, STEP, STRING, UNION_EXPR -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionabstract StringReturns the name of the functionabstract XPathExpressiongetParameter(int index) Returns the XPathExpression at the specified position in this list.abstract intReturns the number of expressions in the parameter listMethods inherited from class PrimaryExpr
getExprType, getTypeMethods inherited from class Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface XPathExpression
evaluate, toString
-
Constructor Details
-
FunctionCall
public FunctionCall()
-
-
Method Details
-
getFunctionName
Returns the name of the function- Returns:
- the name of the function
-
getParameter
Returns the XPathExpression at the specified position in this list.- Parameters:
index- the position of the Expr to return- Throws:
IndexOutOfBoundsException
-
getParameterCount
public abstract int getParameterCount()Returns the number of expressions in the parameter list- Returns:
- the number of expressions in the parameter list
-