Sophie

Sophie

distrib > Mandriva > 2010.0 > i586 > media > contrib-release > by-pkgid > a6711891ce757817bba854bf3f25205a > files > 2596

qtjambi-doc-4.3.3-3mdv2008.1.i586.rpm

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!--NewPage-->
<HTML>
<HEAD>
<!-- Generated by javadoc (build 1.5.0_09) on Tue Aug 07 17:07:40 CEST 2007 -->
<TITLE>
QXmlSimpleReader
</TITLE>

<META NAME="keywords" CONTENT="com.trolltech.qt.xml.QXmlSimpleReader class">

<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../../stylesheet.css" TITLE="Style">

<SCRIPT type="text/javascript">
function windowTitle()
{
    parent.document.title="QXmlSimpleReader";
}
</SCRIPT>
<NOSCRIPT>
</NOSCRIPT>

</HEAD>

<BODY BGCOLOR="white" onload="windowTitle();">


<!-- ========= START OF TOP NAVBAR ======= -->
<A NAME="navbar_top"><!-- --></A>
<A HREF="#skip-navbar_top" title="Skip navigation links"></A>
<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
<TR>
<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
<A NAME="navbar_top_firstrow"><!-- --></A>
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
  <TR ALIGN="center" VALIGN="top">
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
  </TR>
</TABLE>
</TD>
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
</EM>
</TD>
</TR>

<TR>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
&nbsp;<A HREF="../../../../com/trolltech/qt/xml/QXmlReader.html" title="class in com.trolltech.qt.xml"><B>PREV CLASS</B></A>&nbsp;
&nbsp;<A HREF="../../../../com/trolltech/qt/xml/QXmlStreamAttribute.html" title="class in com.trolltech.qt.xml"><B>NEXT CLASS</B></A></FONT></TD>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
  <A HREF="../../../../index.html?com/trolltech/qt/xml/QXmlSimpleReader.html" target="_top"><B>FRAMES</B></A>  &nbsp;
&nbsp;<A HREF="QXmlSimpleReader.html" target="_top"><B>NO FRAMES</B></A>  &nbsp;
&nbsp;<SCRIPT type="text/javascript">
  <!--
  if(window==top) {
    document.writeln('<A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>');
  }
  //-->
</SCRIPT>
<NOSCRIPT>
  <A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>
</NOSCRIPT>


</FONT></TD>
</TR>
<TR>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
  SUMMARY:&nbsp;<A HREF="#nested_classes_inherited_from_class_com.trolltech.qt.QSignalEmitter">NESTED</A>&nbsp;|&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
DETAIL:&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
</TR>
</TABLE>
<A NAME="skip-navbar_top"></A>
<!-- ========= END OF TOP NAVBAR ========= -->

<HR>
<!-- ======== START OF CLASS DATA ======== -->
<H2>
<FONT SIZE="-1">
com.trolltech.qt.xml</FONT>
<BR>
Class QXmlSimpleReader</H2>
<PRE>
java.lang.Object
  <IMG SRC="../../../../resources/inherit.gif" ALT="extended by "><A HREF="../../../../com/trolltech/qt/QSignalEmitter.html" title="class in com.trolltech.qt">com.trolltech.qt.QSignalEmitter</A>
      <IMG SRC="../../../../resources/inherit.gif" ALT="extended by "><A HREF="../../../../com/trolltech/qt/QtJambiObject.html" title="class in com.trolltech.qt">com.trolltech.qt.QtJambiObject</A>
          <IMG SRC="../../../../resources/inherit.gif" ALT="extended by "><A HREF="../../../../com/trolltech/qt/xml/QXmlReader.html" title="class in com.trolltech.qt.xml">com.trolltech.qt.xml.QXmlReader</A>
              <IMG SRC="../../../../resources/inherit.gif" ALT="extended by "><B>com.trolltech.qt.xml.QXmlSimpleReader</B>
</PRE>
<DL>
<DT><B>All Implemented Interfaces:</B> <DD><A HREF="../../../../com/trolltech/qt/QtJambiInterface.html" title="interface in com.trolltech.qt">QtJambiInterface</A></DD>
</DL>
<HR>
<DL>
<DT><PRE>public class <B>QXmlSimpleReader</B><DT>extends <A HREF="../../../../com/trolltech/qt/xml/QXmlReader.html" title="class in com.trolltech.qt.xml">QXmlReader</A></DL>
</PRE>

<P>
<p>The <a href="QXmlSimpleReader.html#QXmlSimpleReader()"><tt>QXmlSimpleReader</tt></a> class provides an implementation of a simple XML parser.</p>
<p>This XML reader is suitable for a wide range of applications. It is able to parse well-formed XML and can report the namespaces of elements to a content handler; however, it does not parse any external entities. For historical reasons, Attribute Value Normalization and End-of-Line Handling as described in the XML 1.0 specification is not performed.</p>
<p>The easiest pattern of use for this class is to create a reader instance, define an input source, specify the handlers to be used by the reader, and parse the data.</p>
<p>For example, we could use a <a href="%2E%2E/core/QFile.html"><tt>QFile</tt></a> to supply the input. Here, we create a reader, and define an input source to be used by the reader:</p>
<pre>        QXmlSimpleReader xmlReader;
        QXmlInputSource *source = new QXmlInputSource(file);</pre>
<p>A handler lets us perform actions when the reader encounters certain types of content, or if errors in the input are found. The reader must be told which handler to use for each type of event. For many common applications, we can create a custom handler by subclassing <a href="QXmlDefaultHandler.html"><tt>QXmlDefaultHandler</tt></a>, and use this to handle both error and content events:</p>
<pre>        Handler *handler = new Handler;
        xmlReader.setContentHandler(handler);
        xmlReader.setErrorHandler(handler);</pre>
<p>If you don't set at least the content and error handlers, the parser will fall back on its default behavior---and will do nothing.</p>
<p>The most convenient way to handle the input is to read it in a single pass using the <a href="QXmlSimpleReader.html#parse(com.trolltech.qt.xml.QXmlInputSource)"><tt>parse</tt></a> function with an argument that specifies the input source:</p>
<pre>        bool ok = xmlReader.parse(source);

        if (!ok)
            std::cout &lt;&lt; &quot;Parsing failed.&quot; &lt;&lt; std::endl;</pre>
