<class name="QXmlLexicalHandlerInterface" doc="/**
&lt;p&gt;The &lt;a href=&quot;QXmlLexicalHandler.html&quot;&gt;&lt;tt&gt;QXmlLexicalHandler&lt;/tt&gt;&lt;/a&gt; class provides an interface to report the lexical content of XML data.&lt;/p&gt;
&lt;p&gt;The events in the lexical handler apply to the entire document, not just to the document element, and all lexical handler events appear between the content handler's startDocument and endDocument events.&lt;/p&gt;
&lt;p&gt;You can set the lexical handler with QXmlReader::setLexicalHandler().&lt;/p&gt;
&lt;p&gt;This interface's design is based on the the SAX2 extension LexicalHandler.&lt;/p&gt;
&lt;p&gt;The interface provides the &lt;a href=&quot;QXmlLexicalHandlerInterface.html#startDTD(java.lang.String, java.lang.String, java.lang.String)&quot;&gt;&lt;tt&gt;startDTD&lt;/tt&gt;&lt;/a&gt;, &lt;a href=&quot;QXmlLexicalHandlerInterface.html#endDTD()&quot;&gt;&lt;tt&gt;endDTD&lt;/tt&gt;&lt;/a&gt;, &lt;a href=&quot;QXmlLexicalHandlerInterface.html#startEntity(java.lang.String)&quot;&gt;&lt;tt&gt;startEntity&lt;/tt&gt;&lt;/a&gt;, &lt;a href=&quot;QXmlLexicalHandlerInterface.html#endEntity(java.lang.String)&quot;&gt;&lt;tt&gt;endEntity&lt;/tt&gt;&lt;/a&gt;, &lt;a href=&quot;QXmlLexicalHandlerInterface.html#startCDATA()&quot;&gt;&lt;tt&gt;startCDATA&lt;/tt&gt;&lt;/a&gt;, &lt;a href=&quot;QXmlLexicalHandlerInterface.html#endCDATA()&quot;&gt;&lt;tt&gt;endCDATA&lt;/tt&gt;&lt;/a&gt; and &lt;a href=&quot;QXmlLexicalHandlerInterface.html#comment(java.lang.String)&quot;&gt;&lt;tt&gt;comment&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;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;QXmlErrorHandler.html&quot;&gt;&lt;tt&gt;QXmlErrorHandler&lt;/tt&gt;&lt;/a&gt;
@see Introduction to SAX2&lt;/tt&gt; */">
    <method name="public boolean comment(java.lang.String ch)" doc="/**
&lt;p&gt;The reader calls this function to report an XML comment anywhere in the document. It reports the text of the comment in &lt;tt&gt;ch&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;QXmlLexicalHandlerInterface.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 boolean endCDATA()" doc="/**
&lt;p&gt;The reader calls this function to report the end of a CDATA section.&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;QXmlLexicalHandlerInterface.html#errorString()&quot;&gt;&lt;tt&gt;errorString&lt;/tt&gt;&lt;/a&gt; to get the error message.&lt;/p&gt;

@see &lt;a href=&quot;QXmlLexicalHandlerInterface.html#startCDATA()&quot;&gt;&lt;tt&gt;startCDATA&lt;/tt&gt;&lt;/a&gt;
@see &lt;tt&gt;QXmlContentHandler::characters&lt;/tt&gt; */"/>
    <method name="public boolean endDTD()" doc="/**
&lt;p&gt;The reader calls this function to report the end of a DTD declaration, if any.&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;QXmlLexicalHandlerInterface.html#errorString()&quot;&gt;&lt;tt&gt;errorString&lt;/tt&gt;&lt;/a&gt; to get the error message.&lt;/p&gt;

