public class SiteParametersGenerator extends ServiceableGenerator
Modifier and Type | Field and Description |
---|---|
protected LanguagesManager |
_languagesManager
The available languages manager
|
protected SiteConfigurationExtensionPoint |
_siteConfiguration
The site configuration.
|
protected SiteManager |
_siteManager
The site manager.
|
manager
objectModel, parameters, resolver, source
contentHandler, EMPTY_CONTENT_HANDLER, lexicalHandler, xmlConsumer
Constructor and Description |
---|
SiteParametersGenerator() |
Modifier and Type | Method and Description |
---|---|
protected void |
_saxParameters(String siteName)
Generate the site's parameters.
|
private void |
_saxPossibleSitemaps() |
private void |
_saxSelectedSitemaps(Site site) |
protected void |
_saxSitemaps(Site site)
Generate the sitemaps of a site.
|
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
protected SiteManager _siteManager
protected SiteConfigurationExtensionPoint _siteConfiguration
protected LanguagesManager _languagesManager
public SiteParametersGenerator()
public void service(ServiceManager serviceManager) throws ServiceException
service
in interface Serviceable
service
in class ServiceableGenerator
ServiceException
public void generate() throws IOException, SAXException, ProcessingException
protected void _saxParameters(String siteName) throws ProcessingException, SAXException
siteName
- the site name.ProcessingException
- if an error occurs processing the request.SAXException
- if an error occurs SAXing the data.protected void _saxSitemaps(Site site) throws ProcessingException, SAXException
site
- the site.SAXException
- if an error occurs.ProcessingException
- if an error occurs.private void _saxPossibleSitemaps() throws SAXException
SAXException
private void _saxSelectedSitemaps(Site site) throws SAXException
SAXException