treebolic.provider.xml.dom
Class ParseErrorHandler

java.lang.Object
  extended by treebolic.provider.xml.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
          Error count
protected  int theFatalErrors
          Fatal error count
protected  int theWarnings
          Warning count
 
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
Warning count


theErrors

protected int theErrors
Error count


theFatalErrors

protected int theFatalErrors
Fatal error count

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