public interface ContextMappingFunction<T extends Item>
This is a specialization of the more general MappingFunction class: it differs in that each item being processed becomes the context item while it is being processed.
Modifier and Type | Method and Description |
---|---|
SequenceIterator<T> |
map(XPathContext context)
Map one item to a sequence.
|
SequenceIterator<T> map(XPathContext context) throws XPathException
context
- The processing context. The item to be mapped is the context item identified
from this context: the values of position() and last() also relate to the set of items being mappedXPathException
- if a dynamic error is detectedCopyright (c) 2004-2013 Saxonica Limited. All rights reserved.