Class MapCompiler
- java.lang.Object
-
- net.sf.jasperreports.components.map.MapCompiler
-
- All Implemented Interfaces:
ComponentCompiler
public class MapCompiler extends Object implements ComponentCompiler
- Author:
- Teodor Danciu (teodord@users.sourceforge.net)
-
-
Constructor Summary
Constructors Constructor Description MapCompiler()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voidcollectExpressions(Item item, JRExpressionCollector collector)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
public void collectExpressions(Component component, JRExpressionCollector collector)
Description copied from interface:ComponentCompilerCollects report expressions from a component.- Specified by:
collectExpressionsin interfaceComponentCompiler- Parameters:
component- the componentcollector- the expression collector
-
collectExpressions
protected void collectExpressions(Item item, JRExpressionCollector collector)
-
toCompiledComponent
public Component toCompiledComponent(Component component, JRBaseObjectFactory baseFactory)
Description copied from interface:ComponentCompilerProvides a "compiled" component instance that will be included in the compiled report.- Specified by:
toCompiledComponentin interfaceComponentCompiler- 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(Component component, JRVerifier verifier)
Description copied from interface:ComponentCompilerLogically verifies a component.- Specified by:
verifyin interfaceComponentCompiler- Parameters:
component- the componentverifier- the verifier object, which can be used to raise validation errors- See Also:
JRVerifier.getCurrentComponentElement()
-
-