net.sf.jasperreports.engine.component
Interface ComponentCompiler

All Known Implementing Classes:
BarbecueCompiler, BarcodeCompiler, ListComponentCompiler, SpiderChartCompiler, TableCompiler

public interface ComponentCompiler

Responsible with handling a componet during report compile.

Version:
$Id: ComponentCompiler.java 3138 2009-10-22 15:40:22Z lucianc $
Author:
Lucian Chirita ([email protected])

Method Summary
 void collectExpressions(Component component, JRExpressionCollector collector)
          Collects report expressions from a component.
 Component toCompiledComponent(Component component, JRBaseObjectFactory baseFactory)
          Provides a "compiled" component instance that will be included in the compiled report.
 void verify(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 component
collector - the expression collector

verify

void verify(Component component,
            JRVerifier verifier)
Logically verifies a component.

Parameters:
component - the component
verifier - 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 report
baseFactory - the factory of base/compiled report elements
Returns:
a component instance that is to be included in the compiled report


Copyright © 2011. All Rights Reserved.