class YSLDWriter extends java.lang.Object
Write a Style to an SLD document
def sym = new Fill("#ff00FF") + new Stroke("#ffff00", 0.25") def writer = new YSLDWriter() writer.write(sym)
Constructor and description |
---|
YSLDWriter
() |
Type Params | Return Type | Name and description |
---|---|---|
|
void |
write(Style style, OutputStream out) Write the Style to the OutputStream
|
|
void |
write(Style style, File file) Write the Style to the File
|
|
java.lang.String |
write(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
style
- The Styleout
- The OutputStreamWrite the Style to the File
style
- The Stylefile
- The FileWrite the Style to a String
style
- The Style