|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object edu.jhu.ece.iacl.jist.io.XMLErrorHandler
public class XMLErrorHandler
Error handler to report errors and warnings from the XML parser. Implements standard SAX ErrorHandler methods, see SAX docs for more info.
FileOME
,
FileProject
,
MipavFileVOI
,
FileXML
Constructor Summary | |
---|---|
XMLErrorHandler()
|
Method Summary | |
---|---|
void |
error(org.xml.sax.SAXParseException spe)
Handles parse exception errors by passing the parse exception up as a SAXException. |
void |
fatalError(org.xml.sax.SAXParseException spe)
Handles parse exception fatal errors by passing the parse exception up as a SAXException. |
void |
warning(org.xml.sax.SAXParseException spe)
Handles parse exception warnings by outputting them to the debug window. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public XMLErrorHandler()
Method Detail |
---|
public void error(org.xml.sax.SAXParseException spe) throws org.xml.sax.SAXException
error
in interface org.xml.sax.ErrorHandler
spe
- the spe
org.xml.sax.SAXException
- passed up with the parse exception info
org.xml.sax.SAXException
- the SAX exceptionpublic void fatalError(org.xml.sax.SAXParseException spe) throws org.xml.sax.SAXException
fatalError
in interface org.xml.sax.ErrorHandler
spe
- the spe
org.xml.sax.SAXException
- passed up with the parse exception info
org.xml.sax.SAXException
- the SAX exceptionpublic void warning(org.xml.sax.SAXParseException spe) throws org.xml.sax.SAXException
warning
in interface org.xml.sax.ErrorHandler
spe
- the spe
org.xml.sax.SAXException
- not reported for warnings
org.xml.sax.SAXException
- the SAX exception
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |