Package org.ametys.web.sitemap
Class SitemapDecorator
- java.lang.Object
-
- org.ametys.web.sitemap.SitemapIcon
-
- org.ametys.web.sitemap.SitemapDecorator
-
public class SitemapDecorator extends SitemapIcon
A decorator for page in sitemap
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.ametys.web.sitemap.SitemapIcon
SitemapIcon.Condition
-
-
Constructor Summary
Constructors Constructor Description SitemapDecorator()
Constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
configure(Configuration configuration, String iconPathPrefix)
Configure decorationvoid
configure(Configuration configuration, String iconPathPrefix, String defaultCatalog)
Configure decorationString
getId()
The idI18nizableText
getLabel()
The decorator label-
Methods inherited from class org.ametys.web.sitemap.SitemapIcon
getIcon, getIconDecorator, getIconGlyph, getMetadata, getMetadataCondition, getOrder, getPageType, getProperties, getPropertiesCondition, getTags, getTagsCondition, isLive, isRestricted
-
-
-
-
Constructor Detail
-
SitemapDecorator
public SitemapDecorator()
Constructor
-
-
Method Detail
-
configure
public void configure(Configuration configuration, String iconPathPrefix) throws ConfigurationException
Description copied from class:SitemapIcon
Configure decoration- Overrides:
configure
in classSitemapIcon
- Parameters:
configuration
- the configurationiconPathPrefix
- The prfeix of icon path- Throws:
ConfigurationException
- if configuration is invalid
-
configure
public void configure(Configuration configuration, String iconPathPrefix, String defaultCatalog) throws ConfigurationException
Configure decoration- Parameters:
configuration
- the configurationiconPathPrefix
- the prefix for icon pathdefaultCatalog
- default catalog used if none is declared in the config- Throws:
ConfigurationException
- if configuration is invalid
-
getLabel
public I18nizableText getLabel()
The decorator label- Returns:
- The label
-
-