Interface SitemapTreeIndicator

All Superinterfaces:
Prioritizable
All Known Implementing Classes:
AbstractStaticSitemapIndicator, ClassifiedAdsRootSitemapIndicator, DefaultSitemapIndicator, OrgUnitRootSitemapIndicator, PageTagSitemapDecorator, UserDirectoryRootSitemapIndicator

public interface SitemapTreeIndicator extends Prioritizable
Interface representing a sitemap's indicator (icon or decorator)
  • Method Details

    • getId

      Get the indicator's id
      Returns:
      the id
    • getLabel

      The indicator's label
      Returns:
      the label. Can be null
    • getIcon

      The icon path
      Returns:
      The icon path. Can be null.
    • getIconGlyph

      The icon glyph
      Returns:
      The icon glyph. Can be null.
    • getIconDecorator

      The icon decorator
      Returns:
      The icon decorator
    • matches

      boolean matches(SitemapElement sitemapElement)
      Check if the sitemap element matches the indicator's conditions
      Parameters:
      sitemapElement - the sitemap element to check
      Returns:
      true if the element matches the indicator