class SLDWriter extends java.lang.Object
Write a Style to an SLD document
def sym = new Fill("#ff00FF") + new Stroke("#ffff00", 0.25") def writer = new SLDWriter() writer.write(sym)
Type | Name and description |
---|---|
private boolean |
format Whether to format the SLD or not |
Constructor and description |
---|
SLDWriter
() |
Type Params | Return Type | Name and description |
---|---|---|
|
void |
write(Map options, Style style, OutputStream out) Write the Style to the OutputStream
|
|
void |
write(Map options, Style style, File file) Write the Style to the File
|
|
java.lang.String |
write(Map options, Style style) Write the Style to a String
|
Methods inherited from class | Name |
---|---|
class java.lang.Object |
java.lang.Object#wait(long, int), java.lang.Object#wait(long), 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() |
Write the Style to the OutputStream
options
- Optional named parameters
style
- The Styleout
- The OutputStreamWrite the Style to the File
options
- Optional named parameters
style
- The Stylefile
- The FileWrite the Style to a String
options
- Optional named parameters
The
- StyleGroovy Documentation