|
BeanIO 2.0.4 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.beanio.internal.compiler.ProcessorSupport
public abstract class ProcessorSupport
A base class for configuration processors. The class provides support for traversing
a tree of stream configuration components and generates a "stack trace" if any overridden
method throws a BeanIOConfigurationException.
| Constructor Summary | |
|---|---|
ProcessorSupport()
Constructs a new ProcessorSupport. |
|
| Method Summary | |
|---|---|
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. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ProcessorSupport()
| Method Detail |
|---|
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 process
BeanIOConfigurationException
protected void finalizeStream(StreamConfig stream)
throws BeanIOConfigurationException
stream - the stream configuration to finalize
BeanIOConfigurationException
protected void initializeGroup(GroupConfig group)
throws BeanIOConfigurationException
group - the group configuration to process
BeanIOConfigurationException
protected void finalizeGroup(GroupConfig group)
throws BeanIOConfigurationException
group - the group configuration to finalize
BeanIOConfigurationException
protected void initializeRecord(RecordConfig record)
throws BeanIOConfigurationException
record - the record configuration to process
BeanIOConfigurationException
protected void finalizeRecord(RecordConfig record)
throws BeanIOConfigurationException
record - the record configuration to process
BeanIOConfigurationException
protected void initializeSegment(SegmentConfig segment)
throws BeanIOConfigurationException
segment - the segment configuration to process
BeanIOConfigurationException
protected void finalizeSegment(SegmentConfig segment)
throws BeanIOConfigurationException
segment - the segment configuration to process
BeanIOConfigurationException
protected void handleField(FieldConfig field)
throws BeanIOConfigurationException
field - the field configuration to process
BeanIOConfigurationException
protected void handleConstant(ConstantConfig constant)
throws BeanIOConfigurationException
constant - the constant configuration to process
BeanIOConfigurationException
|
BeanIO 2.0.4 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||