org.apache.cocoon.portal.coplets.basket
Class BasketContentGenerator
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.portal.generation.AbstractCopletGenerator
org.apache.cocoon.portal.coplets.basket.BasketContentGenerator
- All Implemented Interfaces:
- Poolable, Recyclable, Disposable, Component, LogEnabled, Serviceable, Generator, SitemapModelComponent, XMLProducer
public class BasketContentGenerator
- extends AbstractCopletGenerator
This generator displays the content of one item.
- Version:
- CVS $Id: BasketContentGenerator.html 1304258 2012-03-23 10:09:27Z ilgrosso $
Fields inherited from interface org.apache.cocoon.generation.Generator |
ROLE |
Method Summary |
void |
generate()
Generate the XML and stream it into the pipeline |
void |
setup(SourceResolver resolver,
Map objectModel,
String src,
Parameters par)
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 |
attributeName
protected String attributeName
- This is the attribute name containing the content
BasketContentGenerator
public BasketContentGenerator()
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
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-2010 The Apache Software Foundation. All Rights Reserved.