ami
Class AMIErrorHandler
java.lang.Object
|
+--ami.AMIErrorHandler
- All Implemented Interfaces:
- org.xml.sax.ErrorHandler
- class AMIErrorHandler
- extends Object
- implements org.xml.sax.ErrorHandler
Convenient class used as ErrorHandler for validating
- Version:
- 1.0
- Author:
- Bertrand Florat
Method Summary |
void |
error(org.xml.sax.SAXParseException spe)
parsing error |
void |
fatalError(org.xml.sax.SAXParseException spe)
parsing fatal error |
static AMIErrorHandler |
getInstance()
|
void |
warning(org.xml.sax.SAXParseException spe)
parsing warning |
Methods inherited from class java.lang.Object |
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, registerNatives, toString, wait, wait, wait |
aeh
private static AMIErrorHandler aeh
- error handler singleton
AMIErrorHandler
AMIErrorHandler()
getInstance
public static AMIErrorHandler getInstance()
warning
public void warning(org.xml.sax.SAXParseException spe)
throws org.xml.sax.SAXException
- parsing warning
- Specified by:
warning
in interface org.xml.sax.ErrorHandler
- Parameters:
spe
- - Throws:
org.xml.sax.SAXException
-
error
public void error(org.xml.sax.SAXParseException spe)
throws org.xml.sax.SAXException
- parsing error
- Specified by:
error
in interface org.xml.sax.ErrorHandler
- Parameters:
spe
- - Throws:
org.xml.sax.SAXException
-
fatalError
public void fatalError(org.xml.sax.SAXParseException spe)
throws org.xml.sax.SAXException
- parsing fatal error
- Specified by:
fatalError
in interface org.xml.sax.ErrorHandler
- Parameters:
spe
- - Throws:
org.xml.sax.SAXException
-