|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectdip.world.variant.parser.XMLErrorHandler
A simple error handler for the XML parsers.
Errors sent to an ErrorDialog
| Constructor Summary | |
XMLErrorHandler()
Create an XMLErrorHandler |
|
| Method Summary | |
void |
error(org.xml.sax.SAXParseException exception)
Handle a (recoverable) error |
void |
fatalError(org.xml.sax.SAXParseException exception)
Handle a non-recoverable error |
protected java.lang.String |
getLocationString(org.xml.sax.SAXParseException e)
Gets the error, nicely formatted |
protected void |
showError(org.xml.sax.SAXParseException e,
java.lang.String type)
Dialog method for error handling |
void |
warning(org.xml.sax.SAXParseException exception)
Handle a warning |
| 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 exception)
error in interface org.xml.sax.ErrorHandlerpublic void fatalError(org.xml.sax.SAXParseException exception)
fatalError in interface org.xml.sax.ErrorHandlerpublic void warning(org.xml.sax.SAXParseException exception)
warning in interface org.xml.sax.ErrorHandler
protected void showError(org.xml.sax.SAXParseException e,
java.lang.String type)
protected java.lang.String getLocationString(org.xml.sax.SAXParseException e)
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||