org.ofbiz.base.util
Class UtilXml.LocalErrorHandler

java.lang.Object
  extended by org.ofbiz.base.util.UtilXml.LocalErrorHandler
All Implemented Interfaces:
org.xml.sax.ErrorHandler
Enclosing class:
UtilXml

public static class UtilXml.LocalErrorHandler
extends java.lang.Object
implements org.xml.sax.ErrorHandler

Local error handler for entity resolver to DocumentBuilder parser. Error is printed to output just if DTD was detected in the XML file.


Constructor Summary
UtilXml.LocalErrorHandler(java.lang.String docDescription, UtilXml.LocalResolver localResolver)
           
 
Method Summary
 void error(org.xml.sax.SAXParseException exception)
           
 void fatalError(org.xml.sax.SAXParseException exception)
           
 void warning(org.xml.sax.SAXParseException exception)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

UtilXml.LocalErrorHandler

public UtilXml.LocalErrorHandler(java.lang.String docDescription,
                                 UtilXml.LocalResolver localResolver)
Method Detail

error

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

fatalError

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

warning

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