public class ServiceParameterDefinitionParser extends ElementDefinitionParser
_modelItemTypeExtensionPoint| Constructor and Description |
|---|
ServiceParameterDefinitionParser(ServiceParameterTypeExtensionPoint serviceParameterTypeExtensionPoint,
ThreadSafeComponentManager<Enumerator> enumeratorManager,
ThreadSafeComponentManager<Validator> validatorManager)
Creates a service parameter definition parser.
|
| Modifier and Type | Method and Description |
|---|---|
protected ServiceParameter |
_createModelItem(Configuration definitionConfig)
Create the model item to populate it.
|
protected String |
_parseName(Configuration definitionConfig)
Parses the name of the model item.
|
ServiceParameter |
parse(ServiceManager serviceManager,
String pluginName,
Configuration definitionConfig,
Model model,
ModelItemGroup parent)
Parses an element definition from a XML configuration.
|
_parseAndSetEnumerator, _parseAndSetValidator, _parseDefaultValue, _parseDisableConditions, _parseMultiple, _parseWidget, _parseWidgetParameters, lookupComponents_getNameConfigurationAttribute, _parseI18nizableText, _parseTypepublic ServiceParameterDefinitionParser(ServiceParameterTypeExtensionPoint serviceParameterTypeExtensionPoint, ThreadSafeComponentManager<Enumerator> enumeratorManager, ThreadSafeComponentManager<Validator> validatorManager)
serviceParameterTypeExtensionPoint - the extension point to use to get available element typesenumeratorManager - the enumerator component manager.validatorManager - the validator component manager.public ServiceParameter parse(ServiceManager serviceManager, String pluginName, Configuration definitionConfig, Model model, ModelItemGroup parent) throws ConfigurationException
AbstractModelItemParserparse in class ElementDefinitionParserserviceManager - 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 ServiceParameter _createModelItem(Configuration definitionConfig) throws ConfigurationException
AbstractModelItemParser_createModelItem in class ElementDefinitionParserdefinitionConfig - the model item configuration to use.ConfigurationException - if the configuration is not valid.protected String _parseName(Configuration definitionConfig) throws ConfigurationException
AbstractModelItemParser_parseName in class AbstractModelItemParserdefinitionConfig - the model item configuration to use.ConfigurationException - if the configuration is not valid.