Documentation/Source/eric5.E5XML.XMLErrorHandler.html

changeset 58
37f0444c3479
parent 50
a36eecf45b2e
child 409
0ea528e80202
--- a/Documentation/Source/eric5.E5XML.XMLErrorHandler.html	Thu Jan 14 17:27:31 2010 +0000
+++ b/Documentation/Source/eric5.E5XML.XMLErrorHandler.html	Thu Jan 14 18:35:52 2010 +0000
@@ -22,7 +22,7 @@
 <body><a NAME="top" ID="top"></a>
 <h1>eric5.E5XML.XMLErrorHandler</h1>
 <p>
-&#77;&#111;&#100;&#117;&#108;&#101; &#105;&#109;&#112;&#108;&#101;&#109;&#101;&#110;&#116;&#105;&#110;&#103; &#97;&#110; &#101;&#114;&#114;&#111;&#114; &#104;&#97;&#110;&#100;&#108;&#101;&#114; &#99;&#108;&#97;&#115;&#115;.
+Module implementing an error handler class.
 </p>
 <h3>Global Attributes</h3>
 <table>
@@ -32,13 +32,13 @@
 <table>
 <tr>
 <td><a href="#XMLErrorHandler">XMLErrorHandler</a></td>
-<td>&#67;&#108;&#97;&#115;&#115; &#105;&#109;&#112;&#108;&#101;&#109;&#101;&#110;&#116;&#105;&#110;&#103; &#97;&#110; &#101;&#114;&#114;&#111;&#114; &#104;&#97;&#110;&#100;&#108;&#101;&#114; &#99;&#108;&#97;&#115;&#115;.</td>
+<td>Class implementing an error handler class.</td>
 </tr><tr>
 <td><a href="#XMLFatalParseError">XMLFatalParseError</a></td>
-<td>&#67;&#108;&#97;&#115;&#115; &#105;&#109;&#112;&#108;&#101;&#109;&#101;&#110;&#116;&#105;&#110;&#103; &#97;&#110; &#101;x&#99;&#101;&#112;&#116;&#105;&#111;&#110; &#102;&#111;&#114; &#114;&#101;&#99;&#111;v&#101;&#114;&#97;&#98;&#108;&#101; &#112;&#97;&#114;&#115;&#101; &#101;&#114;&#114;&#111;&#114;&#115;.</td>
+<td>Class implementing an exception for recoverable parse errors.</td>
 </tr><tr>
 <td><a href="#XMLParseError">XMLParseError</a></td>
-<td>&#67;&#108;&#97;&#115;&#115; &#105;&#109;&#112;&#108;&#101;&#109;&#101;&#110;&#116;&#105;&#110;&#103; &#97;&#110; &#101;x&#99;&#101;&#112;&#116;&#105;&#111;&#110; &#102;&#111;&#114; &#114;&#101;&#99;&#111;v&#101;&#114;&#97;&#98;&#108;&#101; &#112;&#97;&#114;&#115;&#101; &#101;&#114;&#114;&#111;&#114;&#115;.</td>
+<td>Class implementing an exception for recoverable parse errors.</td>
 </tr>
 </table>
 <h3>Functions</h3>
@@ -49,7 +49,7 @@
 <a NAME="XMLErrorHandler" ID="XMLErrorHandler"></a>
 <h2>XMLErrorHandler</h2>
 <p>
-    &#67;&#108;&#97;&#115;&#115; &#105;&#109;&#112;&#108;&#101;&#109;&#101;&#110;&#116;&#105;&#110;&#103; &#97;&#110; &#101;&#114;&#114;&#111;&#114; &#104;&#97;&#110;&#100;&#108;&#101;&#114; &#99;&#108;&#97;&#115;&#115;.
+    Class implementing an error handler class.
 </p>
 <h3>Derived from</h3>
 ErrorHandler
@@ -61,79 +61,79 @@
 <table>
 <tr>
 <td><a href="#XMLErrorHandler.__init__">XMLErrorHandler</a></td>
-<td>&#67;&#111;&#110;&#115;&#116;&#114;&#117;&#99;&#116;&#111;&#114;</td>
+<td>Constructor</td>
 </tr><tr>
 <td><a href="#XMLErrorHandler.error">error</a></td>
-<td>&#80;&#117;&#98;&#108;&#105;&#99; &#109;&#101;&#116;&#104;&#111;&#100; &#116;&#111; &#104;&#97;&#110;&#100;&#108;&#101; &#97; &#114;&#101;&#99;&#111;v&#101;&#114;&#97;&#98;&#108;&#101; &#101;&#114;&#114;&#111;&#114;.</td>
+<td>Public method to handle a recoverable error.</td>
 </tr><tr>
 <td><a href="#XMLErrorHandler.fatalError">fatalError</a></td>
-<td>&#80;&#117;&#98;&#108;&#105;&#99; &#109;&#101;&#116;&#104;&#111;&#100; &#116;&#111; &#104;&#97;&#110;&#100;&#108;&#101; &#97; &#110;&#111;&#110;-&#114;&#101;&#99;&#111;v&#101;&#114;&#97;&#98;&#108;&#101; &#101;&#114;&#114;&#111;&#114;.</td>
+<td>Public method to handle a non-recoverable error.</td>
 </tr><tr>
 <td><a href="#XMLErrorHandler.getParseMessages">getParseMessages</a></td>