<p>If you can't parse the entire input in one go (for example, it is huge, or is being delivered over a network connection), data can be fed to the parser in pieces. This is achieved by telling <a href="QXmlSimpleReader.html#parse(com.trolltech.qt.xml.QXmlInputSource)"><tt>parse</tt></a> to work incrementally, and making subsequent calls to the <a href="QXmlSimpleReader.html#parseContinue()"><tt>parseContinue</tt></a> function, until all the data has been processed.</p>
<p>A common way to perform incremental parsing is to connect the <tt>readyRead()</tt> signal of the input source to a slot, and handle the incoming data there. For example, the following code shows how a parser for <a href="http://web.resource.org/rss/1.0/">RSS feeds</tt></a> can be used to incrementally parse data that it receives from a <a href="%2E%2E/network/QHttp.html"><tt>QHttp</tt></a> object:</p>
<pre>    void RSSListing::readData(const QHttpResponseHeader &amp;resp)
    {
        bool ok;

        if (resp.statusCode() != 200)
            http.abort();
        else {
            xmlInput.setData(http.readAll());

            if (newInformation) {
                ok = xmlReader.parse(&amp;xmlInput, true);
                newInformation = false;
            }
            else
                ok = xmlReader.parseContinue();

            if (!ok)
                http.abort();
        }
    }</pre>
