org.exolab.adaptx.xpath.expressions

Class FunctionCall

Implemented Interfaces:
XPathExpression
Known Direct Subclasses:
FunctionCallImpl

public abstract class FunctionCall
extends PrimaryExpr

A abstract class representing an XPath function call

Version:
$Revision: 1.1 $

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, NUMBER, PATH_EXPR, PRIMARY, STEP, STRING, UNION_EXPR

Constructor Summary

FunctionCall()

Method Summary

String
getFunctionName()
Returns the name of the function
XPathExpression
getParameter(int index)
Returns the XPathExpression at the specified position in this list.
int
getParameterCount()
Returns the number of expressions in the parameter list

Methods inherited from class org.exolab.adaptx.xpath.expressions.PrimaryExpr

getExprType, getType

Constructor Details

FunctionCall

public FunctionCall()

Method Details

getFunctionName

public String getFunctionName()
Returns the name of the function

Returns:
the name of the function


getParameter

public XPathExpression getParameter(int index)
            throws IndexOutOfBoundsException
Returns the XPathExpression at the specified position in this list.

Parameters:
index - the position of the Expr to return


getParameterCount

public int getParameterCount()
Returns the number of expressions in the parameter list

Returns:
the number of expressions in the parameter list