bodhidharma.xml_parsing
Class ParsingXMLErrorHandler
java.lang.Object
bodhidharma.xml_parsing.ParsingXMLErrorHandler
- All Implemented Interfaces:
- org.xml.sax.ErrorHandler
public class ParsingXMLErrorHandler
- extends java.lang.Object
- implements org.xml.sax.ErrorHandler
An implementation of the XML SAX ErrorHandler
class. The methods of this class are called by an instance of an
XMLReader
while it is parsing an XML document.
This particular implementation simply throws unaltered
exceptions of all three standard types.
- See Also:
ErrorHandler
,
XMLReader
- Author:
- Cory McKay
Method Summary |
void |
error(org.xml.sax.SAXParseException exception)
|
void |
fatalError(org.xml.sax.SAXParseException exception)
|
void |
warning(org.xml.sax.SAXParseException exception)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ParsingXMLErrorHandler
public ParsingXMLErrorHandler()
warning
public void warning(org.xml.sax.SAXParseException exception)
throws org.xml.sax.SAXParseException
- Specified by:
warning
in interface org.xml.sax.ErrorHandler
- Throws:
org.xml.sax.SAXParseException
error
public void error(org.xml.sax.SAXParseException exception)
throws org.xml.sax.SAXParseException
- Specified by:
error
in interface org.xml.sax.ErrorHandler
- Throws:
org.xml.sax.SAXParseException
fatalError
public void fatalError(org.xml.sax.SAXParseException exception)
throws org.xml.sax.SAXParseException
- Specified by:
fatalError
in interface org.xml.sax.ErrorHandler
- Throws:
org.xml.sax.SAXParseException