fi.iki.hsivonen.xml
Class SystemErrErrorHandler

java.lang.Object
  extended by fi.iki.hsivonen.xml.SystemErrErrorHandler
All Implemented Interfaces:
ErrorHandler

public class SystemErrErrorHandler
extends Object
implements ErrorHandler

Version:
$Id: SystemErrErrorHandler.java,v 1.3 2006/03/13 11:01:09 hsivonen Exp $
Author:
hsivonen

Field Summary
private  boolean inError
           
private  Writer out
           
 
Constructor Summary
SystemErrErrorHandler()
           
 
Method Summary
 void error(SAXParseException e)
           
 void fatalError(SAXParseException e)
           
 boolean isInError()
          Returns the inError.
 void reset()
           
 void warning(SAXParseException e)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

out

private Writer out

inError

private boolean inError
Constructor Detail

SystemErrErrorHandler

public SystemErrErrorHandler()
Method Detail

warning

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

error

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

fatalError

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

isInError

public boolean isInError()
Returns the inError.

Returns:
the inError

reset

public void reset()