Package net.sf.jasperreports.engine
Interface JRReportTemplate
-
- All Known Implementing Classes:
JRBaseReportTemplate,JRDesignReportTemplate,JRFillReportTemplate
public interface JRReportTemplateA template included in a report. A template inclusion in a report consits of an expression that should be resolved at runtime to aJRTemplateinstance.- Author:
- Lucian Chirita (lucianc@users.sourceforge.net)
- See Also:
JRReport.getTemplates()
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description JRExpressiongetSourceExpression()Returns the template source expression.
-
-
-
Method Detail
-
getSourceExpression
JRExpression getSourceExpression()
Returns 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.- Returns:
- the template source expression
-
-