Package net.sf.jasperreports.engine
Interface JRReportTemplate
- All Known Implementing Classes:
JRBaseReportTemplate
,JRDesignReportTemplate
,JRFillReportTemplate
public interface JRReportTemplate
A template included in a report.
A template inclusion in a report consits of an expression that should be
resolved at runtime to a
JRTemplate
instance.- Author:
- Lucian Chirita (lucianc@users.sourceforge.net)
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionReturns the template source expression.
-
Method Details
-
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
-