Sophie

Sophie

distrib > Mandriva > 2010.0 > i586 > media > contrib-release > by-pkgid > a6711891ce757817bba854bf3f25205a > files > 2468

qtjambi-doc-4.3.3-3mdv2008.1.i586.rpm

<class name="QXmlErrorHandler" doc="/**
&lt;p&gt;The &lt;a href=&quot;QXmlErrorHandler.html#QXmlErrorHandler()&quot;&gt;&lt;tt&gt;QXmlErrorHandler&lt;/tt&gt;&lt;/a&gt; class provides an interface to report errors in XML data.&lt;/p&gt;
&lt;p&gt;If you want your application to report errors to the user or to perform customized error handling, you should subclass this class.&lt;/p&gt;
&lt;p&gt;You can set the error handler with QXmlReader::setErrorHandler().&lt;/p&gt;
&lt;p&gt;Errors can be reported using &lt;a href=&quot;QXmlErrorHandler.html#warning(com.trolltech.qt.xml.QXmlParseException)&quot;&gt;&lt;tt&gt;warning&lt;/tt&gt;&lt;/a&gt;, &lt;a href=&quot;QXmlErrorHandler.html#error(com.trolltech.qt.xml.QXmlParseException)&quot;&gt;&lt;tt&gt;error&lt;/tt&gt;&lt;/a&gt; and &lt;a href=&quot;QXmlErrorHandler.html#fatalError(com.trolltech.qt.xml.QXmlParseException)&quot;&gt;&lt;tt&gt;fatalError&lt;/tt&gt;&lt;/a&gt;, with the error text being reported with &lt;a href=&quot;QXmlErrorHandler.html#errorString()&quot;&gt;&lt;tt&gt;errorString&lt;/tt&gt;&lt;/a&gt;.&lt;/p&gt;

@see &lt;a href=&quot;QXmlDTDHandler.html&quot;&gt;&lt;tt&gt;QXmlDTDHandler&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QXmlDeclHandler.html&quot;&gt;&lt;tt&gt;QXmlDeclHandler&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QXmlContentHandler.html&quot;&gt;&lt;tt&gt;QXmlContentHandler&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QXmlEntityResolver.html&quot;&gt;&lt;tt&gt;QXmlEntityResolver&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QXmlLexicalHandler.html&quot;&gt;&lt;tt&gt;QXmlLexicalHandler&lt;/tt&gt;&lt;/a&gt;
@see Introduction to SAX2&lt;/tt&gt; */">
    <method name="public QXmlErrorHandler()"/>
    <method name="public abstract boolean error(com.trolltech.qt.xml.QXmlParseException exception)" doc="/**
&lt;p&gt;A reader might use this function to report a recoverable error. A recoverable error corresponds to the definiton of &amp;quot;error&amp;quot; in section 1.2 of the XML 1.0 specification. Details of the error are stored in &lt;tt&gt;exception&lt;/tt&gt;.&lt;/p&gt;
&lt;p&gt;The reader must continue to provide normal parsing events after invoking this function.&lt;/p&gt;
&lt;p&gt;If this function returns false the reader stops parsing and reports an error. The reader uses the function &lt;a href=&quot;QXmlErrorHandler.html#errorString()&quot;&gt;&lt;tt&gt;errorString&lt;/tt&gt;&lt;/a&gt; to get the error message.&lt;/p&gt;
 */"/>
    <method name="public abstract java.lang.String errorString()" doc="/**
&lt;p&gt;The reader calls this function to get an error string if any of the handler functions returns false.&lt;/p&gt;
 */"/>
    <method name="public abstract boolean fatalError(com.trolltech.qt.xml.QXmlParseException exception)" doc="/**
&lt;p&gt;A reader must use this function to report a non-recoverable error. Details of the error are stored in &lt;tt&gt;exception&lt;/tt&gt;.&lt;/p&gt;
&lt;p&gt;If this function returns true the reader might try to go on parsing and reporting further errors, but no regular parsing events are reported.&lt;/p&gt;
 */"/>
    <method name="public abstract boolean warning(com.trolltech.qt.xml.QXmlParseException exception)" doc="/**
&lt;p&gt;A reader might use this function to report a warning. Warnings are conditions that are not errors or fatal errors as defined by the XML 1.0 specification. Details of the warning are stored in &lt;tt&gt;exception&lt;/tt&gt;.&lt;/p&gt;
&lt;p&gt;If this function returns false the reader stops parsing and reports an error. The reader uses the function &lt;a href=&quot;QXmlErrorHandler.html#errorString()&quot;&gt;&lt;tt&gt;errorString&lt;/tt&gt;&lt;/a&gt; to get the error message.&lt;/p&gt;
 */"/>
</class>