@see &lt;a href=&quot;QXmlLexicalHandlerInterface.html#startDTD(java.lang.String, java.lang.String, java.lang.String)&quot;&gt;&lt;tt&gt;startDTD&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public boolean endEntity(java.lang.String name)" doc="/**
&lt;p&gt;The reader calls this function to report the end of an entity called &lt;tt&gt;name&lt;/tt&gt;.&lt;/p&gt;
&lt;p&gt;For every &lt;a href=&quot;QXmlLexicalHandlerInterface.html#startEntity(java.lang.String)&quot;&gt;&lt;tt&gt;startEntity&lt;/tt&gt;&lt;/a&gt; call, there is a corresponding &lt;a href=&quot;QXmlLexicalHandlerInterface.html#endEntity(java.lang.String)&quot;&gt;&lt;tt&gt;endEntity&lt;/tt&gt;&lt;/a&gt; call. The calls to &lt;a href=&quot;QXmlLexicalHandlerInterface.html#startEntity(java.lang.String)&quot;&gt;&lt;tt&gt;startEntity&lt;/tt&gt;&lt;/a&gt; and &lt;a href=&quot;QXmlLexicalHandlerInterface.html#endEntity(java.lang.String)&quot;&gt;&lt;tt&gt;endEntity&lt;/tt&gt;&lt;/a&gt; are properly nested.&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;QXmlLexicalHandlerInterface.html#errorString()&quot;&gt;&lt;tt&gt;errorString&lt;/tt&gt;&lt;/a&gt; to get the error message.&lt;/p&gt;

@see &lt;a href=&quot;QXmlLexicalHandlerInterface.html#startEntity(java.lang.String)&quot;&gt;&lt;tt&gt;startEntity&lt;/tt&gt;&lt;/a&gt;
@see &lt;tt&gt;QXmlContentHandler::skippedEntity&lt;/tt&gt;
@see &lt;tt&gt;QXmlSimpleReader::setFeature&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 startCDATA()" doc="/**
&lt;p&gt;The reader calls this function to report the start of a CDATA section. The content of the CDATA section is reported through the QXmlContentHandler::characters() function. This function is intended only to report the boundary.&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;QXmlLexicalHandlerInterface.html#errorString()&quot;&gt;&lt;tt&gt;errorString&lt;/tt&gt;&lt;/a&gt; to get the error message.&lt;/p&gt;

@see &lt;a href=&quot;QXmlLexicalHandlerInterface.html#endCDATA()&quot;&gt;&lt;tt&gt;endCDATA&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public boolean startDTD(java.lang.String name, java.lang.String publicId, java.lang.String systemId)" doc="/**
&lt;p&gt;The reader calls this function to report the start of a DTD declaration, if any. It reports the name of the document type 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;.&lt;/p&gt;
&lt;p&gt;If the public identifier is missing, &lt;tt&gt;publicId&lt;/tt&gt; is set to an empty string. If the system identifier is missing, &lt;tt&gt;systemId&lt;/tt&gt; is set to an empty string. Note that it is not valid XML to have a public identifier but no system identifier; in such cases a parse error will occur.&lt;/p&gt;
&lt;p&gt;All declarations reported through &lt;a href=&quot;QXmlDTDHandler.html&quot;&gt;&lt;tt&gt;QXmlDTDHandler&lt;/tt&gt;&lt;/a&gt; or &lt;a href=&quot;QXmlDeclHandler.html&quot;&gt;&lt;tt&gt;QXmlDeclHandler&lt;/tt&gt;&lt;/a&gt; appear between the &lt;a href=&quot;QXmlLexicalHandlerInterface.html#startDTD(java.lang.String, java.lang.String, java.lang.String)&quot;&gt;&lt;tt&gt;startDTD&lt;/tt&gt;&lt;/a&gt; and &lt;a href=&quot;QXmlLexicalHandlerInterface.html#endDTD()&quot;&gt;&lt;tt&gt;endDTD&lt;/tt&gt;&lt;/a&gt; calls.&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;QXmlLexicalHandlerInterface.html#errorString()&quot;&gt;&lt;tt&gt;errorString&lt;/tt&gt;&lt;/a&gt; to get the error message.&lt;/p&gt;

@see &lt;a href=&quot;QXmlLexicalHandlerInterface.html#endDTD()&quot;&gt;&lt;tt&gt;endDTD&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public boolean startEntity(java.lang.String name)" doc="/**
&lt;p&gt;The reader calls this function to report the start of an entity called &lt;tt&gt;name&lt;/tt&gt;.&lt;/p&gt;
&lt;p&gt;Note that if the entity is unknown, the reader reports it through QXmlContentHandler::skippedEntity() and not through 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;QXmlLexicalHandlerInterface.html#errorString()&quot;&gt;&lt;tt&gt;errorString&lt;/tt&gt;&lt;/a&gt; to get the error message.&lt;/p&gt;

@see &lt;a href=&quot;QXmlLexicalHandlerInterface.html#endEntity(java.lang.String)&quot;&gt;&lt;tt&gt;endEntity&lt;/tt&gt;&lt;/a&gt;
@see &lt;tt&gt;QXmlSimpleReader::setFeature&lt;/tt&gt; */"/>
</class>
