Package net.sf.jasperreports.engine.part
Interface PartComponentCompiler
-
- All Known Implementing Classes:
SubreportPartComponentCompiler
public interface PartComponentCompilerResponsible with handling a part 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(PartComponent component, JRExpressionCollector collector)Collects report expressions from a component.PartComponenttoCompiledComponent(PartComponent component, JRBaseObjectFactory baseFactory)Provides a "compiled" component instance that will be included in the compiled report.voidverify(PartComponent component, JRVerifier verifier)Logically verifies a component.
-
-
-
Method Detail
-
collectExpressions
void collectExpressions(PartComponent component, JRExpressionCollector collector)
Collects report expressions from a component.- Parameters:
component- the componentcollector- the expression collector
-
verify
void verify(PartComponent 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
PartComponent toCompiledComponent(PartComponent 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
-
-