Class ThymeleafStyleFactory
- java.lang.Object
-
- lumis.portal.serviceinterface.style.impl.thymeleaf.ThymeleafStyleFactory
-
- All Implemented Interfaces:
IStyleFactory
public class ThymeleafStyleFactory extends Object implements IStyleFactory
Thymeleaf style factory.- Since:
- 10.3.0
- Version:
- $Revision: 20807 $ $Date: 2017-11-30 17:08:51 -0200 (Thu, 30 Nov 2017) $
-
-
Constructor Summary
Constructors Constructor Description ThymeleafStyleFactory()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description IStyle
createCachedStyle(String stylePath, List<ITheme> themes)
Creates a cached version of the requested style.IStyle
createDynamicStyle(String styleString, String stylePath, List<ITheme> themes)
Creates a dynamic version of the requested style using the given style text.IStyle
createDynamicStyle(String stylePath, List<ITheme> themes)
Creates a dynamic version of the requested style.
-
-
-
Method Detail
-
createCachedStyle
public IStyle createCachedStyle(String stylePath, List<ITheme> themes) throws PortalException
Description copied from interface:IStyleFactory
Creates a cached version of the requested style.- Specified by:
createCachedStyle
in interfaceIStyleFactory
- Parameters:
stylePath
- the style path.themes
- the current applied themes.- Returns:
- a cached version of the requested style.
- Throws:
PortalException
-
createDynamicStyle
public IStyle createDynamicStyle(String stylePath, List<ITheme> themes) throws PortalException
Description copied from interface:IStyleFactory
Creates a dynamic version of the requested style.- Specified by:
createDynamicStyle
in interfaceIStyleFactory
- Parameters:
stylePath
- the style path.themes
- the current applied themes.- Returns:
- a dynamic version of the requested style.
- Throws:
PortalException
-
createDynamicStyle
public IStyle createDynamicStyle(String styleString, String stylePath, List<ITheme> themes) throws PortalException
Description copied from interface:IStyleFactory
Creates a dynamic version of the requested style using the given style text.- Specified by:
createDynamicStyle
in interfaceIStyleFactory
- Parameters:
styleString
- the style text.stylePath
- the style path.themes
- the current applied themes.- Returns:
- a dynamic version of the requested style using the given style text.
- Throws:
PortalException
-
-