com.sun.rowset.internal
Class XmlErrorHandler

java.lang.Object
  extended byorg.xml.sax.helpers.DefaultHandler
      extended bycom.sun.rowset.internal.XmlErrorHandler
All Implemented Interfaces:
org.xml.sax.ContentHandler, org.xml.sax.DTDHandler, org.xml.sax.EntityResolver, org.xml.sax.ErrorHandler

public class XmlErrorHandler
extends org.xml.sax.helpers.DefaultHandler

An implementation of the DefaultHandler interface, which handles all the errors, fatalerrors and warnings while reading the xml file. This is the ErrorHandler which helps WebRowSetXmlReader to handle any errors while reading the xml data.


Field Summary
 int errorCounter
           
 
Constructor Summary
XmlErrorHandler()
           
 
Method Summary
 void error(org.xml.sax.SAXParseException e)
           
 void fatalError(org.xml.sax.SAXParseException e)
           
 void warning(org.xml.sax.SAXParseException exception)
           
 
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

errorCounter

public int errorCounter
Constructor Detail

XmlErrorHandler

public XmlErrorHandler()
Method Detail

error

public void error(org.xml.sax.SAXParseException e)
           throws org.xml.sax.SAXException
Throws:
org.xml.sax.SAXException

fatalError

public void fatalError(org.xml.sax.SAXParseException e)
                throws org.xml.sax.SAXException
Throws:
org.xml.sax.SAXException

warning

public void warning(org.xml.sax.SAXParseException exception)
             throws org.xml.sax.SAXException
Throws:
org.xml.sax.SAXException