Interface GenericElementHtmlHandler

All Superinterfaces:
GenericElementHandler
All Known Implementing Classes:
BaseElementHtmlHandler, IconLabelElementHtmlHandler

public interface GenericElementHtmlHandler extends GenericElementHandler
A generic print element HTML export handler.
Author:
Lucian Chirita (lucianc@users.sourceforge.net)
  • Method Details

    • 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 context
      element - the generic element to export