net.sf.saxon.expr

Class ForExpression.MappingAction

protected static class ForExpression.MappingAction extends Object implements StatefulMappingFunction

The MappingAction represents the action to be taken for each item in the source sequence. It acts as the MappingFunction for the mapping iterator, and also as the Binding of the position variable (at $n) in XQuery, if used.
Constructor Summary
MappingAction(XPathContext context, int slotNumber, int pslot, Expression action)
Method Summary
StatefulMappingFunctiongetAnother()
SequenceIteratormap(Item item)

Constructor Detail

MappingAction

public MappingAction(XPathContext context, int slotNumber, int pslot, Expression action)

Method Detail

getAnother

public StatefulMappingFunction getAnother()

map

public SequenceIterator map(Item item)