Class OsmReader

java.lang.Object
org.openstreetmap.josm.io.AbstractReader
org.openstreetmap.josm.io.OsmReader
Direct Known Subclasses:
OsmChangeReader, OverpassDownloadReader.OverpassOsmReader

public class OsmReader extends AbstractReader
Parser for the Osm API (XML output). Read from an input stream and construct a dataset out of it. For each xml element, there is a dedicated method. The XMLStreamReader cursor points to the start of the element, when the method is entered, and it must point to the end of the same element, when it is exited.