public class GeoImageSessionExporter extends java.lang.Object implements SessionLayerExporter
Modifier and Type | Field and Description |
---|---|
private javax.swing.JCheckBox |
export |
private GeoImageLayer |
layer |
Constructor and Description |
---|
GeoImageSessionExporter(GeoImageLayer layer) |
Modifier and Type | Method and Description |
---|---|
private static void |
addAttr(java.lang.String name,
java.lang.String value,
org.w3c.dom.Element element,
SessionWriter.ExportSupport support) |
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.
|
boolean |
shallExport()
Return true, if the layer should be included in the list of exported layers.
|
private GeoImageLayer layer
private javax.swing.JCheckBox export
public GeoImageSessionExporter(GeoImageLayer layer)
public java.util.Collection<Layer> getDependencies()
SessionLayerExporter
getDependencies
in interface SessionLayerExporter
public java.awt.Component getExportPanel()
SessionLayerExporter
getExportPanel
in interface SessionLayerExporter
public boolean shallExport()
SessionLayerExporter
shallExport
in interface SessionLayerExporter
true
if the layer should be included in the list of exported layers, false
otherwise.public boolean requiresZip()
SessionLayerExporter
requiresZip
in interface SessionLayerExporter
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.export
in interface SessionLayerExporter
support
- support class providing export utilitiesjava.io.IOException
- if any I/O error occursprivate static void addAttr(java.lang.String name, java.lang.String value, org.w3c.dom.Element element, SessionWriter.ExportSupport support)