|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
A generator factory is the factory of Generator
s.
Regular GeneratorFactory implementation should be
ThreadSafe
component
serving as a factory of lightweight Generator
objects.
GeneratorFactory can implement any number of Avalon lifecycle interfaces
and perform any initializations necessary. Ligtweight Generator instances
created by getInstance()
method will only need to parse
additional parameters passed on sitemap component invocation via
SitemapModelComponent.setup(org.apache.cocoon.environment.SourceResolver, java.util.Map, String, org.apache.avalon.framework.parameters.Parameters)
method and can access global configuration of GeneratorFactory.
NOTE: Only Disposable interface is applicable to
the Generator instance returned by the getInstance()
.
Nested Class Summary | |
static interface |
GeneratorFactory.Instance
Instance of the Generator created by the GeneratorFactory |
Field Summary | |
static String |
ROLE
|
Method Summary | |
GeneratorFactory.Instance |
getInstance()
Create an instance of the Generator |
Field Detail |
public static final String ROLE
Method Detail |
public GeneratorFactory.Instance getInstance()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |