com.servingxml.components.flatfile.recordtype
Class AnnotationRecord

java.lang.Object
  extended by com.servingxml.components.flatfile.recordtype.AnnotationRecord
All Implemented Interfaces:
FlatRecordType

public class AnnotationRecord
extends java.lang.Object
implements FlatRecordType

The AnnotationRecord object writes a header line


Field Summary
 
Fields inherited from interface com.servingxml.components.flatfile.recordtype.FlatRecordType
EMPTY
 
Constructor Summary
AnnotationRecord(java.lang.String value, int width, int recordLength)
           
 
Method Summary
 FlatRecordReader createFlatRecordReader()
           
 FlatRecordWriter createFlatRecordWriter()
           
 void exportLine(java.lang.StringBuilder buf)
           
 Record getDefaultRecord(ServiceContext context, Flow flow)
           
 Name getName()
           
 boolean isBinary()
           
 boolean isFixedLength()
           
 boolean isText()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AnnotationRecord

public AnnotationRecord(java.lang.String value,
                        int width,
                        int recordLength)
Method Detail

exportLine

public void exportLine(java.lang.StringBuilder buf)

getDefaultRecord

public Record getDefaultRecord(ServiceContext context,
                               Flow flow)
Specified by:
getDefaultRecord in interface FlatRecordType

getName

public Name getName()

createFlatRecordReader

public FlatRecordReader createFlatRecordReader()
Specified by:
createFlatRecordReader in interface FlatRecordType

createFlatRecordWriter

public FlatRecordWriter createFlatRecordWriter()
Specified by:
createFlatRecordWriter in interface FlatRecordType

isText

public boolean isText()
Specified by:
isText in interface FlatRecordType

isBinary

public boolean isBinary()
Specified by:
isBinary in interface FlatRecordType

isFixedLength

public boolean isFixedLength()
Specified by:
isFixedLength in interface FlatRecordType