|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.apache.avalon.framework.logger.AbstractLoggable | +--org.apache.cocoon.sitemap.Manager | +--org.apache.cocoon.sitemap.SitemapManager
A Processor
based on the sitemap language files.
Field Summary | |
protected java.lang.String |
sitemapFileName
The sitemap file |
protected Handler |
sitemapHandler
The root sitemap's handler |
Fields inherited from class org.apache.cocoon.sitemap.Manager |
conf, context, handlerClass, manager, sitemapLogKitManager, sitemapRoles |
Fields inherited from interface org.apache.cocoon.Processor |
ROLE |
Constructor Summary | |
SitemapManager()
|
Method Summary | |
void |
configure(org.apache.avalon.framework.configuration.Configuration sconf)
Get a configuration |
void |
dispose()
Disposable |
void |
generateSitemap(Environment environment)
Process the given Environment to generate the sitemap. |
boolean |
process(Environment environment)
Process the given Environment producing the output. |
boolean |
process(Environment environment,
StreamPipeline pipeline,
EventPipeline eventPipeline)
Process the given Environment to assemble
a StreamPipeline and an EventPipeline . |
Methods inherited from class org.apache.cocoon.sitemap.Manager |
compose, contextualize, createHandler, invoke, invoke, setLogKitManager, setRoleManager |
Methods inherited from class org.apache.avalon.framework.logger.AbstractLoggable |
getLogger, setLogger, setupLogger, setupLogger, setupLogger |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
protected java.lang.String sitemapFileName
protected Handler sitemapHandler
Constructor Detail |
public SitemapManager()
Method Detail |
public void configure(org.apache.avalon.framework.configuration.Configuration sconf) throws org.apache.avalon.framework.configuration.ConfigurationException
Manager
configure
in interface org.apache.avalon.framework.configuration.Configurable
configure
in class Manager
sconf
- the configuration
org.apache.avalon.framework.configuration.ConfigurationException
public void generateSitemap(Environment environment) throws java.lang.Exception
Environment
to generate the sitemap.
java.lang.Exception
public boolean process(Environment environment) throws java.lang.Exception
Environment
producing the output.
process
in interface Processor
true
is returned.
If not match is found in the sitemap false
is returned.
java.lang.Exception
public boolean process(Environment environment, StreamPipeline pipeline, EventPipeline eventPipeline) throws java.lang.Exception
Environment
to assemble
a StreamPipeline
and an EventPipeline
.
process
in interface Processor
java.lang.Exception
public void dispose()
Manager
dispose
in interface org.apache.avalon.framework.activity.Disposable
dispose
in class Manager
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |