Package org.openstreetmap.josm.io
Class OsmHistoryReader.Parser
java.lang.Object
org.xml.sax.helpers.DefaultHandler
org.openstreetmap.josm.io.AbstractParser
org.openstreetmap.josm.io.OsmHistoryReader.Parser
- All Implemented Interfaces:
ContentHandler,DTDHandler,EntityResolver,ErrorHandler
- Enclosing class:
- OsmHistoryReader
-
Field Summary
Fields 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) (package private) StringvoidstartElement(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, error, fatalError, 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
-
Constructor Details
-
Parser
private Parser()
-
-
Method Details
-
getCurrentPosition
-
throwException
- Specified by:
throwExceptionin classAbstractParser- Throws:
SAXException
-
throwException
- Specified by:
throwExceptionin classAbstractParser- Throws:
SAXException
-
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
-