Class ImagerySessionImporter
java.lang.Object
org.openstreetmap.josm.io.session.ImagerySessionImporter
- All Implemented Interfaces:
SessionLayerImporter
- Since:
- 5391
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate static ElementgetFirstElementByTagName(Element el, String name) load(Element elem, SessionReader.ImportSupport support, ProgressMonitor progressMonitor) Load the layer from xml meta-data.readProperties(Element elem)
-
Constructor Details
-
ImagerySessionImporter
public ImagerySessionImporter()
-
-
Method Details
-
load
public Layer load(Element elem, SessionReader.ImportSupport support, ProgressMonitor progressMonitor) throws 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:
IOException- if any I/O error occursIllegalDataException- if invalid data is read
-
getFirstElementByTagName
-
readProperties
-