<p>Aspects of the parsing behavior can be adapted using <a href="QXmlSimpleReader.html#setFeature(java.lang.String, boolean)"><tt>setFeature</tt></a> and setProperty(). For example, the following code could be used to enable reporting of namespace prefixes to the content handler:</p>
<pre>    xmlReader.setFeature(&quot;http:<span class="comment">//xml.org/sax/features/namespace-prefixes&quot;, true);</span></pre>
<P>

<P>
<HR>

<P>
<!-- ======== NESTED CLASS SUMMARY ======== -->

<A NAME="nested_class_summary"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
<B>Nested Class Summary</B></FONT></TH>
</TR>
</TABLE>
&nbsp;<A NAME="nested_classes_inherited_from_class_com.trolltech.qt.QSignalEmitter"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
<TH ALIGN="left"><B>Nested classes/interfaces inherited from class com.trolltech.qt.<A HREF="../../../../com/trolltech/qt/QSignalEmitter.html" title="class in com.trolltech.qt">QSignalEmitter</A></B></TH>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE><A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal0.html" title="class in com.trolltech.qt">QSignalEmitter.Signal0</A>, <A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal1.html" title="class in com.trolltech.qt">QSignalEmitter.Signal1</A>&lt;<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal1.html" title="type parameter in QSignalEmitter.Signal1">A</A>&gt;, <A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal2.html" title="class in com.trolltech.qt">QSignalEmitter.Signal2</A>&lt;<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal2.html" title="type parameter in QSignalEmitter.Signal2">A</A>,<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal2.html" title="type parameter in QSignalEmitter.Signal2">B</A>&gt;, <A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal3.html" title="class in com.trolltech.qt">QSignalEmitter.Signal3</A>&lt;<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal3.html" title="type parameter in QSignalEmitter.Signal3">A</A>,<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal3.html" title="type parameter in QSignalEmitter.Signal3">B</A>,<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal3.html" title="type parameter in QSignalEmitter.Signal3">C</A>&gt;, <A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal4.html" title="class in com.trolltech.qt">QSignalEmitter.Signal4</A>&lt;<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal4.html" title="type parameter in QSignalEmitter.Signal4">A</A>,<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal4.html" title="type parameter in QSignalEmitter.Signal4">B</A>,<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal4.html" title="type parameter in QSignalEmitter.Signal4">C</A>,<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal4.html" title="type parameter in QSignalEmitter.Signal4">D</A>&gt;, <A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal5.html" title="class in com.trolltech.qt">QSignalEmitter.Signal5</A>&lt;<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal5.html" title="type parameter in QSignalEmitter.Signal5">A</A>,<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal5.html" title="type parameter in QSignalEmitter.Signal5">B</A>,<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal5.html" title="type parameter in QSignalEmitter.Signal5">C</A>,<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal5.html" title="type parameter in QSignalEmitter.Signal5">D</A>,<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal5.html" title="type parameter in QSignalEmitter.Signal5">E</A>&gt;, <A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal6.html" title="class in com.trolltech.qt">QSignalEmitter.Signal6</A>&lt;<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal6.html" title="type parameter in QSignalEmitter.Signal6">A</A>,<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal6.html" title="type parameter in QSignalEmitter.Signal6">B</A>,<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal6.html" title="type parameter in QSignalEmitter.Signal6">C</A>,<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal6.html" title="type parameter in QSignalEmitter.Signal6">D</A>,<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal6.html" title="type parameter in QSignalEmitter.Signal6">E</A>,<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal6.html" title="type parameter in QSignalEmitter.Signal6">F</A>&gt;, <A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal7.html" title="class in com.trolltech.qt">QSignalEmitter.Signal7</A>&lt;<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal7.html" title="type parameter in QSignalEmitter.Signal7">A</A>,<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal7.html" title="type parameter in QSignalEmitter.Signal7">B</A>,<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal7.html" title="type parameter in QSignalEmitter.Signal7">C</A>,<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal7.html" title="type parameter in QSignalEmitter.Signal7">D</A>,<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal7.html" title="type parameter in QSignalEmitter.Signal7">E</A>,<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal7.html" title="type parameter in QSignalEmitter.Signal7">F</A>,<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal7.html" title="type parameter in QSignalEmitter.Signal7">G</A>&gt;, <A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal8.html" title="class in com.trolltech.qt">QSignalEmitter.Signal8</A>&lt;<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal8.html" title="type parameter in QSignalEmitter.Signal8">A</A>,<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal8.html" title="type parameter in QSignalEmitter.Signal8">B</A>,<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal8.html" title="type parameter in QSignalEmitter.Signal8">C</A>,<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal8.html" title="type parameter in QSignalEmitter.Signal8">D</A>,<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal8.html" title="type parameter in QSignalEmitter.Signal8">E</A>,<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal8.html" title="type parameter in QSignalEmitter.Signal8">F</A>,<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal8.html" title="type parameter in QSignalEmitter.Signal8">G</A>,<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal8.html" title="type parameter in QSignalEmitter.Signal8">H</A>&gt;, <A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal9.html" title="class in com.trolltech.qt">QSignalEmitter.Signal9</A>&lt;<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal9.html" title="type parameter in QSignalEmitter.Signal9">A</A>,<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal9.html" title="type parameter in QSignalEmitter.Signal9">B</A>,<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal9.html" title="type parameter in QSignalEmitter.Signal9">C</A>,<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal9.html" title="type parameter in QSignalEmitter.Signal9">D</A>,<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal9.html" title="type parameter in QSignalEmitter.Signal9">E</A>,<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal9.html" title="type parameter in QSignalEmitter.Signal9">F</A>,<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal9.html" title="type parameter in QSignalEmitter.Signal9">G</A>,<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal9.html" title="type parameter in QSignalEmitter.Signal9">H</A>,<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal9.html" title="type parameter in QSignalEmitter.Signal9">I</A>&gt;</CODE></TD>
</TR>
</TABLE>
&nbsp;

<!-- ======== CONSTRUCTOR SUMMARY ======== -->

<A NAME="constructor_summary"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
<B>Constructor Summary</B></FONT></TH>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/xml/QXmlSimpleReader.html#QXmlSimpleReader()">QXmlSimpleReader</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Constructs a simple XML reader.</TD>
</TR>
</TABLE>
&nbsp;
<!-- ========== METHOD SUMMARY =========== -->

<A NAME="method_summary"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
<B>Method Summary</B></FONT></TH>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;<A HREF="../../../../com/trolltech/qt/xml/QXmlContentHandlerInterface.html" title="interface in com.trolltech.qt.xml">QXmlContentHandlerInterface</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/xml/QXmlSimpleReader.html#contentHandler()">contentHandler</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;This function is reimplemented for internal reasons.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;<A HREF="../../../../com/trolltech/qt/xml/QXmlDeclHandlerInterface.html" title="interface in com.trolltech.qt.xml">QXmlDeclHandlerInterface</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/xml/QXmlSimpleReader.html#declHandler()">declHandler</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;This function is reimplemented for internal reasons.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;<A HREF="../../../../com/trolltech/qt/xml/QXmlDTDHandlerInterface.html" title="interface in com.trolltech.qt.xml">QXmlDTDHandlerInterface</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/xml/QXmlSimpleReader.html#DTDHandler()">DTDHandler</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;This function is reimplemented for internal reasons.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;<A HREF="../../../../com/trolltech/qt/xml/QXmlEntityResolverInterface.html" title="interface in com.trolltech.qt.xml">QXmlEntityResolverInterface</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/xml/QXmlSimpleReader.html#entityResolver()">entityResolver</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;This function is reimplemented for internal reasons.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;<A HREF="../../../../com/trolltech/qt/xml/QXmlErrorHandlerInterface.html" title="interface in com.trolltech.qt.xml">QXmlErrorHandlerInterface</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/xml/QXmlSimpleReader.html#errorHandler()">errorHandler</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;This function is reimplemented for internal reasons.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;boolean</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/xml/QXmlSimpleReader.html#feature(java.lang.String)">feature</A></B>(java.lang.String&nbsp;name)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Equivalent to <a href="QXmlSimpleReader.html#feature(java.lang.String)">feature</tt></a>(<tt>name</tt>, 0).</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;<A HREF="../../../../com/trolltech/qt/xml/QXmlSimpleReader.html" title="class in com.trolltech.qt.xml">QXmlSimpleReader</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/xml/QXmlSimpleReader.html#fromNativePointer(com.trolltech.qt.QNativePointer)">fromNativePointer</A></B>(<A HREF="../../../../com/trolltech/qt/QNativePointer.html" title="class in com.trolltech.qt">QNativePointer</A>&nbsp;nativePointer)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;This function returns the QXmlSimpleReader instance pointed to by nativePointer</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;boolean</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/xml/QXmlSimpleReader.html#hasFeature(java.lang.String)">hasFeature</A></B>(java.lang.String&nbsp;name)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;This function is reimplemented for internal reasons.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;boolean</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/xml/QXmlSimpleReader.html#hasProperty(java.lang.String)">hasProperty</A></B>(java.lang.String&nbsp;name)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;This function is reimplemented for internal reasons.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;<A HREF="../../../../com/trolltech/qt/xml/QXmlLexicalHandlerInterface.html" title="interface in com.trolltech.qt.xml">QXmlLexicalHandlerInterface</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/xml/QXmlSimpleReader.html#lexicalHandler()">lexicalHandler</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;This function is reimplemented for internal reasons.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;boolean</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/xml/QXmlSimpleReader.html#parse(com.trolltech.qt.xml.QXmlInputSource)">parse</A></B>(<A HREF="../../../../com/trolltech/qt/xml/QXmlInputSource.html" title="class in com.trolltech.qt.xml">QXmlInputSource</A>&nbsp;input)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;This function is reimplemented for internal reasons.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;boolean</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/xml/QXmlSimpleReader.html#parse(com.trolltech.qt.xml.QXmlInputSource, boolean)">parse</A></B>(<A HREF="../../../../com/trolltech/qt/xml/QXmlInputSource.html" title="class in com.trolltech.qt.xml">QXmlInputSource</A>&nbsp;input,
      boolean&nbsp;incremental)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Reads an XML document from <tt>input</tt> and parses it.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;boolean</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/xml/QXmlSimpleReader.html#parseContinue()">parseContinue</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Continues incremental parsing, taking input from the <a href="QXmlInputSource.html"><tt>QXmlInputSource</tt></a> that was specified with the most recent call to <a href="QXmlSimpleReader.html#parse(com.trolltech.qt.xml.QXmlInputSource)"><tt>parse</tt></a>.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/xml/QXmlSimpleReader.html#setContentHandler(com.trolltech.qt.xml.QXmlContentHandlerInterface)">setContentHandler</A></B>(<A HREF="../../../../com/trolltech/qt/xml/QXmlContentHandlerInterface.html" title="interface in com.trolltech.qt.xml">QXmlContentHandlerInterface</A>&nbsp;handler)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;This function is reimplemented for internal reasons.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/xml/QXmlSimpleReader.html#setDeclHandler(com.trolltech.qt.xml.QXmlDeclHandlerInterface)">setDeclHandler</A></B>(<A HREF="../../../../com/trolltech/qt/xml/QXmlDeclHandlerInterface.html" title="interface in com.trolltech.qt.xml">QXmlDeclHandlerInterface</A>&nbsp;handler)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;This function is reimplemented for internal reasons.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/xml/QXmlSimpleReader.html#setDTDHandler(com.trolltech.qt.xml.QXmlDTDHandlerInterface)">setDTDHandler</A></B>(<A HREF="../../../../com/trolltech/qt/xml/QXmlDTDHandlerInterface.html" title="interface in com.trolltech.qt.xml">QXmlDTDHandlerInterface</A>&nbsp;handler)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;This function is reimplemented for internal reasons.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/xml/QXmlSimpleReader.html#setEntityResolver(com.trolltech.qt.xml.QXmlEntityResolverInterface)">setEntityResolver</A></B>(<A HREF="../../../../com/trolltech/qt/xml/QXmlEntityResolverInterface.html" title="interface in com.trolltech.qt.xml">QXmlEntityResolverInterface</A>&nbsp;handler)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;This function is reimplemented for internal reasons.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/xml/QXmlSimpleReader.html#setErrorHandler(com.trolltech.qt.xml.QXmlErrorHandlerInterface)">setErrorHandler</A></B>(<A HREF="../../../../com/trolltech/qt/xml/QXmlErrorHandlerInterface.html" title="interface in com.trolltech.qt.xml">QXmlErrorHandlerInterface</A>&nbsp;handler)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;This function is reimplemented for internal reasons.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/xml/QXmlSimpleReader.html#setFeature(java.lang.String, boolean)">setFeature</A></B>(java.lang.String&nbsp;name,
           boolean&nbsp;value)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Turns on the feature <tt>name</tt> if <tt>value</tt> is true; otherwise turns it off.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/xml/QXmlSimpleReader.html#setLexicalHandler(com.trolltech.qt.xml.QXmlLexicalHandlerInterface)">setLexicalHandler</A></B>(<A HREF="../../../../com/trolltech/qt/xml/QXmlLexicalHandlerInterface.html" title="interface in com.trolltech.qt.xml">QXmlLexicalHandlerInterface</A>&nbsp;handler)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;This function is reimplemented for internal reasons.</TD>
