org.jaxen.expr

Interface FunctionCallExpr

All Superinterfaces:
Expr, Serializable
Known Implementing Classes:
DefaultFunctionCallExpr

public interface FunctionCallExpr
extends Expr

Represents an XPath function call expression. This is production 16 in the XPath 1.0 specification: <<pre>[16] FunctionCall ::= FunctionName '(' ( Argument ( ',' Argument )* )? ')'

Method Summary

void
addParameter(Expr parameter)
Add the next argument to the function.
String
getFunctionName()
Returns the local name of the function.
List
getParameters()
Returns the the ordered list of function arguments.
String
getPrefix()
Returns the namespace prefix of the function.

Methods inherited from interface org.jaxen.expr.Expr

evaluate, getText, simplify

Method Details

addParameter

public void addParameter(Expr parameter)
Add the next argument to the function.
Parameters:
parameter - a function argument

getFunctionName

public String getFunctionName()
Returns the local name of the function.
Returns:
the local name of the function

getParameters

public List getParameters()
Returns the the ordered list of function arguments. Each member of the list is an Expr object.
Returns:
the ordered list of function arguments

getPrefix

public String getPrefix()
Returns the namespace prefix of the function. This is the empty string for XPath's built-in functions.
Returns:
the namespace prefix of the function