net.sf.saxon.expr

Interface MappingExpression

public interface MappingExpression

Interface implemented by an expression that takes a single sequence as input and returns a sequence as output; this method delivers an iterator that maps the input to the output.
Method Summary
SequenceIteratorgetMappingIterator(SequenceIterator base, XPathContext context)
Return an iterator over the results of the expression, given an iterator over the principal operand to the expression

Method Detail

getMappingIterator

public SequenceIterator getMappingIterator(SequenceIterator base, XPathContext context)
Return an iterator over the results of the expression, given an iterator over the principal operand to the expression

Parameters: base an interator over the input to the expression context dynamic evaluation context

Returns: an iterator over the results of the expression

Throws: XPathException