Class ImagerySessionExporter
- java.lang.Object
-
- org.openstreetmap.josm.io.session.AbstractSessionExporter<ImageryLayer>
-
- org.openstreetmap.josm.io.session.ImagerySessionExporter
-
- All Implemented Interfaces:
SessionLayerExporter
public class ImagerySessionExporter extends AbstractSessionExporter<ImageryLayer>
- Since:
- 5391
-
-
Field Summary
-
Fields inherited from class org.openstreetmap.josm.io.session.AbstractSessionExporter
export, layer
-
-
Constructor Summary
Constructors Constructor Description ImagerySessionExporter(ImageryLayer layer)
Constructs a newImagerySessionExporter
.ImagerySessionExporter(TMSLayer layer)
Constructs a newImagerySessionExporter
.ImagerySessionExporter(WMSLayer layer)
Constructs a newImagerySessionExporter
.ImagerySessionExporter(WMTSLayer layer)
Constructs a newImagerySessionExporter
.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description private static void
addAttributes(org.w3c.dom.Element element, java.util.Map<java.lang.String,java.lang.String> props, SessionWriter.ExportSupport support)
org.w3c.dom.Element
export(SessionWriter.ExportSupport support)
Save meta data to the .jos file.java.awt.Component
getExportPanel()
The GUI for exporting this layer.-
Methods inherited from class org.openstreetmap.josm.io.session.AbstractSessionExporter
getDependencies, requiresZip, shallExport
-
-
-
-
Constructor Detail
-
ImagerySessionExporter
public ImagerySessionExporter(ImageryLayer layer)
Constructs a newImagerySessionExporter
.- Parameters:
layer
- imagery layer to export
-
ImagerySessionExporter
public ImagerySessionExporter(TMSLayer layer)
Constructs a newImagerySessionExporter
.- Parameters:
layer
- TMS layer to export
-
ImagerySessionExporter
public ImagerySessionExporter(WMSLayer layer)
Constructs a newImagerySessionExporter
.- Parameters:
layer
- WMS layer to export
-
ImagerySessionExporter
public ImagerySessionExporter(WMTSLayer layer)
Constructs a newImagerySessionExporter
.- Parameters:
layer
- WMTS layer to export
-
-
Method Detail
-
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
-
addAttributes
private static void addAttributes(org.w3c.dom.Element element, java.util.Map<java.lang.String,java.lang.String> props, SessionWriter.ExportSupport support)
-
-