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, warningprivate Parser()
public void setDocumentLocator(Locator locator)
setDocumentLocator in interface ContentHandlersetDocumentLocator in class DefaultHandlerprotected void throwException(String msg) throws OsmDataParsingException
OsmDataParsingExceptionprotected void parseChangesetAttributes(Changeset cs, Attributes atts) throws OsmDataParsingException
OsmDataParsingExceptionpublic void startElement(String namespaceURI, String localName, String qName, Attributes atts) throws SAXException
startElement in interface ContentHandlerstartElement in class DefaultHandlerSAXExceptionpublic void endElement(String uri, String localName, String qName) throws SAXException
endElement in interface ContentHandlerendElement in class DefaultHandlerSAXExceptionprotected User createUser(String uid, String name) throws OsmDataParsingException
OsmDataParsingException