-<td>&#80;&#117;&#98;&#108;&#105;&#99; &#109;&#101;&#116;&#104;&#111;&#100; &#116;&#111; &#114;&#101;&#116;&#114;&#105;&#101;v&#101; &#97;&#108;&#108; &#109;&#101;&#115;&#115;&#97;&#103;&#101;&#115;.</td>
+<td>Public method to retrieve all messages.</td>
 </tr><tr>
 <td><a href="#XMLErrorHandler.showParseMessages">showParseMessages</a></td>
-<td>&#80;&#117;&#98;&#108;&#105;&#99; &#109;&#101;&#116;&#104;&#111;&#100; &#116;&#111; &#115;&#104;&#111;w &#116;&#104;&#101; &#112;&#97;&#114;&#115;&#101; &#109;&#101;&#115;&#115;&#97;&#103;&#101;&#115; (&#105;&#102; &#97;&#110;y) &#105;&#110; &#97; &#100;&#105;&#97;&#108;&#111;&#103;.</td>
+<td>Public method to show the parse messages (if any) in a dialog.</td>
 </tr><tr>
 <td><a href="#XMLErrorHandler.warning">warning</a></td>
-<td>&#80;&#117;&#98;&#108;&#105;&#99; &#109;&#101;&#116;&#104;&#111;&#100; &#116;&#111; &#104;&#97;&#110;&#100;&#108;&#101; &#97; w&#97;&#114;&#110;&#105;&#110;&#103;.</td>
+<td>Public method to handle a warning.</td>
 </tr>
 </table>
 <a NAME="XMLErrorHandler.__init__" ID="XMLErrorHandler.__init__"></a>
 <h4>XMLErrorHandler (Constructor)</h4>
 <b>XMLErrorHandler</b>(<i></i>)
 <p>
-        &#67;&#111;&#110;&#115;&#116;&#114;&#117;&#99;&#116;&#111;&#114;
+        Constructor
 </p><a NAME="XMLErrorHandler.error" ID="XMLErrorHandler.error"></a>
 <h4>XMLErrorHandler.error</h4>
 <b>error</b>(<i>exception</i>)
 <p>
-        &#80;&#117;&#98;&#108;&#105;&#99; &#109;&#101;&#116;&#104;&#111;&#100; &#116;&#111; &#104;&#97;&#110;&#100;&#108;&#101; &#97; &#114;&#101;&#99;&#111;v&#101;&#114;&#97;&#98;&#108;&#101; &#101;&#114;&#114;&#111;&#114;.
+        Public method to handle a recoverable error.
 </p><dl>
 <dt><i>exception</i></dt>
 <dd>
-&#69;x&#99;&#101;&#112;&#116;&#105;&#111;&#110; &#111;&#98;&#106;&#101;&#99;&#116; &#100;&#101;&#115;&#99;&#114;&#105;&#98;&#105;&#110;&#103; &#116;&#104;&#101; &#101;&#114;&#114;&#111;&#114; (&#83;&#65;&#88;&#80;&#97;&#114;&#115;&#101;&#69;x&#99;&#101;&#112;&#116;&#105;&#111;&#110;)
+Exception object describing the error (SAXParseException)
 </dd>
 </dl><a NAME="XMLErrorHandler.fatalError" ID="XMLErrorHandler.fatalError"></a>
 <h4>XMLErrorHandler.fatalError</h4>
 <b>fatalError</b>(<i>exception</i>)
 <p>
-        &#80;&#117;&#98;&#108;&#105;&#99; &#109;&#101;&#116;&#104;&#111;&#100; &#116;&#111; &#104;&#97;&#110;&#100;&#108;&#101; &#97; &#110;&#111;&#110;-&#114;&#101;&#99;&#111;v&#101;&#114;&#97;&#98;&#108;&#101; &#101;&#114;&#114;&#111;&#114;.
+        Public method to handle a non-recoverable error.
 </p><dl>
 <dt><i>exception</i></dt>
 <dd>
-&#69;x&#99;&#101;&#112;&#116;&#105;&#111;&#110; &#111;&#98;&#106;&#101;&#99;&#116; &#100;&#101;&#115;&#99;&#114;&#105;&#98;&#105;&#110;&#103; &#116;&#104;&#101; &#101;&#114;&#114;&#111;&#114; (&#83;&#65;&#88;&#80;&#97;&#114;&#115;&#101;&#69;x&#99;&#101;&#112;&#116;&#105;&#111;&#110;)
+Exception object describing the error (SAXParseException)
 </dd>
 </dl><dl>
 <dt>Raises <b>XMLFatalParseError</b>:</dt>
 <dd>
