net.sf.saxon.functions
public class StringFn extends SystemFunction implements DivisibleInstruction
Method Summary | |
---|---|
PathMap.PathMapNodeSet | addDocToPathMap(PathMap pathMap, PathMap.PathMapNodeSet pathMapNodes)
Add a representation of a doc() call or similar function to a PathMap.
|
Item | evaluateItem(XPathContext c)
Evaluate the function |
void | processLeft(Stack<XPathContext> contextStack, Stack state)
In streaming mode, process the first half of the instruction (for example, to start a new document or element) |
void | processRight(Stack<XPathContext> contextStack, Stack state)
In streaming mode, process the right half of the instruction (for example, to end a new document or element)
Note that unlike other divisible instructions this one doesn't push the result to the current output
destination, it leaves a sequenceIterator over the result on the stack. |
Expression | simplify(ExpressionVisitor visitor)
Simplify and validate.
|
Parameters: pathMap the PathMap to which the expression should be added pathMapNodes the node in the PathMap representing the focus at the point where this expression is called. Set to null if this expression appears at the top level.
Returns: the pathMapNode representing the focus established by this expression, in the case where this expression is the first operand of a path expression or filter expression
Parameters: contextStack state a stack on which the instruction can save state information during the call on processLeft()
Parameters: contextStack state a stack on which the instruction can save state information during the call on processLeft()
Parameters: visitor an expression visitor