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

Constructor Summary

FunctionCall()

Method Summary

abstract String
getFunctionName()
Returns the name of the function
abstract XPathExpression
getParameter(int index)
Returns the XPathExpression at the specified position in this list.
abstract 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 abstract String getFunctionName()
Returns the name of the function
Returns:
the name of the function

getParameter

public abstract 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 abstract int getParameterCount()
Returns the number of expressions in the parameter list
Returns:
the number of expressions in the parameter list