-&#97; &#102;&#97;&#116;&#97;&#108; &#112;&#97;&#114;&#115;&#101; &#101;&#114;&#114;&#111;&#114; &#104;&#97;&#115; &#111;&#99;&#99;&#117;&#114;&#101;&#100;
+a fatal parse error has occured
 </dd>
 </dl><a NAME="XMLErrorHandler.getParseMessages" ID="XMLErrorHandler.getParseMessages"></a>
 <h4>XMLErrorHandler.getParseMessages</h4>
 <b>getParseMessages</b>(<i></i>)
 <p>
-        &#80;&#117;&#98;&#108;&#105;&#99; &#109;&#101;&#116;&#104;&#111;&#100; &#116;&#111; &#114;&#101;&#116;&#114;&#105;&#101;v&#101; &#97;&#108;&#108; &#109;&#101;&#115;&#115;&#97;&#103;&#101;&#115;.
+        Public method to retrieve all messages.
 </p><dl>
 <dt>Returns:</dt>
 <dd>
-&#108;&#105;&#115;&#116; &#111;&#102; &#116;&#117;&#112;&#108;&#101;&#115; &#111;&#102; (&#109;&#101;&#115;&#115;&#97;&#103;&#101; &#116;y&#112;&#101;, &#115;y&#115;&#116;&#101;&#109; &#105;&#100;, &#108;&#105;&#110;&#101; &#110;&#111;, &#99;&#111;&#108;&#117;&#109;&#110; &#110;&#111;,
-            &#109;&#101;&#115;&#115;&#97;&#103;&#101;)
+list of tuples of (message type, system id, line no, column no,
+            message)
 </dd>
 </dl><a NAME="XMLErrorHandler.showParseMessages" ID="XMLErrorHandler.showParseMessages"></a>
 <h4>XMLErrorHandler.showParseMessages</h4>
 <b>showParseMessages</b>(<i></i>)
 <p>
-        &#80;&#117;&#98;&#108;&#105;&#99; &#109;&#101;&#116;&#104;&#111;&#100; &#116;&#111; &#115;&#104;&#111;w &#116;&#104;&#101; &#112;&#97;&#114;&#115;&#101; &#109;&#101;&#115;&#115;&#97;&#103;&#101;&#115; (&#105;&#102; &#97;&#110;y) &#105;&#110; &#97; &#100;&#105;&#97;&#108;&#111;&#103;.
+        Public method to show the parse messages (if any) in a dialog.
 </p><a NAME="XMLErrorHandler.warning" ID="XMLErrorHandler.warning"></a>
 <h4>XMLErrorHandler.warning</h4>
 <b>warning</b>(<i>exception</i>)
 <p>
-        &#80;&#117;&#98;&#108;&#105;&#99; &#109;&#101;&#116;&#104;&#111;&#100; &#116;&#111; &#104;&#97;&#110;&#100;&#108;&#101; &#97; w&#97;&#114;&#110;&#105;&#110;&#103;.
+        Public method to handle a warning.
 </p><dl>
 <dt><i>exception</i></dt>
 <dd>
-&#69;x&#99;&#101;&#112;&#116;&#105;&#111;&#110; &#111;&#98;&#106;&#101;&#99;&#116; &#100;&#101;&#115;&#99;&#114;&#105;&#98;&#105;&#110;&#103; &#116;&#104;&#101; &#101;&#114;&#114;&#111;&#114; (&#83;&#65;&#88;&#80;&#97;&#114;&#115;&#101;&#69;x&#99;&#101;&#112;&#116;&#105;&#111;&#110;)
+Exception object describing the error (SAXParseException)
 </dd>
 </dl>
 <div align="right"><a href="#top">Up</a></div>
@@ -141,7 +141,7 @@
 <a NAME="XMLFatalParseError" ID="XMLFatalParseError"></a>
 <h2>XMLFatalParseError</h2>
 <p>
-    &#67;&#108;&#97;&#115;&#115; &#105;&#109;&#112;&#108;&#101;&#109;&#101;&#110;&#116;&#105;&#110;&#103; &#97;&#110; &#101;x&#99;&#101;&#112;&#116;&#105;&#111;&#110; &#102;&#111;&#114; &#114;&#101;&#99;&#111;v&#101;&#114;&#97;&#98;&#108;&#101; &#112;&#97;&#114;&#115;&#101; &#101;&#114;&#114;&#111;&#114;&#115;.
+    Class implementing an exception for recoverable parse errors.
 </p>
 <h3>Derived from</h3>
 XMLParseError
@@ -159,7 +159,7 @@
 <a NAME="XMLParseError" ID="XMLParseError"></a>
 <h2>XMLParseError</h2>
 <p>
-    &#67;&#108;&#97;&#115;&#115; &#105;&#109;&#112;&#108;&#101;&#109;&#101;&#110;&#116;&#105;&#110;&#103; &#97;&#110; &#101;x&#99;&#101;&#112;&#116;&#105;&#111;&#110; &#102;&#111;&#114; &#114;&#101;&#99;&#111;v&#101;&#114;&#97;&#98;&#108;&#101; &#112;&#97;&#114;&#115;&#101; &#101;&#114;&#114;&#111;&#114;&#115;.
+    Class implementing an exception for recoverable parse errors.
 </p>
 <h3>Derived from</h3>
 Exception

eric ide

mercurial