com.servingxml.components.flatfile.recordtype
Class FixedRepeatingGroupWriter

java.lang.Object
  extended by com.servingxml.components.flatfile.recordtype.FixedRepeatingGroupWriter
All Implemented Interfaces:
FlatRecordFieldWriter

public class FixedRepeatingGroupWriter
extends java.lang.Object
implements FlatRecordFieldWriter


Constructor Summary
FixedRepeatingGroupWriter(Name fieldName, IntegerSubstitutionExpr startExpr, FlatRecordWriter segmentWriter)
           
 
Method Summary
 void writeEndDelimiterTo(RecordOutput recordOutput)
           
 void writeField(ServiceContext context, Flow flow, Name fieldName, RecordOutput recordOutput)
           
 void writeField(ServiceContext context, Flow flow, RecordOutput recordOutput)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FixedRepeatingGroupWriter

public FixedRepeatingGroupWriter(Name fieldName,
                                 IntegerSubstitutionExpr startExpr,
                                 FlatRecordWriter segmentWriter)
Method Detail

writeField

public void writeField(ServiceContext context,
                       Flow flow,
                       RecordOutput recordOutput)
Specified by:
writeField in interface FlatRecordFieldWriter

writeField

public void writeField(ServiceContext context,
                       Flow flow,
                       Name fieldName,
                       RecordOutput recordOutput)
Specified by:
writeField in interface FlatRecordFieldWriter

writeEndDelimiterTo

public void writeEndDelimiterTo(RecordOutput recordOutput)
Specified by:
writeEndDelimiterTo in interface FlatRecordFieldWriter