<class name="QXmlDeclHandler" doc="/** <p>The <a href="QXmlDeclHandler.html#QXmlDeclHandler()"><tt>QXmlDeclHandler</tt></a> class provides an interface to report declaration content of XML data.</p> <p>You can set the declaration handler with QXmlReader::setDeclHandler().</p> <p>This interface is based on the SAX2 extension DeclHandler.</p> <p>The interface provides <a href="QXmlDeclHandler.html#attributeDecl(java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String)"><tt>attributeDecl</tt></a>, <a href="QXmlDeclHandler.html#internalEntityDecl(java.lang.String, java.lang.String)"><tt>internalEntityDecl</tt></a> and <a href="QXmlDeclHandler.html#externalEntityDecl(java.lang.String, java.lang.String, java.lang.String)"><tt>externalEntityDecl</tt></a> functions.</p> @see <a href="QXmlDTDHandler.html"><tt>QXmlDTDHandler</tt></a> @see <a href="QXmlContentHandler.html"><tt>QXmlContentHandler</tt></a> @see <a href="QXmlEntityResolver.html"><tt>QXmlEntityResolver</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 QXmlDeclHandler()"/> <method name="public abstract boolean attributeDecl(java.lang.String eName, java.lang.String aName, java.lang.String type, java.lang.String valueDefault, java.lang.String value)" doc="/** <p>The reader calls this function to report an attribute type declaration. Only the effective (first) declaration for an attribute is reported.</p> <p>The reader passes the name of the associated element in <tt>eName</tt> and the name of the attribute in <tt>aName</tt>. It passes a string that represents the attribute type in <tt>type</tt> and a string that represents the attribute default in <tt>valueDefault</tt>. This string is one of &quot;#IMPLIED&quot;, &quot;#REQUIRED&quot;, &quot;#FIXED&quot; or an empty string (if none of the others applies). The reader passes the attribute's default value in <tt>value</tt>. If no default value is specified in the XML file, <tt>value</tt> is an empty string.</p> <p>If this function returns false the reader stops parsing and reports an error. The reader uses the function <a href="QXmlDeclHandler.html#errorString()"><tt>errorString</tt></a> to get the error message.</p> */"/> <method name="public abstract 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 abstract boolean externalEntityDecl(java.lang.String name, java.lang.String publicId, java.lang.String systemId)" doc="/** <p>The reader calls this function to report a parsed external entity declaration. Only the effective (first) declaration for each entity is reported.</p> <p>The reader passes the name of the entity in <tt>name</tt>, the public identifier in <tt>publicId</tt> and the system identifier in <tt>systemId</tt>. If there is no public identifier specified, it passes an empty string in <tt>publicId</tt>.</p> <p>If this function returns false the reader stops parsing and reports an error. The reader uses the function <a href="QXmlDeclHandler.html#errorString()"><tt>errorString</tt></a> to get the error message.</p> */"/> <method name="public abstract boolean internalEntityDecl(java.lang.String name, java.lang.String value)" doc="/** <p>The reader calls this function to report an internal entity declaration. Only the effective (first) declaration is reported.</p> <p>The reader passes the name of the entity in <tt>name</tt> and the value of the entity in <tt>value</tt>.</p> <p>If this function returns false the reader stops parsing and reports an error. The reader uses the function <a href="QXmlDeclHandler.html#errorString()"><tt>errorString</tt></a> to get the error message.</p> */"/> </class>