Package org.idempiere.print.renderer
Class XMLReportRenderer
java.lang.Object
org.idempiere.print.renderer.XMLReportRenderer
- All Implemented Interfaces:
IReportRenderer<XMLReportRendererConfiguration>
public class XMLReportRenderer
extends Object
implements IReportRenderer<XMLReportRendererConfiguration>
XML content rendering service for report engine
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
createXML
(ReportEngine reportEngine, Writer writer) Write XML content to writerGet 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, XMLReportRendererConfiguration configuration) Render content for report engine
-
Constructor Details
-
XMLReportRenderer
public XMLReportRenderer()
-
-
Method Details
-
getId
Description copied from interface:IReportRenderer
Get id of renderer- Specified by:
getId
in interfaceIReportRenderer<XMLReportRendererConfiguration>
- Returns:
- renderer id (HTML, XLS, etc)
-
getName
Description copied from interface:IReportRenderer
Get renderer name- Specified by:
getName
in interfaceIReportRenderer<XMLReportRendererConfiguration>
- Returns:
- renderer name
-
getContentType
Description copied from interface:IReportRenderer
Get MIME content type (text/html, etc)- Specified by:
getContentType
in interfaceIReportRenderer<XMLReportRendererConfiguration>
- Returns:
- MIME content type
-
getFileExtension
Description copied from interface:IReportRenderer
Get file extension (without dot)- Specified by:
getFileExtension
in interfaceIReportRenderer<XMLReportRendererConfiguration>
- Returns:
- file extension
-
renderReport
Description copied from interface:IReportRenderer
Render content for report engine- Specified by:
renderReport
in interfaceIReportRenderer<XMLReportRendererConfiguration>
-
isBinary
public boolean isBinary()Description copied from interface:IReportRenderer
Is binary content- Specified by:
isBinary
in interfaceIReportRenderer<XMLReportRendererConfiguration>
- Returns:
- true if content is binary
-
createXML
Write XML content to writer- Parameters:
reportEngine
-writer
- writer
-
getConfigurationType
Description copied from interface:IReportRenderer
Get configuration type- Specified by:
getConfigurationType
in interfaceIReportRenderer<XMLReportRendererConfiguration>
- Returns:
- configuration type
-