Module com.semanticcms.core.servlet
Package com.semanticcms.core.servlet
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.
Resolves the link CSS class for the given types of elements.
-
Method Summary
Modifier and TypeMethodDescriptiongetCssLinkClass
(E element) Gets the CSS class to use in links to the given element.
-
Method Details
-
getCssLinkClass
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.
-