Interface GenericElementHtmlHandler
-
- All Superinterfaces:
GenericElementHandler
- All Known Implementing Classes:
BaseElementHtmlHandler
,IconLabelElementHtmlHandler
,MapElementHtmlHandler
,SortElementHtmlHandler
public interface GenericElementHtmlHandler extends GenericElementHandler
A generic print element HTML export handler.- Author:
- Lucian Chirita (lucianc@users.sourceforge.net)
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default void
exportElement(JRHtmlExporterContext exporterContext, JRGenericPrintElement element, TableCell cell)
Exports a generic element.String
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 Detail
-
getHtmlFragment
String getHtmlFragment(JRHtmlExporterContext exporterContext, JRGenericPrintElement element)
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
JRHtmlExporterContext
argument.- Parameters:
exporterContext
- the exporter contextelement
- the generic element to export
-
-