public class TemplateCollection extends Object implements Serializable
Constructor and Description |
---|
TemplateCollection()
Creates a new collection.
|
Modifier and Type | Method and Description |
---|---|
void |
addTemplate(TemplateDescription template)
Adds a template.
|
void |
configure(org.pentaho.reporting.libraries.base.config.Configuration config)
Configures this factory.
|
boolean |
equals(Object o)
Indicated whether an other object is equal to this one.
|
org.pentaho.reporting.libraries.base.config.Configuration |
getConfig()
Returns the currently set configuration or null, if none was set.
|
TemplateDescription |
getDescription(Template template)
Returns a template description.
|
String[] |
getNames()
Returns the names of all defined templates.
|
TemplateDescription |
getTemplate(String name)
Returns a template.
|
int |
hashCode()
Computes an hashcode for this factory.
|
public void addTemplate(TemplateDescription template)
template
- the template.public TemplateDescription getTemplate(String name)
name
- the template name.public TemplateDescription getDescription(Template template)
template
- the template.public void configure(org.pentaho.reporting.libraries.base.config.Configuration config)
config
- the configuration, never nullpublic org.pentaho.reporting.libraries.base.config.Configuration getConfig()
public boolean equals(Object o)
equals
in class Object
o
- the other object.Object.equals(java.lang.Object)
public int hashCode()
hashCode
in class Object
Object.hashCode()
public String[] getNames()