Package net.sf.saxon.expr.sort
Class MergeInstr.MergeKeyMappingFunction
java.lang.Object
net.sf.saxon.expr.sort.MergeInstr.MergeKeyMappingFunction
- All Implemented Interfaces:
ContextMappingFunction
- Enclosing class:
MergeInstr
public static class MergeInstr.MergeKeyMappingFunction
extends Object
implements ContextMappingFunction
Mapping function for items encountered during the merge; the mapping function wraps the merged
item and its merge keys into a single composite object
-
Constructor Summary
ConstructorsConstructorDescriptionMergeKeyMappingFunction
(XPathContext baseContext, MergeInstr.MergeSource ms) -
Method Summary
-
Constructor Details
-
MergeKeyMappingFunction
-
-
Method Details
-
map
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
-