Package org.jaxen.function
Class ConcatFunction
java.lang.Object
org.jaxen.function.ConcatFunction
- All Implemented Interfaces:
Function
4.2
string concat(string,string,string*)
Concatenates its arguments and returns the resulting string.
- Author:
- bob mcwhirter (bob@werken.com)
- See Also:
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
ConcatFunction
public ConcatFunction()Create a newConcatFunction
object.
-
-
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:
call
in 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
String
containing the concatenation of the items ofargs
- Throws:
FunctionCallException
- ifargs
has less than two items
-