org.apache.cocoon.generation
Class ServletGenerator
java.lang.Object
org.apache.avalon.framework.logger.AbstractLogEnabled
org.apache.cocoon.xml.AbstractXMLProducer
org.apache.cocoon.generation.AbstractGenerator
org.apache.cocoon.generation.ServletGenerator
- All Implemented Interfaces:
- Disposable, Generator, LogEnabled, Poolable, Recyclable, Serviceable, SitemapModelComponent, XMLProducer
- Direct Known Subclasses:
- AbstractServerPage, ServerPagesGenerator
- public abstract class ServletGenerator
- extends AbstractGenerator
- implements Serviceable, Disposable
- Version:
- CVS $Id: ServletGenerator.java 55257 2004-10-21 20:36:33Z cziegeler $
- Author:
- Giacomo Pati
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 |
request
protected Request request
response
protected Response response
context
protected Context context
manager
protected ServiceManager manager
- The service manager instance
ServletGenerator
public ServletGenerator()
service
public void service(ServiceManager manager)
throws ServiceException
- Specified by:
service
in interface Serviceable
- Throws:
ServiceException
dispose
public void dispose()
- Specified by:
dispose
in interface Disposable
setup
public void setup(SourceResolver resolver,
Map objectModel,
String src,
Parameters par)
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
recycle
public void recycle()
- Description copied from class:
AbstractGenerator
- Recycle the generator by removing references
- Specified by:
recycle
in interface Recyclable
- Overrides:
recycle
in class AbstractGenerator
Copyright ? 1999-2005 The Apache Software Foundation. All Rights Reserved.