Package org.apache.ofbiz.base.util
Class UtilXml.LocalErrorHandler
- java.lang.Object
-
- org.apache.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
Constructors Constructor Description LocalErrorHandler(java.lang.String docDescription, UtilXml.LocalResolver localResolver)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
error(org.xml.sax.SAXParseException exception)
void
fatalError(org.xml.sax.SAXParseException exception)
void
warning(org.xml.sax.SAXParseException exception)
-
-
-
Constructor Detail
-
LocalErrorHandler
public LocalErrorHandler(java.lang.String docDescription, UtilXml.LocalResolver localResolver)
-
-
Method Detail
-
error
public void error(org.xml.sax.SAXParseException exception)
- Specified by:
error
in interfaceorg.xml.sax.ErrorHandler
-
fatalError
public void fatalError(org.xml.sax.SAXParseException exception)
- Specified by:
fatalError
in interfaceorg.xml.sax.ErrorHandler
-
warning
public void warning(org.xml.sax.SAXParseException exception)
- Specified by:
warning
in interfaceorg.xml.sax.ErrorHandler
-
-