public class SitemapGenerator extends ServiceableGenerator
| Modifier and Type | Field and Description | 
|---|---|
protected SitemapDecoratorsHandler | 
_decoratorsManager
 | 
protected AmetysObjectResolver | 
_resolver
 | 
managerobjectModel, parameters, resolver, sourcecontentHandler, EMPTY_CONTENT_HANDLER, lexicalHandler, xmlConsumer| Constructor and Description | 
|---|
SitemapGenerator()  | 
| Modifier and Type | Method and Description | 
|---|---|
protected void | 
_saxPage(Page page)
SAX a page 
 | 
protected void | 
_saxSite(Site site)
SAX a  
Site | 
protected void | 
_saxSitemap(Sitemap sitemap)
SAX a  
Sitemap | 
void | 
generate()  | 
void | 
service(ServiceManager smanager)  | 
disposerecycle, setupsetConsumer, setContentHandler, setLexicalHandlerenableLogging, getLogger, setupLogger, setupLogger, setupLoggerclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitsetConsumerprotected AmetysObjectResolver _resolver
protected SitemapDecoratorsHandler _decoratorsManager
public SitemapGenerator()
public void service(ServiceManager smanager) throws ServiceException
service in interface Serviceableservice in class ServiceableGeneratorServiceExceptionpublic void generate() throws IOException, SAXException, ProcessingException
protected void _saxPage(Page page) throws SAXException
page - The page to SAXSAXException - If an error occurs while SAXingprotected void _saxSite(Site site) throws SAXException
Sitesite - The site to SAXSAXException - If an error occurs while SAXingprotected void _saxSitemap(Sitemap sitemap) throws SAXException
Sitemapsitemap - The sitemap to SAXSAXException - If an error occurs while SAXing