Class 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$ $Date$
    • 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.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • XslStyleFactory

        public XslStyleFactory()
    • 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 interface IStyleFactory
        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 interface IStyleFactory
        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 interface IStyleFactory
        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