public class ContentRestrictedCompositeDefinitionParser extends CompositeDefinitionParser
_modelItemTypeExtensionPoint
Constructor and Description |
---|
ContentRestrictedCompositeDefinitionParser(AbstractThreadSafeComponentExtensionPoint<? extends ModelItemType> modelItemTypeExtensionPoint)
Creates a content restricted composite definition parser.
|
Modifier and Type | Method and Description |
---|---|
protected ContentRestrictedCompositeDefinition |
_createModelItem(Configuration itemConfig)
Create the model item to populate it.
|
ContentRestrictedCompositeDefinition |
parse(ServiceManager serviceManager,
String pluginName,
Configuration definitionConfig,
Model model,
ModelItemGroup parent)
Parses an element definition from a XML configuration.
|
_parseName
_getNameConfigurationAttribute, _parseI18nizableText, _parseType
public ContentRestrictedCompositeDefinitionParser(AbstractThreadSafeComponentExtensionPoint<? extends ModelItemType> modelItemTypeExtensionPoint)
modelItemTypeExtensionPoint
- the extension point to use to get available model items typespublic ContentRestrictedCompositeDefinition parse(ServiceManager serviceManager, String pluginName, Configuration definitionConfig, Model model, ModelItemGroup parent) throws ConfigurationException
AbstractModelItemParser
parse
in class CompositeDefinitionParser
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 ContentRestrictedCompositeDefinition _createModelItem(Configuration itemConfig) throws ConfigurationException
AbstractModelItemParser
_createModelItem
in class CompositeDefinitionParser
itemConfig
- the model item configuration to use.ConfigurationException
- if the configuration is not valid.