|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object net.sf.saxon.expr.ForExpression.MappingAction
protected static class ForExpression.MappingAction
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 | |
---|---|
ForExpression.MappingAction(XPathContext context,
int slotNumber,
int pslot,
Expression action)
|
Method Summary | |
---|---|
StatefulMappingFunction |
getAnother()
Return a clone of this MappingFunction, with the state reset to its state at the beginning of the underlying iteration |
SequenceIterator |
map(Item item)
Map one item to a sequence. |
Item |
mapItem(Item item)
Map one item to another item. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ForExpression.MappingAction(XPathContext context, int slotNumber, int pslot, Expression action)
Method Detail |
---|
public SequenceIterator map(Item item) throws XPathException
MappingFunction
map
in interface MappingFunction
item
- The item to be mapped.
XPathException
public Item mapItem(Item item) throws XPathException
ItemMappingFunction
mapItem
in interface ItemMappingFunction
item
- The input item to be mapped.
XPathException
public StatefulMappingFunction getAnother()
StatefulMappingFunction
getAnother
in interface StatefulMappingFunction
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |