Class MapElementOdtHandler
- java.lang.Object
-
- net.sf.jasperreports.components.map.MapElementOdtHandler
-
- All Implemented Interfaces:
GenericElementHandler
,GenericElementOdtHandler
public class MapElementOdtHandler extends Object implements GenericElementOdtHandler
- Author:
- Sanda Zaharia (shertage@users.sourceforge.net)
-
-
Constructor Summary
Constructors Constructor Description MapElementOdtHandler()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description void
exportElement(JROdtExporterContext exporterContext, JRGenericPrintElement element, JRExporterGridCell gridCell)
Exports a generic element.static MapElementOdtHandler
getInstance()
boolean
toExport(JRGenericPrintElement element)
Decides whether a generic print element is to be exported.
-
-
-
Method Detail
-
getInstance
public static MapElementOdtHandler getInstance()
-
exportElement
public void exportElement(JROdtExporterContext exporterContext, JRGenericPrintElement element, JRExporterGridCell gridCell)
Description copied from interface:GenericElementOdtHandler
Exports a generic element.Access to the exporter output and environment is provided via the
JROdtExporterContext
argument.- Specified by:
exportElement
in interfaceGenericElementOdtHandler
- Parameters:
exporterContext
- the exporter contextelement
- the generic element to export
-
toExport
public boolean toExport(JRGenericPrintElement element)
Description copied from interface:GenericElementHandler
Decides whether a generic print element is to be exported.- Specified by:
toExport
in interfaceGenericElementHandler
- Parameters:
element
- the element- Returns:
- whether the element is to be exported or skipped
-
-