Package net.sf.jasperreports.engine
Class JRTemplateReference
- java.lang.Object
-
- net.sf.jasperreports.engine.JRTemplateReference
-
public class JRTemplateReference extends Object
A static template reference, consisting of a location from which the template can be loaded.- Author:
- Lucian Chirita (lucianc@users.sourceforge.net)
- See Also:
JRTemplate.getIncludedTemplates()
,JRXmlTemplateLoader.load(String)
-
-
Constructor Summary
Constructors Constructor Description JRTemplateReference()
Creates an empty reference.JRTemplateReference(String location)
Creates a reference for a specific location.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getLocation()
Returns the template location.void
setLocation(String location)
Sets the template location.
-
-
-
Constructor Detail
-
JRTemplateReference
public JRTemplateReference()
Creates an empty reference.
-
JRTemplateReference
public JRTemplateReference(String location)
Creates a reference for a specific location.- Parameters:
location
- the template location
-
-