com.servingxml.components.recordmapping
Class SortGroup

java.lang.Object
  extended by com.servingxml.components.recordmapping.SortGroup
All Implemented Interfaces:
MapXml

public class SortGroup
extends java.lang.Object
implements MapXml

Implements a factory class for creating OnGroupToXmlHandler instances.


Constructor Summary
SortGroup(MapXml child, java.util.Comparator comparator)
           
 
Method Summary
 void addToAttributes(ServiceContext context, Flow flow, Record variables, org.xml.sax.helpers.AttributesImpl attributes)
           
 void groupStarted(ServiceContext context, Flow flow, Record previousRecord, Record nextRecord, ExtendedContentHandler handler, Record variables)
           
 void groupStopped(ServiceContext context, Flow flow, ExtendedContentHandler handler)
           
 boolean isGrouping()
           
 void writeRecord(ServiceContext context, Flow flow, Record previousRecord, Record nextRecord, ExtendedContentHandler handler, GroupState groupListener)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SortGroup

public SortGroup(MapXml child,
                 java.util.Comparator comparator)
Method Detail

writeRecord

public void writeRecord(ServiceContext context,
                        Flow flow,
                        Record previousRecord,
                        Record nextRecord,
                        ExtendedContentHandler handler,
                        GroupState groupListener)
Specified by:
writeRecord in interface MapXml

groupStarted

public void groupStarted(ServiceContext context,
                         Flow flow,
                         Record previousRecord,
                         Record nextRecord,
                         ExtendedContentHandler handler,
                         Record variables)
Specified by:
groupStarted in interface MapXml

groupStopped

public void groupStopped(ServiceContext context,
                         Flow flow,
                         ExtendedContentHandler handler)
Specified by:
groupStopped in interface MapXml

addToAttributes

public void addToAttributes(ServiceContext context,
                            Flow flow,
                            Record variables,
                            org.xml.sax.helpers.AttributesImpl attributes)
Specified by:
addToAttributes in interface MapXml

isGrouping

public boolean isGrouping()
Specified by:
isGrouping in interface MapXml