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, _parseType
public 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 AbstractModelItemParser
public SiteParameter parse(ServiceManager serviceManager, String pluginName, Configuration definitionConfig, Model model, ModelItemGroup parent) throws ConfigurationException
AbstractModelItemParser
parse
in class CategorizedElementDefinitionParser
serviceManager
- 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 CategorizedElementDefinitionParser
definitionConfig
- the model item configuration to use.ConfigurationException
- if the configuration is not valid.