Class ThymeleafStyleFactory
- java.lang.Object
-
- lumis.portal.serviceinterface.style.impl.thymeleaf.ThymeleafStyleFactory
-
- All Implemented Interfaces:
IStyleFactory
public class ThymeleafStyleFactory extends java.lang.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(java.lang.String stylePath, java.util.List<ITheme> themes)
Creates a cached version of the requested style.IStyle
createDynamicStyle(java.lang.String styleString, java.lang.String stylePath, java.util.List<ITheme> themes)
Creates a dynamic version of the requested style using the given style text.IStyle
createDynamicStyle(java.lang.String stylePath, java.util.List<ITheme> themes)
Creates a dynamic version of the requested style.
-
-
-
Method Detail
-
createCachedStyle
public IStyle createCachedStyle(java.lang.String stylePath, java.util.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(java.lang.String stylePath, java.util.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(java.lang.String styleString, java.lang.String stylePath, java.util.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
-
-