com.ibatis.sqlmap.engine.builder.xml
Class XmlSqlMapClientBuilder.SimpleErrorHandler

java.lang.Object
  extended bycom.ibatis.sqlmap.engine.builder.xml.XmlSqlMapClientBuilder.SimpleErrorHandler
All Implemented Interfaces:
org.xml.sax.ErrorHandler
Enclosing class:
XmlSqlMapClientBuilder

private static class XmlSqlMapClientBuilder.SimpleErrorHandler
extends java.lang.Object
implements org.xml.sax.ErrorHandler

********************************** ******* SimpleErrorHandler ******* **********************************


Field Summary
private  java.io.PrintWriter out
          Error handler output goes here
 
Constructor Summary
(package private) XmlSqlMapClientBuilder.SimpleErrorHandler(java.io.PrintWriter out)
           
 
Method Summary
 void error(org.xml.sax.SAXParseException spe)
           
 void fatalError(org.xml.sax.SAXParseException spe)
           
private  java.lang.String getParseExceptionInfo(org.xml.sax.SAXParseException spe)
          Returns a string describing parse exception details
 void warning(org.xml.sax.SAXParseException spe)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

out

private java.io.PrintWriter out
Error handler output goes here

Constructor Detail

XmlSqlMapClientBuilder.SimpleErrorHandler

XmlSqlMapClientBuilder.SimpleErrorHandler(java.io.PrintWriter out)
Method Detail

getParseExceptionInfo

private java.lang.String getParseExceptionInfo(org.xml.sax.SAXParseException spe)
Returns a string describing parse exception details


warning

public void warning(org.xml.sax.SAXParseException spe)
             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 spe)
           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 spe)
                throws org.xml.sax.SAXException
Specified by:
fatalError in interface org.xml.sax.ErrorHandler
Throws:
org.xml.sax.SAXException