public class SiteStatisticsGenerator extends ServiceableGenerator
Site, such as :| Modifier and Type | Field and Description |
|---|---|
protected PageHelper |
_pageCacheHelper
The page cache helper.
|
protected ServiceExtensionPoint |
_serviceExtPt
The service extension point.
|
protected SiteManager |
_siteManager
The site manager.
|
managerobjectModel, parameters, resolver, sourcecontentHandler, EMPTY_CONTENT_HANDLER, lexicalHandler, xmlConsumer| Constructor and Description |
|---|
SiteStatisticsGenerator() |
| Modifier and Type | Method and Description |
|---|---|
private void |
_processPages(PagesContainer pages,
Map<String,Long> values) |
private void |
_processResources(TraversableAmetysObject resourceContainer,
HashMap<String,Long> values) |
private void |
_saxContents(Site site) |
private void |
_saxResources(Site site) |
protected void |
_saxSitemap(Sitemap sitemap)
SAX statistics on a sitemap.
|
void |
generate() |
protected void |
saxSite(Site site)
SAX statistics on a site.
|
void |
service(ServiceManager sManager) |
disposerecycle, setupsetConsumer, setContentHandler, setLexicalHandlerenableLogging, getLogger, setupLogger, setupLogger, setupLoggerclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitsetConsumerprotected SiteManager _siteManager
protected ServiceExtensionPoint _serviceExtPt
protected PageHelper _pageCacheHelper
public SiteStatisticsGenerator()
public void service(ServiceManager sManager) throws ServiceException
service in interface Serviceableservice in class ServiceableGeneratorServiceExceptionpublic void generate() throws IOException, SAXException, ProcessingException
protected void saxSite(Site site) throws SAXException, ProcessingException
site - the site to SAX statistics on.SAXException - if an error occurs while saxingProcessingException - if an error occursprotected void _saxSitemap(Sitemap sitemap) throws SAXException
sitemap - the sitemap to SAX statistics on.SAXException - if an error occurs while saxingprivate void _processPages(PagesContainer pages, Map<String,Long> values)
private void _saxContents(Site site) throws SAXException, RepositoryException
SAXExceptionRepositoryExceptionprivate void _saxResources(Site site) throws SAXException
SAXExceptionprivate void _processResources(TraversableAmetysObject resourceContainer, HashMap<String,Long> values)