Package net.sf.jasperreports.engine.base
Class JRBaseReportTemplate
- java.lang.Object
-
- net.sf.jasperreports.engine.base.JRBaseReportTemplate
-
- All Implemented Interfaces:
Serializable
,Cloneable
,JRCloneable
,JRReportTemplate
- Direct Known Subclasses:
JRDesignReportTemplate
public class JRBaseReportTemplate extends Object implements JRReportTemplate, Serializable, JRCloneable
Base read-only implementation ofJRReportTemplate
.- Author:
- Lucian Chirita (lucianc@users.sourceforge.net)
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description protected JRExpression
sourceExpression
-
Constructor Summary
Constructors Modifier Constructor Description protected
JRBaseReportTemplate()
JRBaseReportTemplate(JRReportTemplate reportTemplate, JRAbstractObjectFactory factory)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Object
clone()
JRExpression
getSourceExpression()
Returns the template source expression.
-
-
-
Field Detail
-
sourceExpression
protected JRExpression sourceExpression
-
-
Constructor Detail
-
JRBaseReportTemplate
protected JRBaseReportTemplate()
-
JRBaseReportTemplate
public JRBaseReportTemplate(JRReportTemplate reportTemplate, JRAbstractObjectFactory factory)
-
-
Method Detail
-
getSourceExpression
public JRExpression getSourceExpression()
Description copied from interface:JRReportTemplate
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
.- Specified by:
getSourceExpression
in interfaceJRReportTemplate
- Returns:
- the template source expression
-
clone
public Object clone()
- Specified by:
clone
in interfaceJRCloneable
- Overrides:
clone
in classObject
-
-