Class GeoImageSessionExporter
- java.lang.Object
-
- org.openstreetmap.josm.io.session.AbstractSessionExporter<GeoImageLayer>
-
- org.openstreetmap.josm.io.session.GeoImageSessionExporter
-
- All Implemented Interfaces:
SessionLayerExporter
public class GeoImageSessionExporter extends AbstractSessionExporter<GeoImageLayer>
Session exporter forGeoImageLayer
.- Since:
- 5505
-
-
Field Summary
-
Fields inherited from class org.openstreetmap.josm.io.session.AbstractSessionExporter
export, layer
-
-
Constructor Summary
Constructors Constructor Description GeoImageSessionExporter(GeoImageLayer layer)
Constructs a newGeoImageSessionExporter
.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method 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.-
Methods inherited from class org.openstreetmap.josm.io.session.AbstractSessionExporter
requiresZip, shallExport
-
-
-
-
Constructor Detail
-
GeoImageSessionExporter
public GeoImageSessionExporter(GeoImageLayer layer)
Constructs a newGeoImageSessionExporter
.- Parameters:
layer
- GeoImage layer to export
-
-
Method Detail
-
getDependencies
public java.util.Collection<Layer> getDependencies()
Description copied from interface:SessionLayerExporter
Return the Layers, this Layer depends on.- Specified by:
getDependencies
in interfaceSessionLayerExporter
- Overrides:
getDependencies
in classAbstractSessionExporter<GeoImageLayer>
- Returns:
- the layer dependencies
-
getExportPanel
public java.awt.Component getExportPanel()
Description copied from interface:SessionLayerExporter
The GUI for exporting this layer.- Returns:
- the export panel
-
export
public org.w3c.dom.Element export(SessionWriter.ExportSupport support) throws java.io.IOException
Description copied from interface:SessionLayerExporter
Save meta data to the .jos file. Return a layer XML element. Usesupport
to save files in the zip archive as needed.- Parameters:
support
- support class providing export utilities- Returns:
- the resulting XML element
- Throws:
java.io.IOException
- if any I/O error occurs
-
addAttr
private static void addAttr(java.lang.String name, java.lang.String value, org.w3c.dom.Element element, SessionWriter.ExportSupport support)
-
-