com.servingxml.components.flatfile.recordtype
Class RepeatingSegmentFactory

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

public class RepeatingSegmentFactory
extends java.lang.Object
implements FlatRecordFieldFactory

The RepeatingSegmentFactory is a FlatRecordFieldFactory factory for creating repeating group fields.


Constructor Summary
RepeatingSegmentFactory(Name fieldName, int offset, FlatRecordTypeFactory flatRecordTypeFactory, IntegerSubstitutionExpr countExpr, FlatFileOptionsFactory flatFileOptionsFactory)
           
 
Method Summary
 void appendFlatRecordField(ServiceContext context, Flow flow, FlatFileOptions defaultOptions, java.util.List<FlatRecordField> flatRecordFieldList)
           
 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

RepeatingSegmentFactory

public RepeatingSegmentFactory(Name fieldName,
                               int offset,
                               FlatRecordTypeFactory flatRecordTypeFactory,
                               IntegerSubstitutionExpr countExpr,
                               FlatFileOptionsFactory flatFileOptionsFactory)
Method Detail

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

isBinary

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

isText

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