net.sf.saxon.functions

Class Concat

public class Concat extends SystemFunction

Method Summary
CharSequenceevaluateAsString(XPathContext c)
Evaluate the function in a string context
ItemevaluateItem(XPathContext c)
Evaluate in a general context
protected SequenceTypegetRequiredType(int arg)
Get the required type of the nth argument
voidprocess(XPathContext context)
Process the instruction in push mode.

Method Detail

evaluateAsString

public CharSequence evaluateAsString(XPathContext c)
Evaluate the function in a string context

evaluateItem

public Item evaluateItem(XPathContext c)
Evaluate in a general context

getRequiredType

protected SequenceType getRequiredType(int arg)
Get the required type of the nth argument

process

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

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