class GpxWriter extends java.lang.Object
Write a Layer to a GPX document.
Type | Name and description |
---|---|
private java.lang.String |
attributeNamespace The attribute namespace (prefix=url) |
private java.lang.Object |
description The description filter, closure, or value |
private java.lang.Object |
elevation The elevation filter, closure, or value |
private boolean |
includeAttributes Whether to include attributes (defaults to false) |
private java.lang.Object |
name The name filter, closure, or value |
private java.lang.Object |
time The time elevation filter, closure, or value |
private java.lang.Object |
type The type filter, closure, or value |
private java.lang.String |
version The GPX version (defaults to 1.1) |
Constructor and description |
---|
GpxWriter
() |
Type Params | Return Type | Name and description |
---|---|---|
|
void |
write(Layer layer, OutputStream out) Write the Layer to the OutputStream
|
|
void |
write(Layer layer, File file) Write the Layer to the File
|
|
java.lang.String |
write(Layer layer) Write the Layer 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() |
The attribute namespace (prefix=url)
The description filter, closure, or value
The elevation filter, closure, or value
Whether to include attributes (defaults to false)
The name filter, closure, or value
The time elevation filter, closure, or value
The type filter, closure, or value
The GPX version (defaults to 1.1)
Write the Layer to the OutputStream
layer
- The Layerout
- The OutputStreamWrite the Layer to the File
layer
- The Layerfile
- The FileWrite the Layer to a String
layer
- The LayerGroovy Documentation