public class OsmChangeReader extends OsmReader
| Modifier and Type | Field and Description |
|---|---|
static String[] |
ACTIONS |
cancel, parser, postprocessorsds, 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, throwExceptiongetDataSet, prepareDataSet, processChangesetAfterParsing, processNodesAfterParsing, processRelationsAfterParsing, processWaysAfterParsingprotected OsmChangeReader()
protected void parseRoot() throws XMLStreamException
parseRoot in class OsmReaderXMLStreamExceptionprivate void parseOsmChange() throws XMLStreamException
XMLStreamExceptionprivate void parseCommon(String action) throws XMLStreamException
XMLStreamExceptionpublic 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