org.apache.cocoon.generation
Class GarbageGenerator
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.GarbageGenerator
- All Implemented Interfaces:
- Disposable, Generator, LogEnabled, Poolable, Recyclable, Serviceable, SitemapModelComponent, XMLProducer
- public class GarbageGenerator
- extends ServiceableGenerator
Fields inherited from interface org.apache.cocoon.generation.Generator |
ROLE |
Method Summary |
void |
generate()
Generate the XML and stream it into the pipeline |
void |
recycle()
Recyclable |
protected void |
setContext(Object contextObject,
Object kont,
Object request,
Object response,
Object session,
Object context,
Parameters parameters)
|
void |
setup(SourceResolver resolver,
Map objectModel,
String src,
Parameters parameters)
Set the SourceResolver , object model Map ,
the source and sitemap Parameters used to process the request. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
cache
protected static Map cache
jxpathContext
protected org.apache.commons.jxpath.JXPathContext jxpathContext
source
protected Source source
GarbageGenerator
public GarbageGenerator()
recycle
public void recycle()
- Recyclable
- Specified by:
recycle
in interface Recyclable
- Overrides:
recycle
in class AbstractGenerator
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
setContext
protected void setContext(Object contextObject,
Object kont,
Object request,
Object response,
Object session,
Object context,
Parameters parameters)
generate
public void generate()
throws IOException,
SAXException,
ProcessingException
- Description copied from interface:
Generator
- Generate the XML and stream it into the pipeline
- Throws:
IOException
SAXException
ProcessingException
Copyright ? 1999-2005 The Apache Software Foundation. All Rights Reserved.