net.sf.saxon.expr
Interface MappingExpression

All Known Implementing Classes:
AtomicSequenceConverter, CardinalityChecker, InstanceOfExpression, ItemChecker, UntypedAtomicConverter

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
 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
 

Method Detail

getMappingIterator

SequenceIterator getMappingIterator(SequenceIterator base,
                                    XPathContext context)
                                    throws XPathException
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


Copyright (c) Saxonica Limited. All rights reserved.