net.sf.saxon.expr.sort
Class GroupToBeSorted

java.lang.Object
  extended by net.sf.saxon.expr.sort.ObjectToBeSorted<Item>
      extended by net.sf.saxon.expr.sort.GroupToBeSorted

public class GroupToBeSorted
extends ObjectToBeSorted<Item>

This class is a specialization of ObjectToBeSorted for use when the sequence being sorted is a sequence of groups. The group is represented by its initial item, but the object holds in addition the value of the grouping key, and an iterator over the items in the group.


Field Summary
 Value currentGroupingKey
           
 SequenceIterator currentGroupIterator
           
 
Fields inherited from class net.sf.saxon.expr.sort.ObjectToBeSorted
originalPosition, sortKeyValues, value
 
Constructor Summary
GroupToBeSorted(int numberOfSortKeys)
           
 
Method Summary
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

currentGroupingKey

public Value currentGroupingKey

currentGroupIterator

public SequenceIterator currentGroupIterator
Constructor Detail

GroupToBeSorted

public GroupToBeSorted(int numberOfSortKeys)


Copyright (c) 2004-2011 Saxonica Limited. All rights reserved.