Class ConcatFunction
java.lang.Object
org.jaxen.function.ConcatFunction
- All Implemented Interfaces:
Function
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
ConcatFunction
public ConcatFunction()Create a newConcatFunctionobject.
-
-
Method Details
-
call
Concatenates the arguments and returns the resulting string. Non-string items are first converted to strings as if by the XPathstring()function.- Specified by:
callin interfaceFunction- Parameters:
context- the context at the point in the expression when the function is calledargs- the list of strings to be concatenated- Returns:
- a
Stringcontaining the concatenation of the items ofargs - Throws:
FunctionCallException- ifargshas less than two items
-