Class CSSStyleManager

java.lang.Object
org.eclnt.jsfserver.util.CSSStyleManager

public class CSSStyleManager extends Object
  • Constructor Details

    • CSSStyleManager

      public CSSStyleManager()
  • Method Details

    • findCSSFilesAsCSVString

      public static String findCSSFilesAsCSVString(String ccStyleName)
    • findCSSFiles

      public static List<String> findCSSFiles(String styleName, boolean filterAgainstSystemlXml)
    • readCSS

      public static String readCSS(String styleName)
    • readCSSStyleClasses

      public static List<CSSStyleClass> readCSSStyleClasses(String styleName)
    • readJSON

      public static String readJSON(String styleName)
    • reset

      public static void reset()
    • readRiscStyleXMLDesignTime

      public static String readRiscStyleXMLDesignTime(ProjectInfo pi, String styleName, ClassLoader cl)
    • findRiscStyleNameInDirectory

      public static String findRiscStyleNameInDirectory(String directory)
      The XML file of the style does not have a fix name, but only needs to start with the name "riscstyle" and needs to end with extension ".xml". This method picks the file from the directory.
    • readRiscStyleXML

      public static String readRiscStyleXML(String styleName)
      Read the CSS-style-xml for the current runtime and combine it with additional styles coming from the classloader.
    • combineCSSStyleWithAdditionalStyles

      public static String combineCSSStyleWithAdditionalStyles(String cssXml, String styleName, String styleXMLFileName, ClassLoader cl)
      Combines the CSS-style-xml with additional style information coming from additional styles coming from the classloader (page bean components).