org.exolab.adaptx.xpath.expressions
Class FunctionCall

java.lang.Object
  extended by org.exolab.adaptx.xpath.expressions.PrimaryExpr
      extended by org.exolab.adaptx.xpath.expressions.FunctionCall
All Implemented Interfaces:
XPathExpression
Direct Known 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, PATH_EXPR, PRIMARY, STEP, STRING, UNION_EXPR
 
Constructor Summary
FunctionCall()
           
 
Method Summary
abstract  java.lang.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
 
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 Detail

FunctionCall

public FunctionCall()
Method Detail

getFunctionName

public abstract java.lang.String getFunctionName()
Returns the name of the function

Returns:
the name of the function

getParameter

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

Parameters:
index - the position of the Expr to return
Throws:
java.lang.IndexOutOfBoundsException

getParameterCount

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

Returns:
the number of expressions in the parameter list