<class name="QXmlEntityResolverInterface" doc="/** <p>The <a href="QXmlEntityResolver.html"><tt>QXmlEntityResolver</tt></a> class provides an interface to resolve external entities contained in XML data.</p> <p>If an application needs to implement customized handling for external entities, it must implement this interface, i.e&#x2e; <a href="QXmlEntityResolverInterface.html#resolveEntity(java.lang.String, java.lang.String, com.trolltech.qt.xml.QXmlInputSource)"><tt>resolveEntity</tt></a>, and register it with QXmlReader::setEntityResolver().</p> @see <a href="QXmlDTDHandler.html"><tt>QXmlDTDHandler</tt></a> @see <a href="QXmlDeclHandler.html"><tt>QXmlDeclHandler</tt></a> @see <a href="QXmlContentHandler.html"><tt>QXmlContentHandler</tt></a> @see <a href="QXmlErrorHandler.html"><tt>QXmlErrorHandler</tt></a> @see <a href="QXmlLexicalHandler.html"><tt>QXmlLexicalHandler</tt></a> @see Introduction to SAX2</tt> */"> <method name="public java.lang.String errorString()" doc="/** <p>The reader calls this function to get an error string if any of the handler functions returns false.</p> */"/> <method name="public boolean resolveEntity(java.lang.String publicId, java.lang.String systemId, com.trolltech.qt.xml.QXmlInputSource ret)" doc="/** <p>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 (<tt>ret</tt> is 0) or to use an entirely different input source (<tt>ret</tt> points to the input source).</p> <p>The reader deletes the input source <tt>ret</tt> when it no longer needs it, so you should allocate it on the heap with <tt>new</tt>.</p> <p>The argument <tt>publicId</tt> is the public identifier of the external entity, <tt>systemId</tt> is the system identifier of the external entity and <tt>ret</tt> is the return value of this function. If <tt>ret</tt> 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.</p> <p>If this function returns false the reader stops parsing and reports an error. The reader uses the function <a href="QXmlEntityResolverInterface.html#errorString()"><tt>errorString</tt></a> to get the error message.</p> */"/> </class>