com.servingxml.components.flatfile.recordtype
Class AnnotationRecordWriter

java.lang.Object
  extended by com.servingxml.components.flatfile.recordtype.AnnotationRecordWriter
All Implemented Interfaces:
FlatRecordWriter, FlatRecordWriterResolver

public class AnnotationRecordWriter
extends java.lang.Object
implements FlatRecordWriter

The FlatRecordWriter object writes a header or trailer line


Constructor Summary
AnnotationRecordWriter(java.lang.String value)
           
 
Method Summary
 FlatRecordWriter resolveFlatRecordWriter(ServiceContext context, Flow flow)
           
 void writeRecord(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

AnnotationRecordWriter

public AnnotationRecordWriter(java.lang.String value)
Method Detail

writeRecord

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

resolveFlatRecordWriter

public FlatRecordWriter resolveFlatRecordWriter(ServiceContext context,
                                                Flow flow)
Specified by:
resolveFlatRecordWriter in interface FlatRecordWriterResolver