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 Type
    Method
    Description
    Returns the template source expression.
  • Method Details

    • getSourceExpression

      JRExpression getSourceExpression()
      Returns the template source expression.

      The expression type should be (compatible with) one of java.lang.String, java.io.File, java.net.URL, java.io.InputStream (in which cases the template is loaded via JRXmlTemplateLoader) or JRTemplate .

      Returns:
      the template source expression