com.servingxml.components.flatfile.recordtype
Class DelimitedRepeatingSegmentWriter

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

public class DelimitedRepeatingSegmentWriter
extends java.lang.Object
implements FlatRecordFieldWriter


Constructor Summary
DelimitedRepeatingSegmentWriter(Name fieldName, int startPosition)
           
 
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

DelimitedRepeatingSegmentWriter

public DelimitedRepeatingSegmentWriter(Name fieldName,
                                       int startPosition)
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