Package org.ametys.web.sitemap
Class StaticSitemapDecorators
java.lang.Object
org.ametys.runtime.plugin.component.AbstractLogEnabled
org.ametys.web.sitemap.StaticSitemapDecorators
- All Implemented Interfaces:
LogEnabled
,PluginAware
,SitemapDecorators
,Configurable
public class StaticSitemapDecorators
extends AbstractLogEnabled
implements SitemapDecorators, Configurable, PluginAware
Static implementation of a
SitemapDecorators
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
configure
(Configuration configuration) getDecorators
(String skinId) Get the list of available decoratorsvoid
setPluginInfo
(String pluginName, String featureName, String id) Sets the plugin info relative to the current component.
Note : The feature name may be null if the targeted component in declared at plugin level.Methods inherited from class org.ametys.runtime.plugin.component.AbstractLogEnabled
getLogger, setLogger
-
Constructor Details
-
StaticSitemapDecorators
public StaticSitemapDecorators()
-
-
Method Details
-
setPluginInfo
Description copied from interface:PluginAware
Sets the plugin info relative to the current component.
Note : The feature name may be null if the targeted component in declared at plugin level.- Specified by:
setPluginInfo
in interfacePluginAware
- Parameters:
pluginName
- Unique identifier for the plugin hosting the extensionfeatureName
- Unique feature identifier (unique for a given pluginName)id
- Unique identifier of this component
-
configure
- Specified by:
configure
in interfaceConfigurable
- Throws:
ConfigurationException
-
getDecorators
Description copied from interface:SitemapDecorators
Get the list of available decorators- Specified by:
getDecorators
in interfaceSitemapDecorators
- Parameters:
skinId
- name of the skin- Returns:
- the list of available decorators
-