Package org.openstreetmap.josm.io
Class DiffResultProcessor.Parser
- java.lang.Object
-
- org.xml.sax.helpers.DefaultHandler
-
- org.openstreetmap.josm.io.DiffResultProcessor.Parser
-
- All Implemented Interfaces:
ContentHandler
,DTDHandler
,EntityResolver
,ErrorHandler
- Enclosing class:
- DiffResultProcessor
private class DiffResultProcessor.Parser extends DefaultHandler
-
-
Constructor Summary
Constructors Modifier Constructor Description private
Parser()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
setDocumentLocator(Locator locator)
void
startElement(String namespaceURI, String localName, String qName, Attributes atts)
protected void
throwException(String msg)
-
Methods inherited from class org.xml.sax.helpers.DefaultHandler
characters, endDocument, endElement, endPrefixMapping, error, fatalError, ignorableWhitespace, notationDecl, processingInstruction, resolveEntity, skippedEntity, startDocument, startPrefixMapping, unparsedEntityDecl, warning
-
-
-
-
Constructor Detail
-
Parser
private Parser()
-
-
Method Detail
-
setDocumentLocator
public void setDocumentLocator(Locator locator)
- Specified by:
setDocumentLocator
in interfaceContentHandler
- Overrides:
setDocumentLocator
in classDefaultHandler
-
throwException
protected void throwException(String msg) throws XmlParsingException
- Throws:
XmlParsingException
-
startElement
public void startElement(String namespaceURI, String localName, String qName, Attributes atts) throws SAXException
- Specified by:
startElement
in interfaceContentHandler
- Overrides:
startElement
in classDefaultHandler
- Throws:
SAXException
-
-