</TR>
</TABLE>
&nbsp;<A NAME="methods_inherited_from_class_com.trolltech.qt.QtJambiObject"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
<TH ALIGN="left"><B>Methods inherited from class com.trolltech.qt.<A HREF="../../../../com/trolltech/qt/QtJambiObject.html" title="class in com.trolltech.qt">QtJambiObject</A></B></TH>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE><A HREF="../../../../com/trolltech/qt/QtJambiObject.html#dispose()">dispose</A>, <A HREF="../../../../com/trolltech/qt/QtJambiObject.html#disposed()">disposed</A>, <A HREF="../../../../com/trolltech/qt/QtJambiObject.html#finalize()">finalize</A>, <A HREF="../../../../com/trolltech/qt/QtJambiObject.html#reassignNativeResources(com.trolltech.qt.QtJambiObject, java.lang.Class)">reassignNativeResources</A>, <A HREF="../../../../com/trolltech/qt/QtJambiObject.html#tr(java.lang.String)">tr</A>, <A HREF="../../../../com/trolltech/qt/QtJambiObject.html#tr(java.lang.String, java.lang.String)">tr</A>, <A HREF="../../../../com/trolltech/qt/QtJambiObject.html#tr(java.lang.String, java.lang.String, int)">tr</A></CODE></TD>
</TR>
</TABLE>
&nbsp;<A NAME="methods_inherited_from_class_com.trolltech.qt.QSignalEmitter"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
<TH ALIGN="left"><B>Methods inherited from class com.trolltech.qt.<A HREF="../../../../com/trolltech/qt/QSignalEmitter.html" title="class in com.trolltech.qt">QSignalEmitter</A></B></TH>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE><A HREF="../../../../com/trolltech/qt/QSignalEmitter.html#blockSignals(boolean)">blockSignals</A>, <A HREF="../../../../com/trolltech/qt/QSignalEmitter.html#disconnect()">disconnect</A>, <A HREF="../../../../com/trolltech/qt/QSignalEmitter.html#disconnect(java.lang.Object)">disconnect</A>, <A HREF="../../../../com/trolltech/qt/QSignalEmitter.html#signalsBlocked()">signalsBlocked</A>, <A HREF="../../../../com/trolltech/qt/QSignalEmitter.html#signalSender()">signalSender</A>, <A HREF="../../../../com/trolltech/qt/QSignalEmitter.html#thread()">thread</A></CODE></TD>
</TR>
</TABLE>
&nbsp;<A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
<TH ALIGN="left"><B>Methods inherited from class java.lang.Object</B></TH>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE>clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait</CODE></TD>
</TR>
</TABLE>
&nbsp;<A NAME="methods_inherited_from_class_com.trolltech.qt.QtJambiInterface"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
<TH ALIGN="left"><B>Methods inherited from interface com.trolltech.qt.<A HREF="../../../../com/trolltech/qt/QtJambiInterface.html" title="interface in com.trolltech.qt">QtJambiInterface</A></B></TH>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE><A HREF="../../../../com/trolltech/qt/QtJambiInterface.html#disableGarbageCollection()">disableGarbageCollection</A>, <A HREF="../../../../com/trolltech/qt/QtJambiInterface.html#nativeId()">nativeId</A>, <A HREF="../../../../com/trolltech/qt/QtJambiInterface.html#nativePointer()">nativePointer</A>, <A HREF="../../../../com/trolltech/qt/QtJambiInterface.html#reenableGarbageCollection()">reenableGarbageCollection</A>, <A HREF="../../../../com/trolltech/qt/QtJambiInterface.html#setJavaOwnership()">setJavaOwnership</A></CODE></TD>
</TR>
</TABLE>
&nbsp;
<P>

