Package org.idempiere.print.renderer
Interface IReportRenderer<T extends IReportRendererConfiguration>
- Type Parameters:
T
- Renderer configuration type
- All Known Implementing Classes:
CSVReportRenderer
,DelimitedReportRenderer
,HTMLReportRenderer
,PDFReportRenderer
,PSReportRenderer
,SSVReportRenderer
,TabDelimitedReportRenderer
,XLSReportRenderer
,XLSXReportRenderer
,XMLReportRenderer
public interface IReportRenderer<T extends IReportRendererConfiguration>
Content rendering service for report engine.
Implementation must be thread safe.
Implementation must be thread safe.
-
Method Summary
Modifier and TypeMethodDescriptionGet configuration typeGet MIME content type (text/html, etc)Get file extension (without dot)getId()
Get id of renderergetName()
Get renderer nameboolean
isBinary()
Is binary contentvoid
renderReport
(ReportEngine reportEngine, T configuration) Render content for report engine
-
Method Details
-
getId
String getId()Get id of renderer- Returns:
- renderer id (HTML, XLS, etc)
-
getName
String getName()Get renderer name- Returns:
- renderer name
-
getContentType
String getContentType()Get MIME content type (text/html, etc)- Returns:
- MIME content type
-
getFileExtension
String getFileExtension()Get file extension (without dot)- Returns:
- file extension
-
renderReport
Render content for report engine- Parameters:
reportEngine
-configuration
-
-
isBinary
boolean isBinary()Is binary content- Returns:
- true if content is binary
-
getConfigurationType
Get configuration type- Returns:
- configuration type
-