private class OsmChangesetParser.Parser extends DefaultHandler
Modifier and Type | Field and Description |
---|---|
private Changeset |
current
The current changeset
|
private Locator |
locator |
Modifier | Constructor and Description |
---|---|
private |
Parser() |
Modifier and Type | Method and Description |
---|---|
protected User |
createUser(String uid,
String name) |
void |
endElement(String uri,
String localName,
String qName) |
protected void |
parseChangesetAttributes(Changeset cs,
Attributes atts) |
void |
setDocumentLocator(Locator locator) |
void |
startElement(String namespaceURI,
String localName,
String qName,
Attributes atts) |
protected void |
throwException(String msg) |
characters, endDocument, endPrefixMapping, error, fatalError, ignorableWhitespace, notationDecl, processingInstruction, resolveEntity, skippedEntity, startDocument, startPrefixMapping, unparsedEntityDecl, warning
private Parser()
public void setDocumentLocator(Locator locator)
setDocumentLocator
in interface ContentHandler
setDocumentLocator
in class DefaultHandler
protected void throwException(String msg) throws OsmDataParsingException
OsmDataParsingException
protected void parseChangesetAttributes(Changeset cs, Attributes atts) throws OsmDataParsingException
OsmDataParsingException
public void startElement(String namespaceURI, String localName, String qName, Attributes atts) throws SAXException
startElement
in interface ContentHandler
startElement
in class DefaultHandler
SAXException
public void endElement(String uri, String localName, String qName) throws SAXException
endElement
in interface ContentHandler
endElement
in class DefaultHandler
SAXException
protected User createUser(String uid, String name) throws OsmDataParsingException
OsmDataParsingException