Package net.sf.jasperreports.engine.xml
Class JacksonReportLoader
- java.lang.Object
-
- net.sf.jasperreports.engine.xml.JacksonReportLoader
-
- All Implemented Interfaces:
ReportLoader
public class JacksonReportLoader extends Object implements ReportLoader
- Author:
- Lucian Chirita (lucianc@users.sourceforge.net)
-
-
Constructor Summary
Constructors Constructor Description JacksonReportLoader()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description protected boolean
detectReportXML(byte[] data)
protected boolean
detectRootElement(byte[] data, String elementName)
static JacksonReportLoader
instance()
JasperDesign
loadReport(JasperReportsContext context, byte[] data)
JRTemplate
loadTemplate(JasperReportsContext context, byte[] data)
-
-
-
Method Detail
-
instance
public static JacksonReportLoader instance()
-
loadReport
public JasperDesign loadReport(JasperReportsContext context, byte[] data) throws JRException
- Specified by:
loadReport
in interfaceReportLoader
- Throws:
JRException
-
detectReportXML
protected boolean detectReportXML(byte[] data)
-
loadTemplate
public JRTemplate loadTemplate(JasperReportsContext context, byte[] data)
- Specified by:
loadTemplate
in interfaceReportLoader
-
detectRootElement
protected boolean detectRootElement(byte[] data, String elementName)
-
-