edu.princeton.wordnet.client.browser.dom
Class ParseErrorHandler

java.lang.Object
  extended by edu.princeton.wordnet.client.browser.dom.ParseErrorHandler
All Implemented Interfaces:
org.xml.sax.ErrorHandler
Direct Known Subclasses:
ParseErrorLogger

 class ParseErrorHandler
extends java.lang.Object
implements org.xml.sax.ErrorHandler

Parse-error handler

Author:
Bernard Bou

Field Summary
protected  int theErrors
          Count of errors
protected  int theFatalErrors
          Count of fatal errors
protected  int theWarnings
          Count of warnings
 
Constructor Summary
protected ParseErrorHandler()
          Constructor
 
Method Summary
 void error(org.xml.sax.SAXParseException e)
           
 void fatalError(org.xml.sax.SAXParseException e)
           
 void warning(org.xml.sax.SAXParseException e)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

theWarnings

protected int theWarnings
Count of warnings


theErrors

protected int theErrors
Count of errors


theFatalErrors

protected int theFatalErrors
Count of fatal errors

Constructor Detail

ParseErrorHandler

protected ParseErrorHandler()
Constructor

Method Detail

error

public void error(org.xml.sax.SAXParseException e)
           throws org.xml.sax.SAXParseException
Specified by:
error in interface org.xml.sax.ErrorHandler
Throws:
org.xml.sax.SAXParseException

warning

public void warning(org.xml.sax.SAXParseException e)
             throws org.xml.sax.SAXParseException
Specified by:
warning in interface org.xml.sax.ErrorHandler
Throws:
org.xml.sax.SAXParseException

fatalError

public void fatalError(org.xml.sax.SAXParseException e)
                throws org.xml.sax.SAXParseException
Specified by:
fatalError in interface org.xml.sax.ErrorHandler
Throws:
org.xml.sax.SAXParseException