Package org.ametys.web.skin
Class SkinParameterParser
- java.lang.Object
- 
- org.ametys.runtime.model.AbstractModelItemParser
- 
- org.ametys.runtime.model.ElementDefinitionParser
- 
- org.ametys.web.skin.SkinParameterParser
 
 
 
- 
 public class SkinParameterParser extends ElementDefinitionParser Parser forCategorizedElementDefinitionWrapperparameter.
- 
- 
Field Summary- 
Fields inherited from class org.ametys.runtime.model.AbstractModelItemParser_modelItemTypeExtensionPoint
 
- 
 - 
Constructor SummaryConstructors Constructor Description SkinParameterParser(AbstractThreadSafeComponentExtensionPoint<? extends ElementType> elementTypeExtensionPoint, ThreadSafeComponentManager<Enumerator> enumeratorManager, ThreadSafeComponentManager<Validator> validatorManager, String i18nCatalogueLocation)Creates a categorized element definition parser for the skin.
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description protected String_getNameConfigurationAttribute()Retrieves the name of the configuration attribute that contains the name of the model itemprotected I18nizableText_parseI18nizableText(Configuration config, String catalog, String name)Parses a mandatory i18n text configuration, throwing an exception if empty.- 
Methods inherited from class org.ametys.runtime.model.ElementDefinitionParser_createModelItem, _parseAndSetEnumerator, _parseAndSetValidator, _parseDefaultValue, _parseDefaultValues, _parseMultiple, lookupComponents, parse
 - 
Methods inherited from class org.ametys.runtime.model.AbstractModelItemParser_parseDisableConditions, _parseI18nizableText, _parseName, _parseType, _parseWidget, _parseWidgetParameters, parse
 
- 
 
- 
- 
- 
Constructor Detail- 
SkinParameterParserpublic SkinParameterParser(AbstractThreadSafeComponentExtensionPoint<? extends ElementType> elementTypeExtensionPoint, ThreadSafeComponentManager<Enumerator> enumeratorManager, ThreadSafeComponentManager<Validator> validatorManager, String i18nCatalogueLocation) Creates a categorized element definition parser for the skin.- Parameters:
- elementTypeExtensionPoint- the extension point to use to get available element types
- enumeratorManager- the enumerator component manager.
- validatorManager- the validator component manager.
- i18nCatalogueLocation- the path of the i18n folder of the skin
 
 
- 
 - 
Method Detail- 
_getNameConfigurationAttributeprotected String _getNameConfigurationAttribute() Description copied from class:AbstractModelItemParserRetrieves the name of the configuration attribute that contains the name of the model item- Overrides:
- _getNameConfigurationAttributein class- AbstractModelItemParser
- Returns:
- the name of the configuration attribute that contains the name of the model item
 
 - 
_parseI18nizableTextprotected I18nizableText _parseI18nizableText(Configuration config, String catalog, String name) throws ConfigurationException Description copied from class:AbstractModelItemParserParses a mandatory i18n text configuration, throwing an exception if empty.- Overrides:
- _parseI18nizableTextin class- AbstractModelItemParser
- Parameters:
- config- the configuration to use.
- catalog- the catalog
- name- the child name.
- Returns:
- the i18n text.
- Throws:
- ConfigurationException- if the configuration is not valid.
 
 
- 
 
-