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.
|
managerobjectModel, parameters, resolver, sourcecontentHandler, 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) |
disposerecycle, setupsetConsumer, setContentHandler, setLexicalHandlerenableLogging, getLogger, setupLogger, setupLogger, setupLoggerclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitsetConsumerprivate BlogPageHandler _blogRootPageHandler
private BlogCacheManager _blogCacheManager
private TagProviderExtensionPoint _tagProviderExtensionPoint
public BlogPagesGenerator()
public void service(ServiceManager serviceManager) throws ServiceException
service in interface Serviceableservice in class ServiceableGeneratorServiceExceptionpublic 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