Package org.eclnt.jsfserver.util
Class CSSStyleManager
java.lang.Object
org.eclnt.jsfserver.util.CSSStyleManager
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic StringcombineCSSStyleWithAdditionalStyles(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).findCSSFiles(String styleName, boolean filterAgainstSystemlXml) static StringfindCSSFilesAsCSVString(String ccStyleName) static StringfindRiscStyleNameInDirectory(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".static Stringstatic List<CSSStyleClass>readCSSStyleClasses(String styleName) static Stringstatic StringreadRiscStyleXML(String styleName) Read the CSS-style-xml for the current runtime and combine it with additional styles coming from the classloader.static StringreadRiscStyleXMLDesignTime(ProjectInfo pi, String styleName, ClassLoader cl) static voidreset()
-
Constructor Details
-
CSSStyleManager
public CSSStyleManager()
-
-
Method Details
-
findCSSFilesAsCSVString
-
findCSSFiles
-
readCSS
-
readCSSStyleClasses
-
readJSON
-
reset
public static void reset() -
readRiscStyleXMLDesignTime
-
findRiscStyleNameInDirectory
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
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).
-