public static class ForExpression.MappingAction extends Object implements MappingFunction, ItemMappingFunction, StatefulMappingFunction
| Modifier and Type | Field and Description |
|---|---|
protected XPathContext |
context |
| Constructor and Description |
|---|
ForExpression.MappingAction() |
ForExpression.MappingAction(XPathContext context,
int slotNumber,
int pslot,
Expression action) |
| Modifier and Type | Method and Description |
|---|---|
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.
|
protected XPathContext context
public ForExpression.MappingAction()
public ForExpression.MappingAction(XPathContext context, int slotNumber, int pslot, Expression action)
public SequenceIterator map(Item item) throws XPathException
MappingFunctionmap in interface MappingFunctionitem - The item to be mapped.XPathException - if a dynamic error occurspublic Item mapItem(Item item) throws XPathException
ItemMappingFunctionmapItem in interface ItemMappingFunctionitem - The input item to be mapped.XPathException - if a dynamic error occurspublic StatefulMappingFunction getAnother()
StatefulMappingFunctiongetAnother in interface StatefulMappingFunctionCopyright (c) 2004-2013 Saxonica Limited. All rights reserved.