Package org.jaxen.expr
Interface FunctionCallExpr
- All Superinterfaces:
Expr
,Serializable
Represents an XPath function call expression. This is production 16 in the
XPath 1.0 specification:
[16] FunctionCall ::= FunctionName '(' ( Argument ( ',' Argument )* )? ')'
-
Method Summary
Modifier and TypeMethodDescriptionvoid
addParameter
(Expr parameter) Add the next argument to the function.Returns the local name of the function.Returns the the ordered list of function arguments.Returns the namespace prefix of the function.
-
Method Details
-
getPrefix
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
-
getFunctionName
String getFunctionName()Returns the local name of the function.- Returns:
- the local name of the function
-
addParameter
Add the next argument to the function.- Parameters:
parameter
- a function argument
-
getParameters
List getParameters()Returns the the ordered list of function arguments. Each member of the list is anExpr
object.- Returns:
- the ordered list of function arguments
-