<!-- ========= CONSTRUCTOR DETAIL ======== -->

<A NAME="constructor_detail"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
<B>Constructor Detail</B></FONT></TH>
</TR>
</TABLE>

<A NAME="QXmlSimpleReader()"><!-- --></A><H3>
QXmlSimpleReader</H3>
<PRE>
public <B>QXmlSimpleReader</B>()</PRE>
<DL>
<DD><p>Constructs a simple XML reader.</p>
<P>
</DL>

<!-- ============ METHOD DETAIL ========== -->

<A NAME="method_detail"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
<B>Method Detail</B></FONT></TH>
</TR>
</TABLE>

<A NAME="DTDHandler()"><!-- --></A><H3>
DTDHandler</H3>
<PRE>
public <A HREF="../../../../com/trolltech/qt/xml/QXmlDTDHandlerInterface.html" title="interface in com.trolltech.qt.xml">QXmlDTDHandlerInterface</A> <B>DTDHandler</B>()</PRE>
<DL>
<DD><p>This function is reimplemented for internal reasons.</p>
<P>
<DD><DL>
<DT><B>Specified by:</B><DD><CODE><A HREF="../../../../com/trolltech/qt/xml/QXmlReader.html#DTDHandler()">DTDHandler</A></CODE> in class <CODE><A HREF="../../../../com/trolltech/qt/xml/QXmlReader.html" title="class in com.trolltech.qt.xml">QXmlReader</A></CODE></DL>
</DD>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QXmlSimpleReader.html#setDTDHandler(com.trolltech.qt.xml.QXmlDTDHandlerInterface)"><tt>setDTDHandler</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="contentHandler()"><!-- --></A><H3>
contentHandler</H3>
<PRE>
public <A HREF="../../../../com/trolltech/qt/xml/QXmlContentHandlerInterface.html" title="interface in com.trolltech.qt.xml">QXmlContentHandlerInterface</A> <B>contentHandler</B>()</PRE>
<DL>
<DD><p>This function is reimplemented for internal reasons.</p>
<P>
<DD><DL>
<DT><B>Specified by:</B><DD><CODE><A HREF="../../../../com/trolltech/qt/xml/QXmlReader.html#contentHandler()">contentHandler</A></CODE> in class <CODE><A HREF="../../../../com/trolltech/qt/xml/QXmlReader.html" title="class in com.trolltech.qt.xml">QXmlReader</A></CODE></DL>
</DD>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QXmlSimpleReader.html#setContentHandler(com.trolltech.qt.xml.QXmlContentHandlerInterface)"><tt>setContentHandler</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="declHandler()"><!-- --></A><H3>
declHandler</H3>
<PRE>
public <A HREF="../../../../com/trolltech/qt/xml/QXmlDeclHandlerInterface.html" title="interface in com.trolltech.qt.xml">QXmlDeclHandlerInterface</A> <B>declHandler</B>()</PRE>
<DL>
<DD><p>This function is reimplemented for internal reasons.</p>
<P>
<DD><DL>
<DT><B>Specified by:</B><DD><CODE><A HREF="../../../../com/trolltech/qt/xml/QXmlReader.html#declHandler()">declHandler</A></CODE> in class <CODE><A HREF="../../../../com/trolltech/qt/xml/QXmlReader.html" title="class in com.trolltech.qt.xml">QXmlReader</A></CODE></DL>
</DD>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QXmlSimpleReader.html#setDeclHandler(com.trolltech.qt.xml.QXmlDeclHandlerInterface)"><tt>setDeclHandler</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="entityResolver()"><!-- --></A><H3>
entityResolver</H3>
<PRE>
public <A HREF="../../../../com/trolltech/qt/xml/QXmlEntityResolverInterface.html" title="interface in com.trolltech.qt.xml">QXmlEntityResolverInterface</A> <B>entityResolver</B>()</PRE>
<DL>
<DD><p>This function is reimplemented for internal reasons.</p>
<P>
<DD><DL>
<DT><B>Specified by:</B><DD><CODE><A HREF="../../../../com/trolltech/qt/xml/QXmlReader.html#entityResolver()">entityResolver</A></CODE> in class <CODE><A HREF="../../../../com/trolltech/qt/xml/QXmlReader.html" title="class in com.trolltech.qt.xml">QXmlReader</A></CODE></DL>
</DD>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QXmlSimpleReader.html#setEntityResolver(com.trolltech.qt.xml.QXmlEntityResolverInterface)"><tt>setEntityResolver</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="errorHandler()"><!-- --></A><H3>
errorHandler</H3>
<PRE>
public <A HREF="../../../../com/trolltech/qt/xml/QXmlErrorHandlerInterface.html" title="interface in com.trolltech.qt.xml">QXmlErrorHandlerInterface</A> <B>errorHandler</B>()</PRE>
<DL>
<DD><p>This function is reimplemented for internal reasons.</p>
<P>
<DD><DL>
<DT><B>Specified by:</B><DD><CODE><A HREF="../../../../com/trolltech/qt/xml/QXmlReader.html#errorHandler()">errorHandler</A></CODE> in class <CODE><A HREF="../../../../com/trolltech/qt/xml/QXmlReader.html" title="class in com.trolltech.qt.xml">QXmlReader</A></CODE></DL>
</DD>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QXmlSimpleReader.html#setErrorHandler(com.trolltech.qt.xml.QXmlErrorHandlerInterface)"><tt>setErrorHandler</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="feature(java.lang.String)"><!-- --></A><H3>
feature</H3>
<PRE>
public boolean <B>feature</B>(java.lang.String&nbsp;name)</PRE>
<DL>
<DD><p>Equivalent to <a href="QXmlSimpleReader.html#feature(java.lang.String)">feature</tt></a>(<tt>name</tt>, 0).
<P>
<DD><DL>
<DT><B>Specified by:</B><DD><CODE><A HREF="../../../../com/trolltech/qt/xml/QXmlReader.html#feature(java.lang.String)">feature</A></CODE> in class <CODE><A HREF="../../../../com/trolltech/qt/xml/QXmlReader.html" title="class in com.trolltech.qt.xml">QXmlReader</A></CODE></DL>
</DD>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QXmlSimpleReader.html#setFeature(java.lang.String, boolean)"><tt>setFeature</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="hasFeature(java.lang.String)"><!-- --></A><H3>
hasFeature</H3>
<PRE>
public boolean <B>hasFeature</B>(java.lang.String&nbsp;name)</PRE>
<DL>
<DD><p>This function is reimplemented for internal reasons.</p>
<P>
<DD><DL>
<DT><B>Specified by:</B><DD><CODE><A HREF="../../../../com/trolltech/qt/xml/QXmlReader.html#hasFeature(java.lang.String)">hasFeature</A></CODE> in class <CODE><A HREF="../../../../com/trolltech/qt/xml/QXmlReader.html" title="class in com.trolltech.qt.xml">QXmlReader</A></CODE></DL>
</DD>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QXmlReader.html#feature(java.lang.String)"><tt>feature</tt></a>, 
<a href="QXmlReader.html#setFeature(java.lang.String, boolean)"><tt>setFeature</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="hasProperty(java.lang.String)"><!-- --></A><H3>
hasProperty</H3>
<PRE>
public boolean <B>hasProperty</B>(java.lang.String&nbsp;name)</PRE>
<DL>
<DD><p>This function is reimplemented for internal reasons.</p>
<P>
<DD><DL>
<DT><B>Specified by:</B><DD><CODE><A HREF="../../../../com/trolltech/qt/xml/QXmlReader.html#hasProperty(java.lang.String)">hasProperty</A></CODE> in class <CODE><A HREF="../../../../com/trolltech/qt/xml/QXmlReader.html" title="class in com.trolltech.qt.xml">QXmlReader</A></CODE></DL>
</DD>
<DD><DL>
<DT><B>See Also:</B><DD><tt>property</tt>, 
<tt>setProperty</tt></DL>
</DD>
</DL>
<HR>

