class StaticStyleExtensionModule extends java.lang.Object
A Groovy Extension Module that adds static methods to the Style class.
Constructor and description |
---|
StaticStyleExtensionModule() |
Type Params | Return Type | Name and description |
---|---|---|
|
static Style |
fromCSS(Style style, java.lang.String sld) Read a Style from an CSS String |
|
static Style |
fromSLD(Style style, java.lang.String sld) Read a Style from an SLD String |
|
static Style |
fromYSLD(Style style, java.lang.String sld) Read a Style from an YSLD String |
Methods inherited from class | Name |
---|---|
class java.lang.Object |
java.lang.Object#wait(long), java.lang.Object#wait(long, int), java.lang.Object#wait(), java.lang.Object#equals(java.lang.Object), java.lang.Object#toString(), java.lang.Object#hashCode(), java.lang.Object#getClass(), java.lang.Object#notify(), java.lang.Object#notifyAll() |
Read a Style from an CSS String
style
- The Stylesld
- The CSS StringRead a Style from an SLD String
style
- The Stylesld
- The SLD String