Overview | Package | Class | Deprecated | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## net.sf.saxon.sort
Class TupleSorter.TupleUnwrapper

    java.lang.Object
      net.sf.saxon.sort.TupleSorter.TupleUnwrapper

All Implemented Interfaces:
  MappingFunction

Enclosing class:
  TupleSorter

    public static class TupleSorter.TupleUnwrapper

extends Object
implements MappingFunction

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.

Method Summary
`static TupleSorter.TupleUnwrapper` | `getInstance()`
`SequenceIterator` | `map(Item item)` Map one item to a sequence.

Methods inherited from class java.lang.Object
`equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Method Detail

### getInstance

    public static TupleSorter.TupleUnwrapper getInstance()

### map

    public SequenceIterator map(Item item)
                         throws XPathException

  Description copied from interface: `MappingFunction`
  Map one item to a sequence.

  Specified by:
    `map` in interface `MappingFunction`
  Parameters:
    `item` - The item to be mapped.
  Returns:
    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.
  Throws:
    `XPathException`

Overview | Package | Class | Deprecated | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright (C) Michael H. Kay. All rights reserved.