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 org.exolab.adaptx.xpath.expressions.PrimaryExpr
EXPR, FUNCTION_CALL, LITERAL, NUMBER, VARIABLE_REFERENCE
Fields inherited from interface org.exolab.adaptx.xpath.XPathExpression
BOOLEAN, ERROR, FILTER_EXPR, LOCATION_PATH, NODE_TEST, PATH_EXPR, PRIMARY, STEP, STRING, UNION_EXPR
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionabstract String
Returns the name of the functionabstract XPathExpression
getParameter
(int index) Returns the XPathExpression at the specified position in this list.abstract int
Returns the number of expressions in the parameter listMethods inherited from class org.exolab.adaptx.xpath.expressions.PrimaryExpr
getExprType, getType
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.exolab.adaptx.xpath.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
-