public class JRFillReportTemplate extends Object implements JRReportTemplate
JRReportTemplate implementation.
Used to evaluate template source expressions.| Modifier and Type | Field and Description |
|---|---|
static String |
EXCEPTION_MESSAGE_KEY_UNKNOWN_TEMPLATE_SOURCE |
| Constructor and Description |
|---|
JRFillReportTemplate(JRReportTemplate template,
JRBaseFiller filler,
JRFillObjectFactory factory) |
| Modifier and Type | Method and Description |
|---|---|
JRTemplate |
evaluate() |
JRExpression |
getSourceExpression()
Returns the template source expression.
|
protected static JRTemplate |
loadTemplate(Object source,
JRBaseFiller filler) |
public static final String EXCEPTION_MESSAGE_KEY_UNKNOWN_TEMPLATE_SOURCE
public JRFillReportTemplate(JRReportTemplate template, JRBaseFiller filler, JRFillObjectFactory factory)
public JRExpression getSourceExpression()
JRReportTemplatejava.lang.String,
java.io.File, java.net.URL, java.io.InputStream
(in which cases the template is loaded via JRXmlTemplateLoader) or
JRTemplate .getSourceExpression in interface JRReportTemplatepublic JRTemplate evaluate() throws JRException
JRExceptionprotected static JRTemplate loadTemplate(Object source, JRBaseFiller filler) throws JRException
JRExceptionCopyright © 2017. All rights reserved.