|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.pentaho.reporting.engine.classic.core.modules.parser.ext.factory.templates.TemplateCollection
public class TemplateCollection
A template collection.
Constructor Summary | |
---|---|
TemplateCollection()
Creates a new collection. |
Method Summary | |
---|---|
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. |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public TemplateCollection()
Method Detail |
---|
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()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |