net.sf.jasperreports.engine
Interface JRTemplate

All Superinterfaces:
JRDefaultStyleProvider
All Known Implementing Classes:
JRSimpleTemplate

public interface JRTemplate
extends JRDefaultStyleProvider

A template that can be used by report.

Templates contain report styles that can be used by reports once the template is included in the report. This allows styles to be externalized and reused across several reports.

A template can in its turn include other templates, see getIncludedTemplates().

Version:
$Id: JRTemplate.java 4595 2011-09-08 15:55:10Z teodord $
Author:
Lucian Chirita (lucianc@users.sourceforge.net)
See Also:
JRReport.getTemplates(), JRParameter.REPORT_TEMPLATES, JRStyleContainer.getStyleNameReference()

Method Summary
 JRTemplateReference[] getIncludedTemplates()
          Returns the templates included/referenced by this template.
 JRStyle[] getStyles()
          Returns the styles defined in this template.
 
Methods inherited from interface net.sf.jasperreports.engine.JRDefaultStyleProvider
getDefaultStyle
 

Method Detail

getIncludedTemplates

JRTemplateReference[] getIncludedTemplates()
Returns the templates included/referenced by this template.

Returns:
the included templates

getStyles

JRStyle[] getStyles()
Returns the styles defined in this template.

Returns:
the template styles


© 2001-2010 Jaspersoft Corporation www.jaspersoft.com