protected static class StaticService.ServiceParameterOrRepeaterParser extends Object
| Modifier and Type | Field and Description |
|---|---|
private StaticService.ServiceParameterParser |
_serviceParameterParser |
| Constructor and Description |
|---|
ServiceParameterOrRepeaterParser(StaticService.ServiceParameterParser paramParser)
The constructor
|
| Modifier and Type | Method and Description |
|---|---|
protected I18nizableText |
_parseI18nizableText(Configuration config,
String pluginName,
String name)
Parses an i18n text.
|
protected String |
_parseIcon(Configuration iconConfig,
String defaultPluginName,
String defaultImage)
Parse icon
|
protected String |
_parseId(Configuration parameterConfig)
Parse the id
|
ServiceParameterOrRepeater |
parse(ServiceManager manager,
String pluginName,
Configuration paramConfiguration)
Parse the service parameters of repeater
|
protected Map<String,ServiceParameter> |
parseParameters(ServiceManager manager,
String pluginName,
Configuration repeaterConfig)
Parse the parameters
|
protected ServiceParameterRepeater |
parseRepeater(ServiceManager manager,
String pluginName,
Configuration repeaterConfig)
Parse the repeater
|
private StaticService.ServiceParameterParser _serviceParameterParser
public ServiceParameterOrRepeaterParser(StaticService.ServiceParameterParser paramParser)
paramParser - the paramParser to parsepublic ServiceParameterOrRepeater parse(ServiceManager manager, String pluginName, Configuration paramConfiguration) throws ConfigurationException
manager - the service managerpluginName - the plugin nameparamConfiguration - the param configurationConfigurationException - if an error occurredprotected ServiceParameterRepeater parseRepeater(ServiceManager manager, String pluginName, Configuration repeaterConfig) throws ConfigurationException
manager - the service managerpluginName - the plugin namerepeaterConfig - the repeater configurationConfigurationException - if an error occurredprotected String _parseId(Configuration parameterConfig) throws ConfigurationException
parameterConfig - the parameter configurationConfigurationException - if an error occurredprotected I18nizableText _parseI18nizableText(Configuration config, String pluginName, String name) throws ConfigurationException
config - the configuration to use.pluginName - the current plugin name.name - the child name.ConfigurationException - if the configuration is not valid.protected String _parseIcon(Configuration iconConfig, String defaultPluginName, String defaultImage)
iconConfig - The icon configdefaultPluginName - The default plugin namedefaultImage - The default imageprotected Map<String,ServiceParameter> parseParameters(ServiceManager manager, String pluginName, Configuration repeaterConfig) throws ConfigurationException
manager - the service managerpluginName - the plugin namerepeaterConfig - the repeater configurationConfigurationException - if an error occurred