Package org.ametys.web.sitemap
Class SitemapDecorator
java.lang.Object
org.ametys.web.sitemap.SitemapIcon
org.ametys.web.sitemap.SitemapDecorator
A decorator for page in sitemap
-
Nested Class Summary
Nested classes/interfaces inherited from class org.ametys.web.sitemap.SitemapIcon
SitemapIcon.Condition
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
configure
(Configuration configuration, String iconPathPrefix) Configure decorationvoid
configure
(Configuration configuration, String iconPathPrefix, String defaultCatalog) Configure decorationgetId()
The idgetLabel()
The decorator labelMethods inherited from class org.ametys.web.sitemap.SitemapIcon
getIcon, getIconDecorator, getIconGlyph, getMetadata, getMetadataCondition, getOrder, getPageType, getProperties, getPropertiesCondition, getTags, getTagsCondition, isLive, isRestricted
-
Constructor Details
-
SitemapDecorator
public SitemapDecorator()Constructor
-
-
Method Details
-
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
-
getId
The id- Returns:
- the id
-
getLabel
The decorator label- Returns:
- The label
-