Interface IStyleFactory
-
- All Known Implementing Classes:
AbstractScriptingStyleFactory
,GroovyStyleFactory
,JavascriptStyleFactory
,ThymeleafStyleFactory
,XslStyleFactory
public interface IStyleFactory
Style factory.- Since:
- 8.1.0
- Version:
- $Revision: 17593 $ $Date: 2015-07-17 11:21:36 -0300 (Fri, 17 Jul 2015) $
-
-
Method Summary
All Methods Instance Methods Abstract 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
IStyle createCachedStyle(String stylePath, List<ITheme> themes) throws PortalException
Creates a cached version of the requested style.- Parameters:
stylePath
- the style path.themes
- the current applied themes.- Returns:
- a cached version of the requested style.
- Throws:
PortalException
- Since:
- 8.1.0
-
createDynamicStyle
IStyle createDynamicStyle(String stylePath, List<ITheme> themes) throws PortalException
Creates a dynamic version of the requested style.- Parameters:
stylePath
- the style path.themes
- the current applied themes.- Returns:
- a dynamic version of the requested style.
- Throws:
PortalException
- Since:
- 8.1.0
-
createDynamicStyle
IStyle createDynamicStyle(String styleString, String stylePath, List<ITheme> themes) throws PortalException
Creates a dynamic version of the requested style using the given style text.- 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
- Since:
- 8.1.0
-
-