<A NAME="lexicalHandler()"><!-- --></A><H3>
lexicalHandler</H3>
<PRE>
public <A HREF="../../../../com/trolltech/qt/xml/QXmlLexicalHandlerInterface.html" title="interface in com.trolltech.qt.xml">QXmlLexicalHandlerInterface</A> <B>lexicalHandler</B>()</PRE>
<DL>
<DD><p>This function is reimplemented for internal reasons.</p>
<P>
<DD><DL>
<DT><B>Specified by:</B><DD><CODE><A HREF="../../../../com/trolltech/qt/xml/QXmlReader.html#lexicalHandler()">lexicalHandler</A></CODE> in class <CODE><A HREF="../../../../com/trolltech/qt/xml/QXmlReader.html" title="class in com.trolltech.qt.xml">QXmlReader</A></CODE></DL>
</DD>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QXmlSimpleReader.html#setLexicalHandler(com.trolltech.qt.xml.QXmlLexicalHandlerInterface)"><tt>setLexicalHandler</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="parse(com.trolltech.qt.xml.QXmlInputSource, boolean)"><!-- --></A><H3>
parse</H3>
<PRE>
public boolean <B>parse</B>(<A HREF="../../../../com/trolltech/qt/xml/QXmlInputSource.html" title="class in com.trolltech.qt.xml">QXmlInputSource</A>&nbsp;input,
                     boolean&nbsp;incremental)</PRE>
<DL>
<DD><p>Reads an XML document from <tt>input</tt> and parses it. Returns true if the parsing is completed successfully; otherwise returns false, indicating that an error occurred.</p>
<p>If <tt>incremental</tt> is false, this function will return false if the XML file is not read completely. The parsing cannot be continued in this case.</p>
<p>If <tt>incremental</tt> is true, the parser does not return false if it reaches the end of the <tt>input</tt> before reaching the end of the XML file. Instead, it stores the state of the parser so that parsing can be continued later when more data is available. In such a case, you can use the function <a href="QXmlSimpleReader.html#parseContinue()"><tt>parseContinue</tt></a> to continue with parsing. This class stores a pointer to the input source <tt>input</tt> and the <a href="QXmlSimpleReader.html#parseContinue()"><tt>parseContinue</tt></a> function tries to read from that input source. Therefore, you should not delete the input source <tt>input</tt> until you no longer need to call <a href="QXmlSimpleReader.html#parseContinue()"><tt>parseContinue</tt></a>.</p>
<p>If this function is called with <tt>incremental</tt> set to true while an incremental parse is in progress, a new parsing session will be started, and the previous session will be lost.</p>
<P>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QXmlSimpleReader.html#parseContinue()"><tt>parseContinue</tt></a>, 
<a href="%2E%2E/network/QTcpSocket.html"><tt>QTcpSocket</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="parse(com.trolltech.qt.xml.QXmlInputSource)"><!-- --></A><H3>
parse</H3>
<PRE>
public boolean <B>parse</B>(<A HREF="../../../../com/trolltech/qt/xml/QXmlInputSource.html" title="class in com.trolltech.qt.xml">QXmlInputSource</A>&nbsp;input)</PRE>
<DL>
<DD><p>This function is reimplemented for internal reasons.</p>
<P>
<DD><DL>
<DT><B>Specified by:</B><DD><CODE><A HREF="../../../../com/trolltech/qt/xml/QXmlReader.html#parse(com.trolltech.qt.xml.QXmlInputSource)">parse</A></CODE> in class <CODE><A HREF="../../../../com/trolltech/qt/xml/QXmlReader.html" title="class in com.trolltech.qt.xml">QXmlReader</A></CODE></DL>
</DD>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="parseContinue()"><!-- --></A><H3>
parseContinue</H3>
<PRE>
public boolean <B>parseContinue</B>()</PRE>
<DL>
<DD><p>Continues incremental parsing, taking input from the <a href="QXmlInputSource.html"><tt>QXmlInputSource</tt></a> that was specified with the most recent call to <a href="QXmlSimpleReader.html#parse(com.trolltech.qt.xml.QXmlInputSource)"><tt>parse</tt></a>. To use this function, you <i>must</i> have called <a href="QXmlSimpleReader.html#parse(com.trolltech.qt.xml.QXmlInputSource)"><tt>parse</tt></a> with the incremental argument set to true.</p>
<p>Returns false if a parsing error occurs; otherwise returns true, even if the end of the XML file has not been reached. You can continue parsing at a later stage by calling this function again when there is more data available to parse.</p>
<p>Calling this function when there is no data available in the input source indicates to the reader that the end of the XML file has been reached. If the input supplied up to this point was not well-formed then a parsing error occurs, and false is returned. If the input supplied was well-formed, true is returned. It is important to end the input in this way because it allows you to reuse the reader to parse other XML files.</p>
<p>Calling this function after the end of file has been reached, but without available data will cause false to be returned whether the previous input was well-formed or not.</p>
<P>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QXmlSimpleReader.html#parse(com.trolltech.qt.xml.QXmlInputSource)"><tt>parse</tt></a>, 
<tt>QXmlInputSource::data</tt>, 
<tt>QXmlInputSource::next</tt></DL>
</DD>
</DL>
<HR>

