Class IgnoreAllErrorHandler

  • All Implemented Interfaces:
    org.xml.sax.ErrorHandler

    public class IgnoreAllErrorHandler
    extends java.lang.Object
    implements org.xml.sax.ErrorHandler
    This ErrorHandler does absolutely nothing but LOG the events.
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private static org.slf4j.Logger LOG  
      private static boolean throwExceptions
      Field throwExceptions
      private static boolean warnOnExceptions
      Field throwExceptions
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void error​(org.xml.sax.SAXParseException ex)
      void fatalError​(org.xml.sax.SAXParseException ex)
      private static boolean getProperty​(java.lang.String name)  
      void warning​(org.xml.sax.SAXParseException ex)
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • LOG

        private static final org.slf4j.Logger LOG
      • warnOnExceptions

        private static final boolean warnOnExceptions
        Field throwExceptions
      • throwExceptions

        private static final boolean throwExceptions
        Field throwExceptions
    • Constructor Detail

      • IgnoreAllErrorHandler

        public IgnoreAllErrorHandler()
    • Method Detail

      • getProperty

        private static boolean getProperty​(java.lang.String name)
      • warning

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