Interface SemanticCMS.LinkCssClassResolver<E extends Element>

Enclosing class:
SemanticCMS
Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

@FunctionalInterface public static interface SemanticCMS.LinkCssClassResolver<E extends Element>
Resolves the link CSS class for the given types of elements.
  • Method Summary

    Modifier and Type
    Method
    Description
    getCssLinkClass(E element)
    Gets the CSS class to use in links to the given element.
  • Method Details

    • getCssLinkClass

      String getCssLinkClass(E element)
      Gets the CSS class to use in links to the given element. When null is returned, any resolvers for super classes will also be invoked.
      Returns:
      The CSS class name or null when none configured for the provided element.