class SiteConfigurationExtensionPoint.SiteParameterParser extends CategorizedElementDefinitionParser
_modelItemTypeExtensionPoint| Constructor and Description |
|---|
SiteParameterParser(AbstractThreadSafeComponentExtensionPoint<? extends ElementType> elementTypeExtensionPoint,
ThreadSafeComponentManager<Enumerator> enumeratorManager,
ThreadSafeComponentManager<Validator> validatorManager)
Creates a categorized element definition parser for the skin.
|
| Modifier and Type | Method and Description |
|---|---|
protected SiteParameter |
_createModelItem(Configuration definitionConfig)
Create the model item to populate it.
|
protected String |
_getNameConfigurationAttribute()
Retrieves the name of the configuration attribute that contains the name of the model item
|
SiteParameter |
parse(ServiceManager serviceManager,
String pluginName,
Configuration definitionConfig,
Model model,
ModelItemGroup parent)
Parses an element definition from a XML configuration.
|
_parseDefaultValue_parseAndSetEnumerator, _parseAndSetValidator, _parseDisableConditions, _parseMultiple, _parseWidget, _parseWidgetParameters, lookupComponents_parseI18nizableText, _parseName, _parseTypepublic SiteParameterParser(AbstractThreadSafeComponentExtensionPoint<? extends ElementType> elementTypeExtensionPoint, ThreadSafeComponentManager<Enumerator> enumeratorManager, ThreadSafeComponentManager<Validator> validatorManager)
elementTypeExtensionPoint - the extension point to use to get available element typesenumeratorManager - the enumerator component manager.validatorManager - the validator component manager.protected String _getNameConfigurationAttribute()
AbstractModelItemParser_getNameConfigurationAttribute in class AbstractModelItemParserpublic SiteParameter parse(ServiceManager serviceManager, String pluginName, Configuration definitionConfig, Model model, ModelItemGroup parent) throws ConfigurationException
AbstractModelItemParserparse in class CategorizedElementDefinitionParserserviceManager - the service managerpluginName - the plugin name declaring this item.definitionConfig - the XML configuration of the model item.model - the model which defines the model itemparent - the parent of the model item to create. Can be null if the model item to parse has no parentConfigurationException - if the configuration is not valid.protected SiteParameter _createModelItem(Configuration definitionConfig) throws ConfigurationException
AbstractModelItemParser_createModelItem in class CategorizedElementDefinitionParserdefinitionConfig - the model item configuration to use.ConfigurationException - if the configuration is not valid.