com.servingxml.components.recordmapping
Class FieldGroupRecognizer

java.lang.Object
  extended by com.servingxml.components.recordmapping.FieldGroupRecognizer
All Implemented Interfaces:
GroupRecognizer

public class FieldGroupRecognizer
extends java.lang.Object
implements GroupRecognizer

Implements a GroupRecognizer.


Constructor Summary
FieldGroupRecognizer(Name recordTypeName, SubstitutionExpr[] fieldNames)
           
 
Method Summary
 boolean endRecognized(ServiceContext context, Flow flow, Record currentRecord, Record nextRecord)
           
 boolean startRecognized(ServiceContext context, Flow flow, Record previousRecord, Record currentRecord)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FieldGroupRecognizer

public FieldGroupRecognizer(Name recordTypeName,
                            SubstitutionExpr[] fieldNames)
Method Detail

startRecognized

public boolean startRecognized(ServiceContext context,
                               Flow flow,
                               Record previousRecord,
                               Record currentRecord)
Specified by:
startRecognized in interface GroupRecognizer

endRecognized

public boolean endRecognized(ServiceContext context,
                             Flow flow,
                             Record currentRecord,
                             Record nextRecord)
Specified by:
endRecognized in interface GroupRecognizer