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