Package org.ametys.web.cocoon
Class SitemapGenerator
- All Implemented Interfaces:
Poolable,Recyclable,Disposable,Component,LogEnabled,Serviceable,Generator,SitemapModelComponent,XMLProducer
SAX child nodes of a node. The node can be a site, sitemap or page.
Waits for the id of the node to SAX in request parameters.
Waits for the id of the node to SAX in request parameters.
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected SitemapDecoratorsHandlerprotected AmetysObjectResolverFields inherited from class org.apache.cocoon.generation.ServiceableGenerator
managerFields inherited from class org.apache.cocoon.generation.AbstractGenerator
objectModel, parameters, resolver, sourceFields inherited from class org.apache.cocoon.xml.AbstractXMLProducer
contentHandler, EMPTY_CONTENT_HANDLER, lexicalHandler, xmlConsumer -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class org.apache.cocoon.generation.ServiceableGenerator
disposeMethods inherited from class org.apache.cocoon.generation.AbstractGenerator
recycle, setupMethods inherited from class org.apache.cocoon.xml.AbstractXMLProducer
setConsumer, setContentHandler, setLexicalHandlerMethods inherited from class org.apache.avalon.framework.logger.AbstractLogEnabled
enableLogging, getLogger, setupLogger, setupLogger, setupLoggerMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.apache.cocoon.xml.XMLProducer
setConsumer
-
Field Details
-
_resolver
-
_decoratorsManager
-
-
Constructor Details
-
SitemapGenerator
public SitemapGenerator()
-
-
Method Details
-
service
- Specified by:
servicein interfaceServiceable- Overrides:
servicein classServiceableGenerator- Throws:
ServiceException
-
generate
-
_saxPage
SAX a page- Parameters:
page- The page to SAX- Throws:
SAXException- If an error occurs while SAXing
-
_saxSite
SAX aSite- Parameters:
site- The site to SAX- Throws:
SAXException- If an error occurs while SAXing
-
_saxSitemap
SAX aSitemap- Parameters:
sitemap- The sitemap to SAX- Throws:
SAXException- If an error occurs while SAXing
-