public class WorkspaceGenerator extends WorkspaceGenerator
Modifier and Type | Field and Description |
---|---|
protected SiteManager |
_siteManager
The site manager
|
protected SiteTypesExtensionPoint |
_siteTypeExtensionPoint
The site types manager
|
protected String |
_siteTypeName
The site
|
protected SkinsManager |
_skinsManager
The skins manager
|
_cocoonContext, _currentUserProvider, _fileImportsManager, _jsonUtils, _messageTargetFactoriesManager, _relationsManager, _resolver, _ribbonControlManager, _ribbonImportManager, _ribbonManagerCache, _ribbonTabManager, _saxClientSideElementHelper, _uitoolsFactoriesManager, _userHelper, _userManager, _widgetsManager
manager
objectModel, parameters, resolver, source
contentHandler, EMPTY_CONTENT_HANDLER, lexicalHandler, xmlConsumer
Constructor and Description |
---|
WorkspaceGenerator() |
Modifier and Type | Method and Description |
---|---|
void |
generate() |
protected Map<String,Object> |
getContextualParameters()
Get the contextual parameters
|
protected Source |
getRibbonConfiguration()
Get the ribbon configuration
|
protected Source |
getUIToolsConfiguration()
Get the UI tools configuration
|
void |
service(ServiceManager smanager) |
contextualize, doGenerate, getElementsToSax, saxAdditionnalInfo, saxMessageTargetFactories, saxRelationsHandlers, saxStaticFileImports, saxUITools, saxWidgets
dispose
recycle, setup
setConsumer, setContentHandler, setLexicalHandler
enableLogging, getLogger, setupLogger, setupLogger, setupLogger
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
setConsumer
protected SiteTypesExtensionPoint _siteTypeExtensionPoint
protected SiteManager _siteManager
protected String _siteTypeName
protected SkinsManager _skinsManager
public WorkspaceGenerator()
public void service(ServiceManager smanager) throws ServiceException
service
in interface Serviceable
service
in class WorkspaceGenerator
ServiceException
public void generate() throws IOException, SAXException, ProcessingException
generate
in interface Generator
generate
in class WorkspaceGenerator
IOException
SAXException
ProcessingException
protected Map<String,Object> getContextualParameters()
WorkspaceGenerator
getContextualParameters
in class WorkspaceGenerator
protected Source getRibbonConfiguration() throws IOException
WorkspaceGenerator
getRibbonConfiguration
in class WorkspaceGenerator
IOException
- if an errors occurs getting the ribbon configurationprotected Source getUIToolsConfiguration() throws IOException
WorkspaceGenerator
getUIToolsConfiguration
in class WorkspaceGenerator
IOException
- if an errors occurs getting the UI tools configuration