Class XMLParser_impl.ParseErrorHandler

  • All Implemented Interfaces:
    org.xml.sax.ContentHandler, org.xml.sax.DTDHandler, org.xml.sax.EntityResolver, org.xml.sax.ErrorHandler
    Enclosing class:
    XMLParser_impl

    static class XMLParser_impl.ParseErrorHandler
    extends org.xml.sax.helpers.DefaultHandler
    Error handler for XML parsing. Stores first error in exception field for later retrieval.
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private org.xml.sax.SAXParseException mException  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void clear()  
      void error​(org.xml.sax.SAXParseException aError)  
      void fatalError​(org.xml.sax.SAXParseException aError)  
      org.xml.sax.SAXParseException getException()  
      void warning​(org.xml.sax.SAXParseException aWarning)  
      • Methods inherited from class org.xml.sax.helpers.DefaultHandler

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

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

      • mException

        private org.xml.sax.SAXParseException mException
    • Constructor Detail

      • ParseErrorHandler

        ParseErrorHandler()
    • Method Detail

      • error

        public void error​(org.xml.sax.SAXParseException aError)
        Specified by:
        error in interface org.xml.sax.ErrorHandler
        Overrides:
        error in class org.xml.sax.helpers.DefaultHandler
      • fatalError

        public void fatalError​(org.xml.sax.SAXParseException aError)
        Specified by:
        fatalError in interface org.xml.sax.ErrorHandler
        Overrides:
        fatalError in class org.xml.sax.helpers.DefaultHandler
      • warning

        public void warning​(org.xml.sax.SAXParseException aWarning)
        Specified by:
        warning in interface org.xml.sax.ErrorHandler
        Overrides:
        warning in class org.xml.sax.helpers.DefaultHandler
      • getException

        public org.xml.sax.SAXParseException getException()
      • clear

        public void clear()