org.apache.cocoon.generation
Class RequestGenerator
java.lang.Object
org.apache.avalon.framework.logger.AbstractLogEnabled
org.apache.cocoon.xml.AbstractXMLProducer
org.apache.cocoon.generation.AbstractGenerator
org.apache.cocoon.generation.ServiceableGenerator
org.apache.cocoon.generation.RequestGenerator
- All Implemented Interfaces:
- Poolable, Recyclable, Disposable, Component, LogEnabled, Parameterizable, Serviceable, Generator, SitemapModelComponent, XMLProducer
public class RequestGenerator
- extends ServiceableGenerator
- implements Parameterizable
- Version:
- CVS $Id: RequestGenerator.html 1304258 2012-03-23 10:09:27Z ilgrosso $
- Author:
- Pierpaolo Fumagalli, Giacomo Pati, Vadim Gritsenko, Stefano Mazzocchi
Fields inherited from interface org.apache.cocoon.generation.Generator |
ROLE |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
RequestGenerator
public RequestGenerator()
parameterize
public void parameterize(Parameters parameters)
throws ParameterException
- Specified by:
parameterize
in interface Parameterizable
- Throws:
ParameterException
setup
public void setup(SourceResolver resolver,
Map objectModel,
String src,
Parameters parameters)
throws ProcessingException,
SAXException,
IOException
- Description copied from class:
AbstractGenerator
- Set the
SourceResolver
, object model Map
,
the source and sitemap Parameters
used to process the request.
- Specified by:
setup
in interface SitemapModelComponent
- Overrides:
setup
in class AbstractGenerator
- Throws:
ProcessingException
SAXException
IOException
generate
public void generate()
throws SAXException
- Generate XML data.
- Specified by:
generate
in interface Generator
- Throws:
SAXException
Copyright © 1999-2010 The Apache Software Foundation. All Rights Reserved.