<A NAME="setContentHandler(com.trolltech.qt.xml.QXmlContentHandlerInterface)"><!-- --></A><H3>
setContentHandler</H3>
<PRE>
public void <B>setContentHandler</B>(<A HREF="../../../../com/trolltech/qt/xml/QXmlContentHandlerInterface.html" title="interface in com.trolltech.qt.xml">QXmlContentHandlerInterface</A>&nbsp;handler)</PRE>
<DL>
<DD><p>This function is reimplemented for internal reasons.</p>
<P>
<DD><DL>
<DT><B>Specified by:</B><DD><CODE><A HREF="../../../../com/trolltech/qt/xml/QXmlReader.html#setContentHandler(com.trolltech.qt.xml.QXmlContentHandlerInterface)">setContentHandler</A></CODE> in class <CODE><A HREF="../../../../com/trolltech/qt/xml/QXmlReader.html" title="class in com.trolltech.qt.xml">QXmlReader</A></CODE></DL>
</DD>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QXmlSimpleReader.html#contentHandler()"><tt>contentHandler</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="setDTDHandler(com.trolltech.qt.xml.QXmlDTDHandlerInterface)"><!-- --></A><H3>
setDTDHandler</H3>
<PRE>
public void <B>setDTDHandler</B>(<A HREF="../../../../com/trolltech/qt/xml/QXmlDTDHandlerInterface.html" title="interface in com.trolltech.qt.xml">QXmlDTDHandlerInterface</A>&nbsp;handler)</PRE>
<DL>
<DD><p>This function is reimplemented for internal reasons.</p>
<P>
<DD><DL>
<DT><B>Specified by:</B><DD><CODE><A HREF="../../../../com/trolltech/qt/xml/QXmlReader.html#setDTDHandler(com.trolltech.qt.xml.QXmlDTDHandlerInterface)">setDTDHandler</A></CODE> in class <CODE><A HREF="../../../../com/trolltech/qt/xml/QXmlReader.html" title="class in com.trolltech.qt.xml">QXmlReader</A></CODE></DL>
</DD>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QXmlReader.html#DTDHandler()"><tt>DTDHandler</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="setDeclHandler(com.trolltech.qt.xml.QXmlDeclHandlerInterface)"><!-- --></A><H3>
setDeclHandler</H3>
<PRE>
public void <B>setDeclHandler</B>(<A HREF="../../../../com/trolltech/qt/xml/QXmlDeclHandlerInterface.html" title="interface in com.trolltech.qt.xml">QXmlDeclHandlerInterface</A>&nbsp;handler)</PRE>
<DL>
<DD><p>This function is reimplemented for internal reasons.</p>
<P>
<DD><DL>
<DT><B>Specified by:</B><DD><CODE><A HREF="../../../../com/trolltech/qt/xml/QXmlReader.html#setDeclHandler(com.trolltech.qt.xml.QXmlDeclHandlerInterface)">setDeclHandler</A></CODE> in class <CODE><A HREF="../../../../com/trolltech/qt/xml/QXmlReader.html" title="class in com.trolltech.qt.xml">QXmlReader</A></CODE></DL>
</DD>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QXmlSimpleReader.html#declHandler()"><tt>declHandler</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="setEntityResolver(com.trolltech.qt.xml.QXmlEntityResolverInterface)"><!-- --></A><H3>
setEntityResolver</H3>
<PRE>
public void <B>setEntityResolver</B>(<A HREF="../../../../com/trolltech/qt/xml/QXmlEntityResolverInterface.html" title="interface in com.trolltech.qt.xml">QXmlEntityResolverInterface</A>&nbsp;handler)</PRE>
<DL>
<DD><p>This function is reimplemented for internal reasons.</p>
<P>
<DD><DL>
<DT><B>Specified by:</B><DD><CODE><A HREF="../../../../com/trolltech/qt/xml/QXmlReader.html#setEntityResolver(com.trolltech.qt.xml.QXmlEntityResolverInterface)">setEntityResolver</A></CODE> in class <CODE><A HREF="../../../../com/trolltech/qt/xml/QXmlReader.html" title="class in com.trolltech.qt.xml">QXmlReader</A></CODE></DL>
</DD>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QXmlSimpleReader.html#entityResolver()"><tt>entityResolver</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="setErrorHandler(com.trolltech.qt.xml.QXmlErrorHandlerInterface)"><!-- --></A><H3>
setErrorHandler</H3>
<PRE>
public void <B>setErrorHandler</B>(<A HREF="../../../../com/trolltech/qt/xml/QXmlErrorHandlerInterface.html" title="interface in com.trolltech.qt.xml">QXmlErrorHandlerInterface</A>&nbsp;handler)</PRE>
<DL>
<DD><p>This function is reimplemented for internal reasons.</p>
<P>
<DD><DL>
<DT><B>Specified by:</B><DD><CODE><A HREF="../../../../com/trolltech/qt/xml/QXmlReader.html#setErrorHandler(com.trolltech.qt.xml.QXmlErrorHandlerInterface)">setErrorHandler</A></CODE> in class <CODE><A HREF="../../../../com/trolltech/qt/xml/QXmlReader.html" title="class in com.trolltech.qt.xml">QXmlReader</A></CODE></DL>
</DD>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QXmlSimpleReader.html#errorHandler()"><tt>errorHandler</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="setFeature(java.lang.String, boolean)"><!-- --></A><H3>
setFeature</H3>
<PRE>
public void <B>setFeature</B>(java.lang.String&nbsp;name,
                       boolean&nbsp;value)</PRE>
