Package net.sf.jasperreports.engine.fill
Class JRFillReportTemplate
java.lang.Object
net.sf.jasperreports.engine.fill.JRFillReportTemplate
- All Implemented Interfaces:
JRReportTemplate
Fill-time
JRReportTemplate implementation.
Used to evaluate template source expressions.- Author:
- Lucian Chirita (lucianc@users.sourceforge.net)
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionJRFillReportTemplate(JRReportTemplate template, JRBaseFiller filler, JRFillObjectFactory factory) -
Method Summary
Modifier and TypeMethodDescriptionevaluate()Returns the template source expression.protected static ReportTemplateSourceloadTemplate(Object source, JRBaseFiller filler, RepositoryContext repositoryContext)
-
Field Details
-
EXCEPTION_MESSAGE_KEY_UNKNOWN_TEMPLATE_SOURCE
- See Also:
-
-
Constructor Details
-
JRFillReportTemplate
public JRFillReportTemplate(JRReportTemplate template, JRBaseFiller filler, JRFillObjectFactory factory)
-
-
Method Details
-
getSourceExpression
Description copied from interface:JRReportTemplateReturns the template source expression. The expression type should be (compatible with) one ofjava.lang.String,java.io.File,java.net.URL,java.io.InputStream(in which cases the template is loaded viaJRXmlTemplateLoader) orJRTemplate.- Specified by:
getSourceExpressionin interfaceJRReportTemplate- Returns:
- the template source expression
-
evaluate
- Throws:
JRException
-
loadTemplate
protected static ReportTemplateSource loadTemplate(Object source, JRBaseFiller filler, RepositoryContext repositoryContext) throws JRException - Throws:
JRException
-