public abstract class ForSequenceMappingAction extends java.lang.Object implements MappingFunction, StatefulMappingFunction
Modifier and Type | Field and Description |
---|---|
protected XPathContext |
context |
protected int |
position |
Constructor and Description |
---|
ForSequenceMappingAction() |
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 SequenceIterator |
map(Item item)
Map one item to a sequence.
|
void |
setContext(XPathContext context) |
protected XPathContext context
protected int position
public void setContext(XPathContext context)
public abstract SequenceIterator map(Item item) throws XPathException
MappingFunction
map
in interface MappingFunction
item
- The item to be mapped.XPathException
- if a dynamic error occurspublic StatefulMappingFunction getAnother()
StatefulMappingFunction
getAnother
in interface StatefulMappingFunction
Copyright (c) 2004-2018 Saxonica Limited. All rights reserved.