Interface SemanticCMS.ListItemCssClassResolver<N extends Node>

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.ListItemCssClassResolver<N extends Node>
Resolves the list item CSS class for the given types of nodes.
  • Method Summary

    Modifier and Type
    Method
    Description
    Gets the CSS class to use in list items to the given node.
  • Method Details

    • getListItemCssClass

      String getListItemCssClass(N node)
      Gets the CSS class to use in list items to the given node. 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 node.