Class XslStyleFactory
- java.lang.Object
-
- lumis.portal.serviceinterface.style.impl.xsl.XslStyleFactory
-
- All Implemented Interfaces:
IStyleFactory
public class XslStyleFactory extends java.lang.Object implements IStyleFactory
Style factory for XSL styles.- Since:
- 8.1.0
- Version:
- $Revision: 19606 $ $Date: 2016-12-13 10:32:19 -0200 (Tue, 13 Dec 2016) $
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
XslStyleFactory.LumisTransformer
Transformer
delegate that store, besides the own transformer, a boolean indicating whether the owned transformer has ELs or not.
-
Constructor Summary
Constructors Constructor Description XslStyleFactory()
-
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 xslStringDocument, java.lang.String resourcePath, 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 xslStringDocument, java.lang.String resourcePath, 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:
xslStringDocument
- the style text.resourcePath
- the style path.themes
- the current applied themes.- Returns:
- a dynamic version of the requested style using the given style text.
- Throws:
PortalException
-
-