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