#include <IXMLErrorReporter.hpp>
List of all members.
Detailed Description
The XML error reporter is used to return the errors while parsing or validating an xml document.
Member Enumeration Documentation
Type of the error message
- Enumerator:
| etXMLWarning |
Message is an warning only
|
| etXMLError |
Message is an error
|
| etXMLFatal |
Message is a fatal error
|
| etXMLNo |
Message is information only
|
Member Function Documentation
| virtual void MQUALIFIER zeus::IXMLErrorReporter::onMessage |
( |
EXMLErrorType |
eType, |
|
|
const IString & |
rstrMessage, |
|
|
Int |
iLine, |
|
|
Int |
iColumn |
|
) |
| [pure virtual] |
This is the generous method to return errors occured parsing a file. It will provide an error type, a message and position attributes of the error occured.
- Parameters:
-
| eType,: | Type of the message |
| rstrMessage,: | Message itself |
| iLine,: | Line information where the error occured in the XML file |
| iColumn,: | Column information where the error occured in the XML file |
| virtual void MQUALIFIER zeus::IXMLErrorReporter::onNodeError |
( |
IXMLNodeError & |
rErrorObj ) |
[pure virtual] |
This provides an error return if the document is parsed and validated. The returned object contains all information of the error, including the node reference.
- Parameters:
-
| rErrorObj,: | Object of the error. |
| virtual void MQUALIFIER zeus::IXMLErrorReporter::reset |
( |
) |
[pure virtual] |
This method must reset the error reporter. All messages must be reset.
The documentation for this class was generated from the following file: