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
-
-
Field Summary
Fields Modifier and Type Field Description private String
_id
private I18nizableText
_label
-
Constructor Summary
Constructors Constructor Description SitemapDecorator()
Constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description private I18nizableText
_configureI18n(Configuration child)
void
configure(Configuration configuration)
Configure decorationString
getId()
The idI18nizableText
getLabel()
The decorator label-
Methods inherited from class org.ametys.web.sitemap.SitemapIcon
getIcon, getIconDecorator, getIconGlyph, getMetadata, getMetadataCondition, getPageType, getProperties, getPropertiesCondition, getTags, getTagsCondition, isLive, isRestricted
-
-
-
-
Field Detail
-
_label
private I18nizableText _label
-
-
Constructor Detail
-
SitemapDecorator
public SitemapDecorator()
Constructor
-
-
Method Detail
-
configure
public void configure(Configuration configuration) throws ConfigurationException
Description copied from class:SitemapIcon
Configure decoration- Overrides:
configure
in classSitemapIcon
- Parameters:
configuration
- the configuration- Throws:
ConfigurationException
- if configuration is invalid
-
getLabel
public I18nizableText getLabel()
The decorator label- Returns:
- The label
-
_configureI18n
private I18nizableText _configureI18n(Configuration child)
-
-