org.openeai.xml
Class ParseErrorHandler

java.lang.Object
  extended by org.openeai.OpenEaiObject
      extended by 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

Field Summary
 
Fields inherited from class org.openeai.OpenEaiObject
logger
 
Constructor Summary
ParseErrorHandler()
          Constructor
 
Method Summary
 void error(org.xml.sax.SAXParseException e)
           
 void fatalError(org.xml.sax.SAXParseException e)
           
 boolean hasErrors()
           
 void setErrors(boolean value)
           
 void setExitOnError(boolean in)
           
 void warning(org.xml.sax.SAXParseException e)
           
 
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
 

Constructor Detail

ParseErrorHandler

public ParseErrorHandler()
Constructor

Method Detail

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