com.servingxml.components.recordmapping
Class GroupBy

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

public class GroupBy
extends java.lang.Object
implements MapXml

Implements a factory class for creating OnGroupToXmlHandler instances.


Constructor Summary
GroupBy(Environment env, GroupRecognizer groupRecognizer, MapXml child)
           
 
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

GroupBy

public GroupBy(Environment env,
               GroupRecognizer groupRecognizer,
               MapXml child)
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