Interface GenericElementHtmlHandler
- All Superinterfaces:
GenericElementHandler
- All Known Implementing Classes:
BaseElementHtmlHandler,IconLabelElementHtmlHandler
A generic print element HTML export handler.
- Author:
- Lucian Chirita (lucianc@users.sourceforge.net)
-
Method Summary
Modifier and TypeMethodDescriptiondefault voidexportElement(JRHtmlExporterContext exporterContext, JRGenericPrintElement element, TableCell cell) Exports a generic element.getHtmlFragment(JRHtmlExporterContext exporterContext, JRGenericPrintElement element) Returns an HTML fragment that is to be inserted in the export output.Methods inherited from interface net.sf.jasperreports.engine.export.GenericElementHandler
toExport
-
Method Details
-
getHtmlFragment
Returns an HTML fragment that is to be inserted in the export output.- Parameters:
element- the generic print element- Returns:
- the HTML fragment that represents the exported element
-
exportElement
default void exportElement(JRHtmlExporterContext exporterContext, JRGenericPrintElement element, TableCell cell) Exports a generic element.Access to the exporter output and environment is provided via the
JRHtmlExporterContextargument.- Parameters:
exporterContext- the exporter contextelement- the generic element to export
-