com.servingxml.components.flatfile.recordtype
Class AnnotationRecordFactory

java.lang.Object
  extended by com.servingxml.components.flatfile.recordtype.AnnotationRecordFactory
All Implemented Interfaces:
FlatRecordFieldFactory, FlatRecordTypeFactory

public class AnnotationRecordFactory
extends java.lang.Object
implements FlatRecordTypeFactory

The AnnotationRecord object writes a header line


Constructor Summary
AnnotationRecordFactory(java.lang.String value, int width, int recordLength, FlatFileOptionsFactory flatFileOptionsFactory)
           
 
Method Summary
 void appendFlatRecordField(ServiceContext context, Flow flow, FlatFileOptions defaultOptions, java.util.List<FlatRecordField> flatRecordFieldList)
           
 FlatRecordType createFlatRecordType(ServiceContext context, Flow flow, FlatFileOptions defaultOptions)
           
 boolean isBinary()
           
 boolean isFieldDelimited()
           
 boolean isText()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AnnotationRecordFactory

public AnnotationRecordFactory(java.lang.String value,
                               int width,
                               int recordLength,
                               FlatFileOptionsFactory flatFileOptionsFactory)
Method Detail

createFlatRecordType

public FlatRecordType createFlatRecordType(ServiceContext context,
                                           Flow flow,
                                           FlatFileOptions defaultOptions)
Specified by:
createFlatRecordType in interface FlatRecordTypeFactory

appendFlatRecordField

public void appendFlatRecordField(ServiceContext context,
                                  Flow flow,
                                  FlatFileOptions defaultOptions,
                                  java.util.List<FlatRecordField> flatRecordFieldList)
Specified by:
appendFlatRecordField in interface FlatRecordFieldFactory

isFieldDelimited

public boolean isFieldDelimited()
Specified by:
isFieldDelimited in interface FlatRecordFieldFactory
Specified by:
isFieldDelimited in interface FlatRecordTypeFactory

isBinary

public boolean isBinary()
Specified by:
isBinary in interface FlatRecordFieldFactory
Specified by:
isBinary in interface FlatRecordTypeFactory

isText

public boolean isText()
Specified by:
isText in interface FlatRecordFieldFactory
Specified by:
isText in interface FlatRecordTypeFactory