net.sf.jasperreports.engine
Class JRTemplateReference

java.lang.Object
  extended by net.sf.jasperreports.engine.JRTemplateReference

public class JRTemplateReference
extends java.lang.Object

A static template reference, consisting of a location from which the template can be loaded.

Version:
$Id: JRTemplateReference.java 4595 2011-09-08 15:55:10Z teodord $
Author:
Lucian Chirita (lucianc@users.sourceforge.net)
See Also:
JRTemplate.getIncludedTemplates(), JRXmlTemplateLoader.load(String)

Constructor Summary
JRTemplateReference()
          Creates an empty reference.
JRTemplateReference(java.lang.String location)
          Creates a reference for a specific location.
 
Method Summary
 java.lang.String getLocation()
          Returns the template location.
 void setLocation(java.lang.String location)
          Sets the template location.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JRTemplateReference

public JRTemplateReference()
Creates an empty reference.


JRTemplateReference

public JRTemplateReference(java.lang.String location)
Creates a reference for a specific location.

Parameters:
location - the template location
Method Detail

getLocation

public java.lang.String getLocation()
Returns the template location.

Returns:
the template location

setLocation

public void setLocation(java.lang.String location)
Sets the template location.

Parameters:
location - the location of the template


© 2001-2010 Jaspersoft Corporation www.jaspersoft.com