Interface IStyleFactory
-
- All Known Implementing Classes:
AbstractJavascriptStyleFactory
,AbstractScriptingStyleFactory
,GenericJavascriptStyleFactory
,GroovyStyleFactory
,RhinoStyleFactory
,ThymeleafStyleFactory
,XslStyleFactory
public interface IStyleFactory
Style factory.- Since:
- 8.1.0
- Version:
- $Revision$ $Date$
-
-
Method Summary
All Methods Instance Methods Abstract 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
IStyle createCachedStyle(java.lang.String stylePath, java.util.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(java.lang.String stylePath, java.util.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(java.lang.String styleString, java.lang.String stylePath, java.util.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
-
-