org.iso_relax.ant
Class ErrorHandlerImpl

java.lang.Object
  extended by org.iso_relax.ant.ErrorHandlerImpl
All Implemented Interfaces:
org.xml.sax.ErrorHandler

public class ErrorHandlerImpl
extends java.lang.Object
implements org.xml.sax.ErrorHandler

Error handler implementation that reports errors through the logging mechanism of Ant task.

Author:
Kohsuke Kawaguchi (kk@kohsuke.org)

Constructor Summary
ErrorHandlerImpl(org.apache.tools.ant.Task t)
           
 
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
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ErrorHandlerImpl

public ErrorHandlerImpl(org.apache.tools.ant.Task t)
Method Detail

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

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