Package com.saxonica.ee.bytecode.map
Class CompiledContextMappingFunction
- java.lang.Object
-
- com.saxonica.ee.bytecode.map.CompiledContextMappingFunction
-
- All Implemented Interfaces:
ContextMappingFunction
public abstract class CompiledContextMappingFunction extends java.lang.Object implements ContextMappingFunction
Abstract ContextMappingFunction class that must be passed to a ContextMappingIterator. 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.
-
-
Constructor Summary
Constructors Constructor Description CompiledContextMappingFunction()
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description abstract SequenceIterator
map(XPathContext context)
Map one item to a sequence.
-
-
-
Method Detail
-
map
public abstract SequenceIterator map(XPathContext context) throws XPathException
Description copied from interface:ContextMappingFunction
Map one item to a sequence.- Specified by:
map
in interfaceContextMappingFunction
- Parameters:
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 mapped- Returns:
- a SequenceIterator over the sequence of items that the supplied input item maps to
- Throws:
XPathException
- if a dynamic error is detected
-
-