public abstract class ForItemMappingAction extends Object implements ItemMappingFunction, StatefulMappingFunction
| Modifier and Type | Field and Description |
|---|---|
protected XPathContext |
context |
protected int |
position |
| Constructor and Description |
|---|
ForItemMappingAction() |
| 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
|
abstract Item |
mapItem(Item item)
Map one item to another item.
|
void |
setContext(XPathContext context) |
protected XPathContext context
protected int position
public void setContext(XPathContext context)
public abstract 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.