Inheritance diagram for XMLErrorReporter:
Public Types | |
enum | ErrTypes { ErrType_Warning, ErrType_Error, ErrType_Fatal, ErrTypes_Unknown } |
Public Methods | |
Destructor | |
virtual | ~XMLErrorReporter () |
Error Handler interface | |
virtual void | error (const unsigned int errCode, const XMLCh *const errDomain, const ErrTypes type, const XMLCh *const errorText, const XMLCh *const systemId, const XMLCh *const publicId, const unsigned int lineNum, const unsigned int colNum)=0 |
virtual void | resetErrors ()=0 |
Protected Methods | |
Constructor | |
XMLErrorReporter () |
This class is primarily for use by those writing their own parser classes. If you use the standard parser classes, DOMParser and SAXParser, you won't use this API. You will instead use a similar mechanism defined by the SAX API, called ErrorHandler.
|
Default destructor |
|
Default constructor |
|
Called to report errors from the scanner or validator This method is called back on by the scanner or validator (or any other internal parser component which might need to report an error in the future.) It contains all the information that the client code might need to report or log the error.
|
|
Called before a new parse event to allow the handler to reset This method is called by the scanner before a new parse event is about to start. It gives the error handler a chance to reset its internal state. Implemented in DOMParser, IDOMParser, SAX2XMLReaderImpl, and SAXParser. |