Class SubreportPartComponentCompiler
- java.lang.Object
-
- net.sf.jasperreports.parts.subreport.SubreportPartComponentCompiler
-
- All Implemented Interfaces:
PartComponentCompiler
public class SubreportPartComponentCompiler extends Object implements PartComponentCompiler
Compile-time handler oflist component
instances.- Author:
- Lucian Chirita (lucianc@users.sourceforge.net)
-
-
Constructor Summary
Constructors Constructor Description SubreportPartComponentCompiler()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
collectExpressions(PartComponent component, JRExpressionCollector collector)
Collects report expressions from a component.PartComponent
toCompiledComponent(PartComponent component, JRBaseObjectFactory baseFactory)
Provides a "compiled" component instance that will be included in the compiled report.void
verify(PartComponent component, JRVerifier verifier)
Logically verifies a component.
-
-
-
Method Detail
-
collectExpressions
public void collectExpressions(PartComponent component, JRExpressionCollector collector)
Description copied from interface:PartComponentCompiler
Collects report expressions from a component.- Specified by:
collectExpressions
in interfacePartComponentCompiler
- Parameters:
component
- the componentcollector
- the expression collector
-
toCompiledComponent
public PartComponent toCompiledComponent(PartComponent component, JRBaseObjectFactory baseFactory)
Description copied from interface:PartComponentCompiler
Provides a "compiled" component instance that will be included in the compiled report.- Specified by:
toCompiledComponent
in interfacePartComponentCompiler
- 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
-
verify
public void verify(PartComponent component, JRVerifier verifier)
Description copied from interface:PartComponentCompiler
Logically verifies a component.- Specified by:
verify
in interfacePartComponentCompiler
- Parameters:
component
- the componentverifier
- the verifier object, which can be used to raise validation errors- See Also:
JRVerifier.getCurrentComponentElement()
-
-