net.sf.saxon.functions

Class StringJoin

public class StringJoin extends SystemFunction

xf:string-join(string* $sequence, string $separator)
Method Summary
ItemevaluateItem(XPathContext c)
Expressionoptimize(ExpressionVisitor visitor, ItemType contextItemType)
voidprocess(XPathContext context)
Process the instruction in push mode.

Method Detail

evaluateItem

public Item evaluateItem(XPathContext c)

optimize

public Expression optimize(ExpressionVisitor visitor, ItemType contextItemType)

process

public void process(XPathContext context)
Process the instruction in push mode. This avoids constructing the concatenated string in memory, instead its parts can be sent straight to the serializer.

Parameters: context The dynamic context, giving access to the current node, the current variables, etc.