public class MarkerSessionExporter extends AbstractSessionExporter<MarkerLayer>
MarkerLayer
.Modifier and Type | Class and Description |
---|---|
static class |
MarkerSessionExporter.MarkerWriter
Writes GPX file from marker data.
|
export, layer
Constructor and Description |
---|
MarkerSessionExporter(MarkerLayer layer)
Constructs a new
MarkerSessionExporter . |
Modifier and Type | Method and Description |
---|---|
protected void |
addDataFile(java.io.OutputStream out) |
org.w3c.dom.Element |
export(SessionWriter.ExportSupport support)
Save meta data to the .jos file.
|
java.util.Collection<Layer> |
getDependencies()
Return the Layers, this Layer depends on.
|
java.awt.Component |
getExportPanel()
The GUI for exporting this layer.
|
boolean |
requiresZip()
Return true, if some data needs to be included in the zip archive.
|
shallExport
public MarkerSessionExporter(MarkerLayer layer)
MarkerSessionExporter
.layer
- marker layer to exportpublic java.util.Collection<Layer> getDependencies()
SessionLayerExporter
getDependencies
in interface SessionLayerExporter
getDependencies
in class AbstractSessionExporter<MarkerLayer>
public java.awt.Component getExportPanel()
SessionLayerExporter
public boolean requiresZip()
SessionLayerExporter
requiresZip
in interface SessionLayerExporter
requiresZip
in class AbstractSessionExporter<MarkerLayer>
true
if some data needs to be included in the zip archive, false
otherwise.public org.w3c.dom.Element export(SessionWriter.ExportSupport support) throws java.io.IOException
SessionLayerExporter
support
to save files in the zip archive as needed.support
- support class providing export utilitiesjava.io.IOException
- if any I/O error occursprotected void addDataFile(java.io.OutputStream out)