|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
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.coplets.basket.BasketGenerator
public class BasketGenerator
This is a portlet that displays the contents of a basket
Nested Class Summary | |
---|---|
static class |
BasketGenerator.StoreInfo
|
Field Summary | |
---|---|
protected boolean |
adminMode
admin mode? |
protected BasketManager |
basketManager
The basket manager |
protected String |
showCopletId
This is the coplet ID that is used to display the content |
protected String |
showLayoutId
This is the layout ID that is used to display the content |
protected String |
type
The type of items to display |
protected String |
typeLocation
The location of the type information |
Fields inherited from class org.apache.cocoon.generation.ServiceableGenerator |
---|
manager |
Fields inherited from class org.apache.cocoon.generation.AbstractGenerator |
---|
objectModel, parameters, resolver, source |
Fields inherited from class org.apache.cocoon.xml.AbstractXMLProducer |
---|
contentHandler, EMPTY_CONTENT_HANDLER, lexicalHandler, xmlConsumer |
Fields inherited from interface org.apache.cocoon.generation.Generator |
---|
ROLE |
Constructor Summary | |
---|---|
BasketGenerator()
|
Method Summary | |
---|---|
void |
dispose()
Release all resources. |
void |
generate()
Generate the XML and stream it into the pipeline |
protected void |
generateAdminMode()
Render admin mode |
void |
service(ServiceManager manager)
Set the current ServiceManager instance used by this
Serviceable . |
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. |
protected BasketGenerator.StoreInfo |
toSAX(ContentStore store,
LinkService linkService,
ProfileManager profileManager)
|
protected void |
toSAX(Map attributes)
|
protected void |
toSAX(UserConfiguration uc)
|
Methods inherited from class org.apache.cocoon.generation.AbstractGenerator |
---|
recycle |
Methods inherited from class org.apache.cocoon.xml.AbstractXMLProducer |
---|
setConsumer, setContentHandler, setLexicalHandler |
Methods inherited from class org.apache.avalon.framework.logger.AbstractLogEnabled |
---|
enableLogging, getLogger, setupLogger, setupLogger, setupLogger |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface org.apache.cocoon.xml.XMLProducer |
---|
setConsumer |
Field Detail |
---|
protected String showCopletId
protected String showLayoutId
protected String type
protected String typeLocation
protected boolean adminMode
protected BasketManager basketManager
Constructor Detail |
---|
public BasketGenerator()
Method Detail |
---|
public void service(ServiceManager manager) throws ServiceException
ServiceableGenerator
ServiceManager
instance used by this
Serviceable
.
service
in interface Serviceable
service
in class ServiceableGenerator
ServiceException
public void dispose()
ServiceableGenerator
dispose
in interface Disposable
dispose
in class ServiceableGenerator
public void setup(SourceResolver resolver, Map objectModel, String src, Parameters par) throws ProcessingException, SAXException, IOException
AbstractGenerator
SourceResolver
, object model Map
,
the source and sitemap Parameters
used to process the request.
setup
in interface SitemapModelComponent
setup
in class AbstractGenerator
ProcessingException
SAXException
IOException
public void generate() throws IOException, SAXException, ProcessingException
Generator
IOException
SAXException
ProcessingException
protected void generateAdminMode() throws SAXException
SAXException
protected BasketGenerator.StoreInfo toSAX(ContentStore store, LinkService linkService, ProfileManager profileManager) throws SAXException
SAXException
protected void toSAX(Map attributes) throws SAXException
SAXException
protected void toSAX(UserConfiguration uc) throws SAXException
SAXException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |