Class UtilXml.LocalErrorHandler

  • All Implemented Interfaces:
    Enclosing class:

    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.
    • 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)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • 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 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