public class OsmChangeReader extends OsmReader
Modifier and Type | Field and Description |
---|---|
private static java.lang.String[] |
ACTIONS
List of possible actions.
|
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(java.lang.String action) |
static DataSet |
parseDataSet(java.io.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, throwException
getDataSet, prepareDataSet, processChangesetAfterParsing, processNodesAfterParsing, processRelationsAfterParsing, processWaysAfterParsing
private static final java.lang.String[] ACTIONS
protected OsmChangeReader()
protected void parseRoot() throws javax.xml.stream.XMLStreamException
private void parseOsmChange() throws javax.xml.stream.XMLStreamException
javax.xml.stream.XMLStreamException
private void parseCommon(java.lang.String action) throws javax.xml.stream.XMLStreamException
javax.xml.stream.XMLStreamException
public static DataSet parseDataSet(java.io.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
- if the an error was found while parsing the data from the sourcejava.lang.IllegalArgumentException
- if source is null