public class BlogPagesGenerator extends ServiceableGenerator
Modifier and Type | Field and Description |
---|---|
private BlogCacheManager |
_blogCacheManager
The blog cache manager
|
private BlogPageHandler |
_blogRootPageHandler
The blog cache manager.
|
private TagProviderExtensionPoint |
_tagProviderExtensionPoint
The extension point for tag providers.
|
manager
objectModel, parameters, resolver, source
contentHandler, EMPTY_CONTENT_HANDLER, lexicalHandler, xmlConsumer
Constructor and Description |
---|
BlogPagesGenerator() |
Modifier and Type | Method and Description |
---|---|
private void |
_saxPagesContainer(PagesContainer pagesContainer,
int depth,
String siteName,
boolean excludePrivate)
SAX the pages
|
void |
generate() |
void |
service(ServiceManager serviceManager) |
dispose
recycle, setup
setConsumer, setContentHandler, setLexicalHandler
enableLogging, getLogger, setupLogger, setupLogger, setupLogger
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
setConsumer
private BlogPageHandler _blogRootPageHandler
private BlogCacheManager _blogCacheManager
private TagProviderExtensionPoint _tagProviderExtensionPoint
public BlogPagesGenerator()
public void service(ServiceManager serviceManager) throws ServiceException
service
in interface Serviceable
service
in class ServiceableGenerator
ServiceException
public void generate() throws IOException, SAXException, ProcessingException
private void _saxPagesContainer(PagesContainer pagesContainer, int depth, String siteName, boolean excludePrivate) throws SAXException
pagesContainer
- the page or sitemap from which we start to SAXdepth
- the remaining levels of pages to SAXsiteName
- the site's nameexcludePrivate
- true to exclude private pages, false otherwiseSAXException
- if an error occurs while SAXing the pages' information