Interface ComponentCompiler
-
- All Known Implementing Classes:
BarbecueCompiler,BarcodeCompiler,IconLabelComponentCompiler,ListComponentCompiler,MapCompiler,SortComponentCompiler,SpiderChartCompiler,TableCompiler
public interface ComponentCompilerResponsible with handling a componet during report compile.- Author:
- Lucian Chirita (lucianc@users.sourceforge.net)
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidcollectExpressions(Component component, JRExpressionCollector collector)Collects report expressions from a component.ComponenttoCompiledComponent(Component component, JRBaseObjectFactory baseFactory)Provides a "compiled" component instance that will be included in the compiled report.voidverify(Component component, JRVerifier verifier)Logically verifies a component.
-
-
-
Method Detail
-
collectExpressions
void collectExpressions(Component component, JRExpressionCollector collector)
Collects report expressions from a component.- Parameters:
component- the componentcollector- the expression collector
-
verify
void verify(Component component, JRVerifier verifier)
Logically verifies a component.- Parameters:
component- the componentverifier- the verifier object, which can be used to raise validation errors- See Also:
JRVerifier.getCurrentComponentElement()
-
toCompiledComponent
Component toCompiledComponent(Component component, JRBaseObjectFactory baseFactory)
Provides a "compiled" component instance that will be included in the compiled report.- Parameters:
component- the component from the design reportbaseFactory- the factory of base/compiled report elements- Returns:
- a component instance that is to be included in the compiled report
-
-