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 Details

  • Method Details

    • map

      public SequenceIterator map(XPathContext context) throws XPathException
      Description copied from interface: ContextMappingFunction
      Map one item to a sequence.
      Specified by:
      map in interface ContextMappingFunction
      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