public class OsmChangeReader extends OsmReader
Modifier and Type | Field and Description |
---|---|
static String[] |
ACTIONS |
cancel, parser, postprocessors
ds, externalIdMap, relations, uploadChangeset, ways
Modifier | Constructor and Description |
---|---|
protected |
OsmChangeReader()
constructor (for private and subclasses use only)
|
Modifier and Type | Method and Description |
---|---|
private void |
parseCommon(String action) |
static DataSet |
parseDataSet(InputStream source,
ProgressMonitor progressMonitor)
Parse the given input source and return the dataset.
|
private void |
parseOsmChange() |
protected void |
parseRoot() |
deregisterPostprocessor, doParseDataSet, parse, parseNode, parseRelation, parseUnknown, parseUnknown, parseWay, registerPostprocessor, setParser, throwException
getDataSet, prepareDataSet, processChangesetAfterParsing, processNodesAfterParsing, processRelationsAfterParsing, processWaysAfterParsing
protected OsmChangeReader()
protected void parseRoot() throws XMLStreamException
parseRoot
in class OsmReader
XMLStreamException
private void parseOsmChange() throws XMLStreamException
XMLStreamException
private void parseCommon(String action) throws XMLStreamException
XMLStreamException
public static DataSet parseDataSet(InputStream source, ProgressMonitor progressMonitor) throws IllegalDataException
source
- the source input stream. Must not be null
.progressMonitor
- the progress monitor. If null
,
NullProgressMonitor.INSTANCE
is assumedIllegalDataException
- thrown if the an error was found while parsing the data from the sourceIllegalArgumentException
- thrown if source is null