Class ParseErrorHandler

  • All Implemented Interfaces:
    Serializable, ContentHandler, DTDHandler, EntityResolver, ErrorHandler

    public class ParseErrorHandler
    extends DefaultHandler
    implements Serializable
    See Also:
    Serialized Form
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void error​(SAXParseException e)  
      void fatalError​(SAXParseException e)  
      boolean noErrors()  
      void printErrors()  
      void reset()  
      String toString()  
      • Methods inherited from class DefaultHandler

        characters, endDocument, endElement, endPrefixMapping, ignorableWhitespace, notationDecl, processingInstruction, resolveEntity, setDocumentLocator, skippedEntity, startDocument, startElement, startPrefixMapping, unparsedEntityDecl, warning
      • Methods inherited from class Object

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

      • ParseErrorHandler

        public ParseErrorHandler()
    • Method Detail

      • error

        public void error​(SAXParseException e)
                   throws SAXException
        Specified by:
        error in interface ErrorHandler
        Overrides:
        error in class DefaultHandler
        Throws:
        SAXException
      • fatalError

        public void fatalError​(SAXParseException e)
                        throws SAXException
        Specified by:
        fatalError in interface ErrorHandler
        Overrides:
        fatalError in class DefaultHandler
        Throws:
        SAXException
      • reset

        public void reset()
      • noErrors

        public boolean noErrors()
      • printErrors

        public void printErrors()
      • toString

        public String toString()
        Overrides:
        toString in class Object