|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jaxen.function.ConcatFunction
4.2 string concat(string,string,string*)
Concatenates its arguments and returns the resulting string.
Constructor Summary | |
ConcatFunction()
Create a new ConcatFunction object. |
Method Summary | |
java.lang.Object |
call(Context context,
java.util.List args)
Concatenates the arguments and returns the resulting string. |
static java.lang.String |
evaluate(java.util.List list,
Navigator nav)
Converts each item in the list to a string and returns the concatenation of these strings. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public ConcatFunction()
ConcatFunction
object.
Method Detail |
public java.lang.Object call(Context context, java.util.List args) throws FunctionCallException
string() function.
- Specified by:
call
in interface Function
- 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
of args
- Throws:
FunctionCallException
- if args
has less than two items
public static java.lang.String evaluate(java.util.List list, Navigator nav)
String
as if by the XPath string()
function.
list
- the items to be concatenatednav
- ignored
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |