org.jaxen.function
public class ConcatFunction extends Object implements Function
string concat(string,string,string*)
Concatenates its arguments and returns the resulting string.
See Also: Section 4.2 of the XPath Specification
Constructor Summary | |
---|---|
ConcatFunction()
Create a new ConcatFunction object. |
Method Summary | |
---|---|
Object | call(Context context, List args)
Concatenates the arguments and returns the resulting string.
|
static String | evaluate(List list, Navigator nav)
Converts each item in the list to a string and returns the
concatenation of these strings.
|
ConcatFunction
object.string() function.
Parameters: context the context at the point in the
expression when the function is called args the list of strings to be concatenated
Returns: a String
containing the concatenation of the items
of args
Throws: FunctionCallException if args
has less than two items
String
as if by the XPath string()
function.
Parameters: list the items to be concatenated nav ignored
Returns: the concatenation of the arguments