org.openeai.xml
Class ParseErrorHandler
java.lang.Object
org.openeai.OpenEaiObject
org.openeai.xml.ParseErrorHandler
- All Implemented Interfaces:
- org.xml.sax.ErrorHandler
public class ParseErrorHandler
- extends OpenEaiObject
- implements org.xml.sax.ErrorHandler
ParseErrorHandler class. A class used to handle XML validation errors. Used by the XmlValidator class.
- Version:
- 3.0 - 28 January 2003
- Author:
- Tod Jackson (tod@openeai.org), Steve Wheat (steve@openeai.org)
- See Also:
XmlValidator
| Methods inherited from class org.openeai.OpenEaiObject |
getAppName, getDebug, getFromAddr, getMailHost, getMailService, getProperties, getToAddr, initializeLog4j, initializeLog4j, initializeLog4j, setAppName, setDebug, setFromAddr, setMailHost, setMailService, setProperties, setToAddr |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ParseErrorHandler
public ParseErrorHandler()
- Constructor
setExitOnError
public void setExitOnError(boolean in)
hasErrors
public boolean hasErrors()
setErrors
public void setErrors(boolean value)
warning
public void warning(org.xml.sax.SAXParseException e)
throws org.xml.sax.SAXException
- Specified by:
warning in interface org.xml.sax.ErrorHandler
- Throws:
org.xml.sax.SAXException
error
public void error(org.xml.sax.SAXParseException e)
throws org.xml.sax.SAXException
- Specified by:
error in interface org.xml.sax.ErrorHandler
- Throws:
org.xml.sax.SAXException
fatalError
public void fatalError(org.xml.sax.SAXParseException e)
throws org.xml.sax.SAXException
- Specified by:
fatalError in interface org.xml.sax.ErrorHandler
- Throws:
org.xml.sax.SAXException
Copyright © 2002,2003 OpenEAI Software Foundation