<class name="QXmlEntityResolverInterface" doc="/**
&lt;p&gt;The &lt;a href=&quot;QXmlEntityResolver.html&quot;&gt;&lt;tt&gt;QXmlEntityResolver&lt;/tt&gt;&lt;/a&gt; class provides an interface to resolve external entities contained in XML data.&lt;/p&gt;
&lt;p&gt;If an application needs to implement customized handling for external entities, it must implement this interface, i.e&amp;#x2e; &lt;a href=&quot;QXmlEntityResolverInterface.html#resolveEntity(java.lang.String, java.lang.String, com.trolltech.qt.xml.QXmlInputSource)&quot;&gt;&lt;tt&gt;resolveEntity&lt;/tt&gt;&lt;/a&gt;, and register it with QXmlReader::setEntityResolver().&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;QXmlErrorHandler.html&quot;&gt;&lt;tt&gt;QXmlErrorHandler&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 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 boolean resolveEntity(java.lang.String publicId, java.lang.String systemId, com.trolltech.qt.xml.QXmlInputSource ret)" doc="/**
&lt;p&gt;The reader calls this function before it opens any external entity, except the top-level document entity. The application may request the reader to resolve the entity itself (&lt;tt&gt;ret&lt;/tt&gt; is 0) or to use an entirely different input source (&lt;tt&gt;ret&lt;/tt&gt; points to the input source).&lt;/p&gt;
&lt;p&gt;The reader deletes the input source &lt;tt&gt;ret&lt;/tt&gt; when it no longer needs it, so you should allocate it on the heap with &lt;tt&gt;new&lt;/tt&gt;.&lt;/p&gt;
&lt;p&gt;The argument &lt;tt&gt;publicId&lt;/tt&gt; is the public identifier of the external entity, &lt;tt&gt;systemId&lt;/tt&gt; is the system identifier of the external entity and &lt;tt&gt;ret&lt;/tt&gt; is the return value of this function. If &lt;tt&gt;ret&lt;/tt&gt; is 0 the reader should resolve the entity itself, if it is non-zero it must point to an input source which the reader uses instead.&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;QXmlEntityResolverInterface.html#errorString()&quot;&gt;&lt;tt&gt;errorString&lt;/tt&gt;&lt;/a&gt; to get the error message.&lt;/p&gt;
 */"/>
</class>
