Class GpxTracksSessionImporter
- java.lang.Object
-
- org.openstreetmap.josm.io.session.GpxTracksSessionImporter
-
- All Implemented Interfaces:
SessionLayerImporter
- Direct Known Subclasses:
GpxRoutesSessionImporter
public class GpxTracksSessionImporter extends java.lang.Object implements SessionLayerImporter
Session exporter forGpxLayer.- Since:
- 5501
-
-
Constructor Summary
Constructors Constructor Description GpxTracksSessionImporter()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected LayergetLayer(GpxImporter.GpxImporterData importData)Layerload(org.w3c.dom.Element elem, SessionReader.ImportSupport support, ProgressMonitor progressMonitor)Load the layer from xml meta-data.
-
-
-
Constructor Detail
-
GpxTracksSessionImporter
public GpxTracksSessionImporter()
-
-
Method Detail
-
load
public Layer load(org.w3c.dom.Element elem, SessionReader.ImportSupport support, ProgressMonitor progressMonitor) throws java.io.IOException, IllegalDataException
Description copied from interface:SessionLayerImporterLoad the layer from xml meta-data.- Specified by:
loadin interfaceSessionLayerImporter- Parameters:
elem- XML elementsupport- support class providing import utilitiesprogressMonitor- progress monitor- Returns:
- the resulting layer
- Throws:
java.io.IOException- if any I/O error occursIllegalDataException- if invalid data is read
-
getLayer
protected Layer getLayer(GpxImporter.GpxImporterData importData)
-
-