Class NullErrorHandler

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

    public class NullErrorHandler
    extends java.lang.Object
    implements org.xml.sax.ErrorHandler
    Error handler that silently suppresses all errors.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void error​(org.xml.sax.SAXParseException e)  
      void fatalError​(org.xml.sax.SAXParseException e)  
      void warning​(org.xml.sax.SAXParseException e)  
      • Methods inherited from class java.lang.Object

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

      • NullErrorHandler

        public NullErrorHandler()
    • Method Detail

      • error

        public void error​(org.xml.sax.SAXParseException e)
        Specified by:
        error in interface org.xml.sax.ErrorHandler
      • fatalError

        public void fatalError​(org.xml.sax.SAXParseException e)
        Specified by:
        fatalError in interface org.xml.sax.ErrorHandler
      • warning

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