public static class ForExpression.MappingAction extends java.lang.Object implements MappingFunction<Item<?>,Item<?>>, ItemMappingFunction<Item<?>,Item<?>>
Modifier and Type | Field and Description |
---|---|
protected XPathContext |
context |
Constructor and Description |
---|
MappingAction(XPathContext context,
int slotNumber,
Expression action) |
Modifier and Type | Method and Description |
---|---|
SequenceIterator<?> |
map(Item<?> item)
Map one item to a sequence.
|
Item<?> |
mapItem(Item<?> item)
Map one item to another item.
|
protected XPathContext context
public MappingAction(XPathContext context, int slotNumber, Expression action)
public SequenceIterator<?> map(Item<?> item) throws XPathException
MappingFunction
map
in interface MappingFunction<Item<?>,Item<?>>
item
- The item to be mapped.XPathException
- if a dynamic error occurspublic Item<?> mapItem(Item<?> item) throws XPathException
ItemMappingFunction
mapItem
in interface ItemMappingFunction<Item<?>,Item<?>>
item
- The input item to be mapped.XPathException
- if a dynamic error occursCopyright (c) 2004-2020 Saxonica Limited. All rights reserved.