class SkinConfigurationAction.SkinParameterParser extends AbstractParameterParser<SkinParameter,ParameterHelper.ParameterType>
SkinParameter parameter.| Modifier and Type | Field and Description |
|---|---|
private String |
_i18nCatalogueLocation |
_enumeratorManager, _validatorManager| Constructor and Description |
|---|
SkinParameterParser(ThreadSafeComponentManager<Enumerator> enumeratorManager,
ThreadSafeComponentManager<Validator> validatorManager,
String i18nCatalogueLocation) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
_additionalParsing(ServiceManager smanager,
String pluginName,
Configuration parameterConfig,
String parameterId,
SkinParameter parameter)
Called for additional parsing.
Default implementation does nothing. |
protected SkinParameter |
_createParameter(Configuration parameterConfig)
Create the parameter to populate it.
|
protected Object |
_parseDefaultValue(Configuration parameterConfig,
SkinParameter parameter)
Parses the default value.
|
protected I18nizableText |
_parseI18nizableText(Configuration config,
String pluginName,
String name)
Parses an i18n text.
|
protected String |
_parseId(Configuration parameterConfig)
Parses the id.
|
protected ParameterHelper.ParameterType |
_parseType(Configuration parameterConfig)
Parses the type.
|
_parseAndSetEnumerator, _parseAndSetValidator, _parseWidget, _parseWidgetParameters, lookupComponents, parseParameterprivate String _i18nCatalogueLocation
public SkinParameterParser(ThreadSafeComponentManager<Enumerator> enumeratorManager, ThreadSafeComponentManager<Validator> validatorManager, String i18nCatalogueLocation)
protected SkinParameter _createParameter(Configuration parameterConfig) throws ConfigurationException
AbstractParameterParser_createParameter in class AbstractParameterParser<SkinParameter,ParameterHelper.ParameterType>parameterConfig - the parameter configuration to use.ConfigurationException - if the configuration is not valid.protected String _parseId(Configuration parameterConfig) throws ConfigurationException
AbstractParameterParser_parseId in class AbstractParameterParser<SkinParameter,ParameterHelper.ParameterType>parameterConfig - the parameter configuration to use.ConfigurationException - if the configuration is not valid.protected ParameterHelper.ParameterType _parseType(Configuration parameterConfig) throws ConfigurationException
AbstractParameterParser_parseType in class AbstractParameterParser<SkinParameter,ParameterHelper.ParameterType>parameterConfig - the parameter configuration to use.ConfigurationException - if the configuration is not valid.protected I18nizableText _parseI18nizableText(Configuration config, String pluginName, String name) throws ConfigurationException
AbstractParameterParser_parseI18nizableText in class AbstractParameterParser<SkinParameter,ParameterHelper.ParameterType>config - the configuration to use.pluginName - the current plugin name.name - the child name.ConfigurationException - if the configuration is not valid.protected Object _parseDefaultValue(Configuration parameterConfig, SkinParameter parameter)
AbstractParameterParser_parseDefaultValue in class AbstractParameterParser<SkinParameter,ParameterHelper.ParameterType>parameterConfig - the parameter configuration.parameter - the parameter.null if none defined.protected void _additionalParsing(ServiceManager smanager, String pluginName, Configuration parameterConfig, String parameterId, SkinParameter parameter) throws ConfigurationException
AbstractParameterParser_additionalParsing in class AbstractParameterParser<SkinParameter,ParameterHelper.ParameterType>smanager - the sservice manager.pluginName - the plugin name.parameterConfig - the parameter configuration.parameterId - the parameter id.parameter - the parameter to populate.ConfigurationException - if the configuration is not valid.