|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.ucl.xpath.function.Function
org.ucl.xpath.function.FnStringJoin
Function to join strings together.
Usage: fn:string-join($arg1 as xs:string*, $arg2 as xs:string) as xs:string
This class returns a xs:string created by concatenating the members of the $arg1 sequence using $arg2 as a separator. If the value of $arg2 is the zero-length string, then the members of $arg1 are concatenated without a separator.
If the value of $arg1 is the empty sequence, the zero-length string is returned.
| Field Summary |
| Fields inherited from class org.ucl.xpath.function.Function |
_arity, _fl, _name |
| Constructor Summary | |
FnStringJoin()
Constructor for FnStringJoin |
|
| Method Summary | |
ResultSequence |
evaluate(java.util.Collection args)
Evaluate the arguments. |
static java.util.Collection |
expected_args()
Calculate the expected arguments. |
static ResultSequence |
string_join(java.util.Collection args)
Join 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 FnStringJoin()
| Method Detail |
public ResultSequence evaluate(java.util.Collection args)
throws DynamicError
evaluate in class Functionargs - are evaluated.
DynamicError - Dynamic error.
public static ResultSequence string_join(java.util.Collection args)
throws DynamicError
args - are joined.
DynamicError - Dynamic error.public static java.util.Collection expected_args()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||