public class SitemapNodeGenerator extends ServiceableGenerator
Modifier and Type | Field and Description |
---|---|
protected AmetysObjectResolver |
_resolver
|
manager
objectModel, parameters, resolver, source
contentHandler, EMPTY_CONTENT_HANDLER, lexicalHandler, xmlConsumer
Constructor and Description |
---|
SitemapNodeGenerator() |
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) |
dispose
recycle, setup
setConsumer, setContentHandler, setLexicalHandler
enableLogging, getLogger, setupLogger, setupLogger, setupLogger
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
setConsumer
protected AmetysObjectResolver _resolver
public SitemapNodeGenerator()
public void service(ServiceManager smanager) throws ServiceException
service
in interface Serviceable
service
in class ServiceableGenerator
ServiceException
public 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
Site
site
- The site to SAXSAXException
- If an error occurs while SAXingprotected void _saxSitemap(Sitemap sitemap) throws SAXException
Sitemap
sitemap
- The sitemap to SAXSAXException
- If an error occurs while SAXing