public abstract class ProcessorSupport extends Object
BeanIOConfigurationException
.Constructor and Description |
---|
ProcessorSupport()
Constructs a new ProcessorSupport.
|
Modifier and Type | Method and Description |
---|---|
protected void |
finalizeGroup(GroupConfig group)
Finalizes a group configuration after its children have been processed.
|
protected void |
finalizeRecord(RecordConfig record)
Finalizes a record configuration after its children have been processed.
|
protected void |
finalizeSegment(SegmentConfig segment)
Finalizes a segment configuration after its children have been processed.
|
protected void |
finalizeStream(StreamConfig stream)
Finalizes a stream configuration after its children have been processed.
|
protected ComponentConfig |
getParent()
Returns the parent component for the component being processed.
|
protected void |
handleComponent(ComponentConfig component)
Recursively preprocesses a component and its descendants.
|
protected void |
handleConstant(ConstantConfig constant)
Processes a constant configuration.
|
protected void |
handleField(FieldConfig field)
Processes a field configuration.
|
protected void |
initializeGroup(GroupConfig group)
Initializes a group configuration before its children have been processed.
|
protected void |
initializeRecord(RecordConfig record)
Initializes a record configuration before its children have been processed.
|
protected void |
initializeSegment(SegmentConfig segment)
Initializes a segment configuration before its children have been processed.
|
protected void |
initializeStream(StreamConfig stream)
Initializes a stream configuration before its children have been processed.
|
protected void |
process(StreamConfig stream)
Processes a stream configuration.
|
protected void process(StreamConfig stream) throws BeanIOConfigurationException
BeanIOConfigurationException
- if the configuration is invalidprotected void handleComponent(ComponentConfig component)
component
- the component to preprocessprotected ComponentConfig getParent()
protected void initializeStream(StreamConfig stream) throws BeanIOConfigurationException
stream
- the stream configuration to processBeanIOConfigurationException
protected void finalizeStream(StreamConfig stream) throws BeanIOConfigurationException
stream
- the stream configuration to finalizeBeanIOConfigurationException
protected void initializeGroup(GroupConfig group) throws BeanIOConfigurationException
group
- the group configuration to processBeanIOConfigurationException
protected void finalizeGroup(GroupConfig group) throws BeanIOConfigurationException
group
- the group configuration to finalizeBeanIOConfigurationException
protected void initializeRecord(RecordConfig record) throws BeanIOConfigurationException
record
- the record configuration to processBeanIOConfigurationException
protected void finalizeRecord(RecordConfig record) throws BeanIOConfigurationException
record
- the record configuration to processBeanIOConfigurationException
protected void initializeSegment(SegmentConfig segment) throws BeanIOConfigurationException
segment
- the segment configuration to processBeanIOConfigurationException
protected void finalizeSegment(SegmentConfig segment) throws BeanIOConfigurationException
segment
- the segment configuration to processBeanIOConfigurationException
protected void handleField(FieldConfig field) throws BeanIOConfigurationException
field
- the field configuration to processBeanIOConfigurationException
protected void handleConstant(ConstantConfig constant) throws BeanIOConfigurationException
constant
- the constant configuration to processBeanIOConfigurationException