public class SharedSitesGenerator extends ServiceableGenerator
Modifier and Type | Field and Description |
---|---|
private AmetysObjectResolver |
_resolver |
private SiteManager |
_siteManager |
private SiteTypesExtensionPoint |
_siteTypeExtensionPoint |
manager
objectModel, parameters, resolver, source
contentHandler, EMPTY_CONTENT_HANDLER, lexicalHandler, xmlConsumer
Constructor and Description |
---|
SharedSitesGenerator() |
Modifier and Type | Method and Description |
---|---|
private void |
_saxSite(Site site,
Site currentSite) |
private long |
_sharedContentsSize(Site site,
Site currentSite) |
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
private SiteManager _siteManager
private AmetysObjectResolver _resolver
private SiteTypesExtensionPoint _siteTypeExtensionPoint
public SharedSitesGenerator()
public void service(ServiceManager smanager) throws ServiceException
service
in interface Serviceable
service
in class ServiceableGenerator
ServiceException
public void generate() throws IOException, SAXException, ProcessingException
private void _saxSite(Site site, Site currentSite) throws SAXException
SAXException
private long _sharedContentsSize(Site site, Site currentSite)