<DL>
<DD><p>Turns on the feature <tt>name</tt> if <tt>value</tt> is true; otherwise turns it off.</p>
<p>The <tt>name</tt> parameter must be one of the following strings:</p>
<p><table align="center" cellpadding="2" cellspacing="1" border="0">
<thead><tr valign="top" class="qt-style"><th>Feature</th><th>Default</th><th>Notes</th></tr></thead>
<tr valign="top" class="odd"><td><i>http://xml.org/sax/features/namespaces</i></td><td>true</td><td>If enabled, namespaces are reported to the content handler.</td></tr>
<tr valign="top" class="even"><td><i>http://xml.org/sax/features/namespace-prefixes</i></td><td>false</td><td>If enabled, the original prefixed names and attributes used for namespace declarations are reported.</td></tr>
<tr valign="top" class="odd"><td><i>http://trolltech.com/xml/features/report-whitespace-only-CharData</i></td><td>true</td><td>If enabled, CharData that consist of only whitespace characters are reported using QXmlContentHandler::characters(). If disabled, whitespace is silently discarded.</td></tr>
<tr valign="top" class="even"><td><i>http://trolltech.com/xml/features/report-start-end-entity</i></td><td>false</td><td>If enabled, the parser reports QXmlContentHandler::startEntity() and QXmlContentHandler::endEntity() events, so character data might be reported in chunks. If disabled, the parser does not report these events, but silently substitutes the entities, and reports the character data in one chunk.</td></tr>
</table></p>
<P>
<DD><DL>
<DT><B>Specified by:</B><DD><CODE><A HREF="../../../../com/trolltech/qt/xml/QXmlReader.html#setFeature(java.lang.String, boolean)">setFeature</A></CODE> in class <CODE><A HREF="../../../../com/trolltech/qt/xml/QXmlReader.html" title="class in com.trolltech.qt.xml">QXmlReader</A></CODE></DL>
</DD>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QXmlSimpleReader.html#feature(java.lang.String)"><tt>feature</tt></a>, 
<a href="QXmlSimpleReader.html#hasFeature(java.lang.String)"><tt>hasFeature</tt></a>, 
<CODE>Features</tt></CODE></DL>
</DD>
</DL>
<HR>

<A NAME="setLexicalHandler(com.trolltech.qt.xml.QXmlLexicalHandlerInterface)"><!-- --></A><H3>
setLexicalHandler</H3>
<PRE>
public void <B>setLexicalHandler</B>(<A HREF="../../../../com/trolltech/qt/xml/QXmlLexicalHandlerInterface.html" title="interface in com.trolltech.qt.xml">QXmlLexicalHandlerInterface</A>&nbsp;handler)</PRE>
<DL>
<DD><p>This function is reimplemented for internal reasons.</p>
<P>
<DD><DL>
<DT><B>Specified by:</B><DD><CODE><A HREF="../../../../com/trolltech/qt/xml/QXmlReader.html#setLexicalHandler(com.trolltech.qt.xml.QXmlLexicalHandlerInterface)">setLexicalHandler</A></CODE> in class <CODE><A HREF="../../../../com/trolltech/qt/xml/QXmlReader.html" title="class in com.trolltech.qt.xml">QXmlReader</A></CODE></DL>
</DD>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QXmlSimpleReader.html#lexicalHandler()"><tt>lexicalHandler</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="fromNativePointer(com.trolltech.qt.QNativePointer)"><!-- --></A><H3>
fromNativePointer</H3>
<PRE>
public static <A HREF="../../../../com/trolltech/qt/xml/QXmlSimpleReader.html" title="class in com.trolltech.qt.xml">QXmlSimpleReader</A> <B>fromNativePointer</B>(<A HREF="../../../../com/trolltech/qt/QNativePointer.html" title="class in com.trolltech.qt">QNativePointer</A>&nbsp;nativePointer)</PRE>
<DL>
<DD>This function returns the QXmlSimpleReader instance pointed to by nativePointer
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>nativePointer</CODE> - the QNativePointer of which object should be returned.</DL>
</DD>
</DL>
<!-- ========= END OF CLASS DATA ========= -->
<HR>


<!-- ======= START OF BOTTOM NAVBAR ====== -->
<A NAME="navbar_bottom"><!-- --></A>
<A HREF="#skip-navbar_bottom" title="Skip navigation links"></A>
<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
<TR>
<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
<A NAME="navbar_bottom_firstrow"><!-- --></A>
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
  <TR ALIGN="center" VALIGN="top">
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
  </TR>
</TABLE>
</TD>
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
</EM>
</TD>
</TR>

<TR>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
&nbsp;<A HREF="../../../../com/trolltech/qt/xml/QXmlReader.html" title="class in com.trolltech.qt.xml"><B>PREV CLASS</B></A>&nbsp;
&nbsp;<A HREF="../../../../com/trolltech/qt/xml/QXmlStreamAttribute.html" title="class in com.trolltech.qt.xml"><B>NEXT CLASS</B></A></FONT></TD>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
  <A HREF="../../../../index.html?com/trolltech/qt/xml/QXmlSimpleReader.html" target="_top"><B>FRAMES</B></A>  &nbsp;
&nbsp;<A HREF="QXmlSimpleReader.html" target="_top"><B>NO FRAMES</B></A>  &nbsp;
&nbsp;<SCRIPT type="text/javascript">
  <!--
  if(window==top) {
    document.writeln('<A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>');
  }
  //-->
</SCRIPT>
<NOSCRIPT>
  <A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>
</NOSCRIPT>


</FONT></TD>
</TR>
<TR>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
  SUMMARY:&nbsp;<A HREF="#nested_classes_inherited_from_class_com.trolltech.qt.QSignalEmitter">NESTED</A>&nbsp;|&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
DETAIL:&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
</TR>
</TABLE>
<A NAME="skip-navbar_bottom"></A>
<!-- ======== END OF BOTTOM NAVBAR ======= -->

<HR>

</BODY>
</HTML>