public class TemplateCollector extends TemplateCollection
Constructor and Description |
---|
TemplateCollector()
Creates a new template collector.
|
Modifier and Type | Method and Description |
---|---|
void |
addTemplateCollection(TemplateCollection tc)
Adds a template collection.
|
void |
configure(Configuration config)
Configures this factory.
|
boolean |
equals(Object o)
Indicated whether an other object is equal to this one.
|
TemplateDescription |
getDescription(Template template)
Returns a template description.
|
Iterator |
getFactories()
Returns an iterator that provides access to the factories.
|
TemplateDescription |
getTemplate(String name)
Returns a template description.
|
int |
hashCode()
Computes an hashcode for this factory.
|
addTemplate, getConfig, getNames
public void addTemplateCollection(TemplateCollection tc)
tc
- the template collection.public Iterator getFactories()
public TemplateDescription getTemplate(String name)
getTemplate
in class TemplateCollection
name
- the name.public TemplateDescription getDescription(Template template)
getDescription
in class TemplateCollection
template
- the template.public void configure(Configuration config)
configure
in class TemplateCollection
config
- the configuration, never nullpublic boolean equals(Object o)
equals
in class TemplateCollection
o
- the other object.Object.equals(java.lang.Object)
public int hashCode()
hashCode
in class TemplateCollection
Object.hashCode()
Copyright © 2017 Hitachi Vantara. All rights reserved.