public class RepeaterDefinitionParser extends AbstractModelItemParser
_modelItemTypeExtensionPoint| Constructor and Description |
|---|
RepeaterDefinitionParser(AbstractThreadSafeComponentExtensionPoint<? extends ModelItemType> modelItemTypeExtensionPoint)
Creates a repeater definition parser.
|
| Modifier and Type | Method and Description |
|---|---|
protected RepeaterDefinition |
_createModelItem(Configuration itemConfig)
Create the model item to populate it.
|
protected String |
_parseName(Configuration itemConfig)
Parses the name of the model item.
|
protected ModelItemType |
_parseType(Configuration config)
Parses the type.
|
RepeaterDefinition |
parse(ServiceManager serviceManager,
String pluginName,
Configuration definitionConfig,
Model model,
ModelItemGroup parent)
Parses an element definition from a XML configuration.
|
_getNameConfigurationAttribute, _parseI18nizableTextpublic RepeaterDefinitionParser(AbstractThreadSafeComponentExtensionPoint<? extends ModelItemType> modelItemTypeExtensionPoint)
modelItemTypeExtensionPoint - the extension point to use to get available model items typespublic RepeaterDefinition parse(ServiceManager serviceManager, String pluginName, Configuration definitionConfig, Model model, ModelItemGroup parent) throws ConfigurationException
AbstractModelItemParserparse in class AbstractModelItemParserserviceManager - 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 RepeaterDefinition _createModelItem(Configuration itemConfig) throws ConfigurationException
AbstractModelItemParser_createModelItem in class AbstractModelItemParseritemConfig - the model item configuration to use.ConfigurationException - if the configuration is not valid.protected String _parseName(Configuration itemConfig) throws ConfigurationException
AbstractModelItemParser_parseName in class AbstractModelItemParseritemConfig - the model item configuration to use.ConfigurationException - if the configuration is not valid.protected ModelItemType _parseType(Configuration config) throws ConfigurationException
AbstractModelItemParser_parseType in class AbstractModelItemParserconfig - the model item configuration to use.ConfigurationException - if the configuration is not valid.