Package org.openstreetmap.josm.io
Class OsmChangesetContentParser.Parser
java.lang.Object
org.xml.sax.helpers.DefaultHandler
org.openstreetmap.josm.io.AbstractParser
org.openstreetmap.josm.io.OsmChangesetContentParser.Parser
- All Implemented Interfaces:
ContentHandler,DTDHandler,EntityResolver,ErrorHandler
- Enclosing class:
- OsmChangesetContentParser
-
Field Summary
FieldsModifier and TypeFieldDescriptionthe current change modification typeFields inherited from class org.openstreetmap.josm.io.AbstractParser
currentPrimitive, locator, useAnonymousUser -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidendElement(String uri, String localName, String qName) voidvoidvoidstartElement(String namespaceURI, String localName, String qName, Attributes atts) protected voidthrowException(String message) protected voidthrowException(String message, Exception e) Methods inherited from class org.openstreetmap.josm.io.AbstractParser
createPrimitive, doStartElement, getAttributeDouble, getAttributeLong, getMandatoryAttributeBoolean, getMandatoryAttributeLong, getMandatoryAttributeString, handleMember, handleNodeReference, handleTag, setDocumentLocator, startNode, startRelation, startWayMethods inherited from class org.xml.sax.helpers.DefaultHandler
characters, endDocument, endPrefixMapping, ignorableWhitespace, notationDecl, processingInstruction, resolveEntity, skippedEntity, startDocument, startPrefixMapping, unparsedEntityDecl, warningMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.xml.sax.ContentHandler
declaration
-
Field Details
-
currentModificationType
the current change modification type
-
-
Constructor Details
-
Parser
Parser(boolean useAnonymousUser)
-
-
Method Details
-
throwException
- Specified by:
throwExceptionin classAbstractParser- Throws:
XmlParsingException
-
throwException
- Specified by:
throwExceptionin classAbstractParser- Throws:
XmlParsingException
-
startElement
public void startElement(String namespaceURI, String localName, String qName, Attributes atts) throws SAXException - Specified by:
startElementin interfaceContentHandler- Overrides:
startElementin classDefaultHandler- Throws:
SAXException
-
endElement
- Specified by:
endElementin interfaceContentHandler- Overrides:
endElementin classDefaultHandler- Throws:
SAXException
-
error
- Specified by:
errorin interfaceErrorHandler- Overrides:
errorin classDefaultHandler- Throws:
SAXException
-
fatalError
- Specified by:
fatalErrorin interfaceErrorHandler- Overrides:
fatalErrorin classDefaultHandler- Throws:
SAXException
-