Prev Class | Next Class | Frames | No Frames |
Summary: Nested | Field | Method | Constr | Detail: Nested | Field | Method | Constr |
java.lang.Object
org.exolab.adaptx.xpath.expressions.PrimaryExpr
org.exolab.adaptx.xpath.expressions.FunctionCall
org.exolab.adaptx.xpath.functions.FunctionCallImpl
Field Summary | |
static String | |
static String |
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 , NUMBER , PATH_EXPR , PRIMARY , STEP , STRING , UNION_EXPR |
Constructor Summary | |
|
Method Summary | |
void |
|
String |
|
XPathExpression |
|
int |
|
String |
|
Methods inherited from class org.exolab.adaptx.xpath.expressions.FunctionCall | |
getFunctionName , getParameter , getParameterCount |
Methods inherited from class org.exolab.adaptx.xpath.expressions.PrimaryExpr | |
getExprType , getType |
public static final String INVALID_NUMBER_PARAMS
public static final String INVALID_RESULT
public final void addParameter(XPathExpression expr) throws XPathException
Adds the specified Expr to the list
- Parameters:
expr
- the Expr to add to the list
public String getFunctionName()
Returns the name of this function call
- Overrides:
- getFunctionName in interface FunctionCall
- Returns:
- the name of this function call
public final XPathExpression getParameter(int index) throws IndexOutOfBoundsException
Returns the Expr at the specified position in this list.
- Specified by:
- getParameter in interface Parameters
- Overrides:
- getParameter in interface FunctionCall
- Parameters:
index
- the position of the Expr to return
public final int getParameterCount()
Returns the number of expressions in the List
- Specified by:
- getParameterCount in interface Parameters
- Overrides:
- getParameterCount in interface FunctionCall
- Returns:
- the number of expressions in the List
public String toString()
Returns the String representation of this FunctionCall
- Specified by:
- toString in interface XPathExpression
- Returns:
- the String representation of this FunctionCall