|
BeanIO 1.2.3 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.beanio.config.StreamDefinitionFactory org.beanio.config.flat.FlatStreamDefinitionFactory
public abstract class FlatStreamDefinitionFactory
Base class for stream definition factories for flat formatted streams (i.e. delimited or fixed length).
Constructor Summary | |
---|---|
FlatStreamDefinitionFactory()
|
Method Summary | |
---|---|
protected abstract void |
assignDefaultFieldPositions(RecordConfig recordConfig,
FlatRecordDefinition recordDefinition)
Assigns a default position to all record fields. |
protected void |
compileFieldDefinitions(RecordConfig recordConfig,
RecordDefinition recordDefinition)
Compiles child property definitions for a record. |
protected void |
validateCollections(BeanDefinition beanDefinition,
boolean isCollection)
Validates there are no field gaps in any descendant of a collection. |
protected boolean |
validateOccurrences(BeanDefinition beanDefinition)
Recursively checks bean definitions to validate that any variable occurrence is at the end of the record. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public FlatStreamDefinitionFactory()
Method Detail |
---|
protected void compileFieldDefinitions(RecordConfig recordConfig, RecordDefinition recordDefinition)
StreamDefinitionFactory
compileFieldDefinitions
in class StreamDefinitionFactory
recordConfig
- the record configurationrecordDefinition
- the record definition to updateprotected abstract void assignDefaultFieldPositions(RecordConfig recordConfig, FlatRecordDefinition recordDefinition)
recordConfig
- the record configurationrecordDefinition
- the record definitionprotected void validateCollections(BeanDefinition beanDefinition, boolean isCollection)
beanDefinition
- the bean definition to validateisCollection
- true if any ancestor of beanDefinition is a collectionprotected boolean validateOccurrences(BeanDefinition beanDefinition)
beanDefinition
- the bean definition to check recursively
|
BeanIO 1.2.3 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |