|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.ucl.xpath.function.Function org.ucl.xpath.function.FnConcat
Sequence concatenation function.
Usage: fn:concat($arg1 as xdt:anyAtomicType?, $arg2 as xdt:anyAtomicType?, ... ) as xs:string
This class accepts two or more xdt:anyAtomicType arguments and converts them to xs:string. It then returns the xs:string that is the concatenation of the values of its arguments after conversion. If any of the arguments is the empty sequence, the argument is treated as the zero-length string.
The concat() function is specified to allow an arbitrary number of arguments that are concatenated together.
Field Summary |
Fields inherited from class org.ucl.xpath.function.Function |
_arity, _fl, _name |
Constructor Summary | |
FnConcat()
Constructor for FnConcat. |
Method Summary | |
static ResultSequence |
concat(java.util.Collection args)
Concatenate the arguments. |
ResultSequence |
evaluate(java.util.Collection args)
Evaluate the arguments. |
Methods inherited from class org.ucl.xpath.function.Function |
arity, convert_argument, convert_arguments, dynamic_context, name, set_function_library, signature, signature, signature, static_context |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public FnConcat()
Method Detail |
public ResultSequence evaluate(java.util.Collection args) throws DynamicError
evaluate
in class Function
args
- is evaluated.
DynamicError
- Dynamic error.public static ResultSequence concat(java.util.Collection args) throws DynamicError
args
- are concatenated.
DynamicError
- Dynamic error.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |