org.jaxen.expr
Interface FunctionCallExpr
- Expr, Serializable
- DefaultFunctionCallExpr
public interface FunctionCallExpr
Represents an XPath function call expression. This is production 16 in the
XPath 1.0 specification:
<<pre>[16] FunctionCall ::= FunctionName '(' ( Argument ( ',' Argument )* )? ')'
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.
|
addParameter
public void addParameter(Expr parameter)
Add the next argument to the function.
parameter
- a function argument
getFunctionName
public String getFunctionName()
Returns the local name of the function.
- 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.
- 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.
- the namespace prefix of the function