net.sf.saxon.sort
Class TupleSorter.TupleUnwrapper
java.lang.Object
net.sf.saxon.sort.TupleSorter.TupleUnwrapper
- TupleSorter
- MappingFunction
public static class TupleSorter.TupleUnwrapper
extends java.lang.Object
Mapping function to map the wrapped objects returned by the SortedTupleIterator
into real items. This is done because each tuple may actually represent a sequence
of underlying values that share the same sort key.
map
public SequenceIterator map(Item item)
throws XPathException
Map one item to a sequence.
- map in interface MappingFunction
item
- The item to be mapped.
- one of the following: (a) a SequenceIterator over the sequence of items that the supplied input
item maps to, or (b) null if it maps to an empty sequence.