Sophie

Sophie

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

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>
QXmlStreamReader
</TITLE>

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

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

<SCRIPT type="text/javascript">
function windowTitle()
{
    parent.document.title="QXmlStreamReader";
}
</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/QXmlStreamNotationDeclaration.html" title="class in com.trolltech.qt.xml"><B>PREV CLASS</B></A>&nbsp;
&nbsp;<A HREF="../../../../com/trolltech/qt/xml/QXmlStreamReader.Error.html" title="enum 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/QXmlStreamReader.html" target="_top"><B>FRAMES</B></A>  &nbsp;
&nbsp;<A HREF="QXmlStreamReader.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_class_summary">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 QXmlStreamReader</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 "><B>com.trolltech.qt.xml.QXmlStreamReader</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>QXmlStreamReader</B><DT>extends <A HREF="../../../../com/trolltech/qt/QtJambiObject.html" title="class in com.trolltech.qt">QtJambiObject</A></DL>
</PRE>

<P>
<p>The <a href="QXmlStreamReader.html#QXmlStreamReader(com.trolltech.qt.core.QIODevice)"><tt>QXmlStreamReader</tt></a> class provides a fast well-formed XML parser with a simple streaming API.</p>
<p><a href="QXmlStreamReader.html#QXmlStreamReader(com.trolltech.qt.core.QIODevice)"><tt>QXmlStreamReader</tt></a> is a faster and more convenient replacement for Qt's own SAX parser (see <a href="QXmlSimpleReader.html"><tt>QXmlSimpleReader</tt></a>), and in some cases also for applications that would previously use a DOM tree (see <a href="QDomDocument.html"><tt>QDomDocument</tt></a>). <a href="QXmlStreamReader.html#QXmlStreamReader(com.trolltech.qt.core.QIODevice)"><tt>QXmlStreamReader</tt></a> reads data either from a <a href="%2E%2E/core/QIODevice.html"><tt>QIODevice</tt></a> (see <a href="QXmlStreamReader.html#setDevice(com.trolltech.qt.core.QIODevice)"><tt>setDevice</tt></a>), or from a raw <a href="%2E%2E/core/QByteArray.html"><tt>QByteArray</tt></a> (see <a href="QXmlStreamReader.html#addData(java.lang.String)"><tt>addData</tt></a>). With <a href="QXmlStreamWriter.html"><tt>QXmlStreamWriter</tt></a>, Qt provides a related class for writing XML.</p>
<p>The basic concept of a stream reader is to report an XML document as a stream of tokens, similar to SAX. The main difference between <a href="QXmlStreamReader.html#QXmlStreamReader(com.trolltech.qt.core.QIODevice)"><tt>QXmlStreamReader</tt></a> and SAX is <i>how</i> these XML tokens are reported. With SAX, the application must provide handlers that receive so-called XML <i>events</i> from the parser at the parser's convenience. With <a href="QXmlStreamReader.html#QXmlStreamReader(com.trolltech.qt.core.QIODevice)"><tt>QXmlStreamReader</tt></a>, the application code itself drives the loop and pulls <i>tokens</i> from the reader one after another as it needs them. This is done by calling <a href="QXmlStreamReader.html#readNext()"><tt>readNext</tt></a>, which makes the reader read from the input stream until it has completed a new token, and then returns its <a href="QXmlStreamReader.html#tokenType()"><tt>tokenType</tt></a>. A set of convenient functions like <a href="QXmlStreamReader.html#isStartElement()"><tt>isStartElement</tt></a> or <a href="QXmlStreamReader.html#text()"><tt>text</tt></a> then allows to examine this token, and to obtain information about what has been read. The big advantage of the pulling approach is the possibility to build recursive descent parsers, meaning you can split your XML parsing code easily into different methods or classes. This makes it easy to keep track of the application's own state when parsing XML.</p>
<p>A typical loop with <a href="QXmlStreamReader.html#QXmlStreamReader(com.trolltech.qt.core.QIODevice)"><tt>QXmlStreamReader</tt></a> looks like this:</p>
<pre>    QXmlStreamReader xml;
    ...
    while (!xml.atEnd()) {
          xml.readNext();
          ... <span class="comment">// do processing</span>
    }
    if (xml.hasError()) {
          ... <span class="comment">// do error handling</span>
    }</pre>
<p><a href="QXmlStreamReader.html#QXmlStreamReader(com.trolltech.qt.core.QIODevice)"><tt>QXmlStreamReader</tt></a> is a well-formed XML 1.0 parser that does <i>not</i> include external parsed entities. As long as no error occurs, the application code can thus be assured that the data provided by the stream reader satisfies the W3C's criteria for well-formed XML. For example, you can be certain that all tags are indeed nested and closed properly, that references to internal entities have been replaced with the correct replacement text, and that attributes have been normalized or added according to the internal subset of the DTD.</p>
<p>If an error does occur while parsing, <a href="QXmlStreamReader.html#atEnd()"><tt>atEnd</tt></a> returns true and <a href="QXmlStreamReader.html#error()"><tt>error</tt></a> returns the kind of error that occurred. <a href="QXmlStreamReader.html#hasError()"><tt>hasError</tt></a> can also be used to check whether an error has occurred. The functions <a href="QXmlStreamReader.html#errorString()"><tt>errorString</tt></a>, <a href="QXmlStreamReader.html#lineNumber()"><tt>lineNumber</tt></a>, <a href="QXmlStreamReader.html#columnNumber()"><tt>columnNumber</tt></a>, and <a href="QXmlStreamReader.html#characterOffset()"><tt>characterOffset</tt></a> make it possible to generate a verbose human-understandable error or warning message. In order to simplify application code, <a href="QXmlStreamReader.html#QXmlStreamReader(com.trolltech.qt.core.QIODevice)"><tt>QXmlStreamReader</tt></a> contains a <a href="QXmlStreamReader.html#raiseError(java.lang.String)"><tt>raiseError</tt></a> mechanism that makes it possible to raise custom errors that then trigger the same error handling code path.</p>
<p>The <tt>QXmlStream Bookmarks Example</tt> illustrates how to use the recursive descent technique with a subclassed stream reader to read an XML bookmark file (XBEL).</p>
<a name="namespaces"></a>
<h3>Namespaces</h3>
<p>QXmlStream understands and resolves XML namespaces. E.g&#x2e; in case of a <a href="QXmlStreamReader.html#TokenType-enum"><tt>StartElement</tt></a>, <a href="QXmlStreamReader.html#namespaceUri()"><tt>namespaceUri</tt></a> returns the namespace the element is in, and <a href="QXmlStreamReader.html#name()"><tt>name</tt></a> returns the element's <i>local</i> name. The combination of <a href="QXmlStreamReader.html#namespaceUri()"><tt>namespaceUri</tt></a> and name uniquely identifies an element. If a namespace prefix was not declared in the XML entities parsed by the reader, the <a href="QXmlStreamReader.html#namespaceUri()"><tt>namespaceUri</tt></a> is empty.</p>
<p>If you parse XML data that does not utilize namespaces according to the XML specification or doesn't use namespaces at all, you can use the element's <a href="QXmlStreamReader.html#qualifiedName()"><tt>qualifiedName</tt></a> instead. A qualified name is the element's <i>prefix</i> followed by colon followed by the element's local name - exactly like the element appears in the raw XML data. Since the mapping <a href="QXmlStreamReader.html#namespaceUri()"><tt>namespaceUri</tt></a> to prefix is neither unique nor universal, <a href="QXmlStreamReader.html#qualifiedName()"><tt>qualifiedName</tt></a> should be avoided for namespace-compliant XML data.</p>
<p>In order to parse standalone documents that do use undeclared namespace prefixes, you can turn off namespace processing completely with the <a href="QXmlStreamReader.html#namespaceProcessing()"><tt>namespaceProcessing</tt></a> property.</p>
<a name="incremental-parsing"></a>
<h3>Incremental parsing</h3>
<p><a href="QXmlStreamReader.html#QXmlStreamReader(com.trolltech.qt.core.QIODevice)"><tt>QXmlStreamReader</tt></a> is an incremental parser. 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. If the reader runs out of data before the document has been parsed completely, it reports a <a href="QXmlStreamReader.html#Error-enum"><tt>PrematureEndOfDocumentError</tt></a>. Once more data has arrived, either through the device or because it has been added with <a href="QXmlStreamReader.html#addData(java.lang.String)"><tt>addData</tt></a>, it recovers from that error and continues parsing on the next call to read().</p>
<p>For example, if you read data from the network using <a href="%2E%2E/network/QHttp.html"><tt>QHttp</tt></a>, you would connect its readyRead() signal to a custom slot. In this slot, you read all available data with readAll() and pass it to the XML stream reader using <a href="QXmlStreamReader.html#addData(java.lang.String)"><tt>addData</tt></a>. Then you call your custom parsing function that reads the XML events from the reader.</p>
<a name="performance-and-memory-consumption"></a>
<h3>Performance and memory consumption</h3>
<p><a href="QXmlStreamReader.html#QXmlStreamReader(com.trolltech.qt.core.QIODevice)"><tt>QXmlStreamReader</tt></a> is memory-conservative by design, since it doesn't store the entire XML document tree in memory, but only the current token at the time it is reported. In addition, <a href="QXmlStreamReader.html#QXmlStreamReader(com.trolltech.qt.core.QIODevice)"><tt>QXmlStreamReader</tt></a> avoids the many small string allocations that it normally takes to map an XML document to a convenient and Qt-ish API. It does this by reporting all string data as QStringRef rather than real <a href="%2E%2E/porting4.html#qstring"><tt>QString</tt></a> objects. QStringRef is a thin wrapper around <a href="%2E%2E/porting4.html#qstring"><tt>QString</tt></a> substrings that provides a subset of the <a href="%2E%2E/porting4.html#qstring"><tt>QString</tt></a> API without the memory allocation and reference-counting overhead. Calling toString() on any of those objects returns an equivalent real <a href="%2E%2E/porting4.html#qstring"><tt>QString</tt></a> object.</p>
<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>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;class</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/xml/QXmlStreamReader.Error.html" title="enum in com.trolltech.qt.xml">QXmlStreamReader.Error</A></B></CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;This enum specifies different error cases</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;class</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/xml/QXmlStreamReader.TokenType.html" title="enum in com.trolltech.qt.xml">QXmlStreamReader.TokenType</A></B></CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;This enum specifies the type of token the reader just read.</TD>
</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/QXmlStreamReader.html#QXmlStreamReader()">QXmlStreamReader</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Constructs a stream reader.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/xml/QXmlStreamReader.html#QXmlStreamReader(com.trolltech.qt.core.QByteArray)">QXmlStreamReader</A></B>(<A HREF="../../../../com/trolltech/qt/core/QByteArray.html" title="class in com.trolltech.qt.core">QByteArray</A>&nbsp;data)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Creates a new stream reader that reads from <tt>data</tt>.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/xml/QXmlStreamReader.html#QXmlStreamReader(com.trolltech.qt.core.QIODevice)">QXmlStreamReader</A></B>(<A HREF="../../../../com/trolltech/qt/core/QIODevice.html" title="class in com.trolltech.qt.core">QIODevice</A>&nbsp;device)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Creates a new stream reader that reads from <tt>device</tt>.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/xml/QXmlStreamReader.html#QXmlStreamReader(java.lang.String)">QXmlStreamReader</A></B>(java.lang.String&nbsp;data)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Creates a new stream reader that reads from <tt>data</tt>.</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;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/xml/QXmlStreamReader.html#addData(com.trolltech.qt.core.QByteArray)">addData</A></B>(<A HREF="../../../../com/trolltech/qt/core/QByteArray.html" title="class in com.trolltech.qt.core">QByteArray</A>&nbsp;data)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Adds more <tt>data</tt> for the reader to read.</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/QXmlStreamReader.html#addData(java.lang.String)">addData</A></B>(java.lang.String&nbsp;data)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Adds more <tt>data</tt> for the reader to read.</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/QXmlStreamReader.html#atEnd()">atEnd</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns true if the reader has read until the end of the XML document, or an error has occurred and reading has been aborted; otherwise returns false.</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/QXmlStreamAttributes.html" title="class in com.trolltech.qt.xml">QXmlStreamAttributes</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/xml/QXmlStreamReader.html#attributes()">attributes</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the attributes of a <a href="QXmlStreamReader.html#TokenType-enum"><tt>StartElement</tt></a>.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;long</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/xml/QXmlStreamReader.html#characterOffset()">characterOffset</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the current character offset, starting with 0.</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/QXmlStreamReader.html#clear()">clear</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Removes any <a href="QXmlStreamReader.html#device()"><tt>device</tt></a> or data from the reader, and resets its state to the initial state.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;long</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/xml/QXmlStreamReader.html#columnNumber()">columnNumber</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the current column number, starting with 0.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;<A HREF="../../../../com/trolltech/qt/core/QIODevice.html" title="class in com.trolltech.qt.core">QIODevice</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/xml/QXmlStreamReader.html#device()">device</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the current device associated with the <a href="QXmlStreamReader.html#QXmlStreamReader(com.trolltech.qt.core.QIODevice)"><tt>QXmlStreamReader</tt></a>, or 0 if no device has been assigned.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;java.util.List&lt;<A HREF="../../../../com/trolltech/qt/xml/QXmlStreamEntityDeclaration.html" title="class in com.trolltech.qt.xml">QXmlStreamEntityDeclaration</A>&gt;</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/xml/QXmlStreamReader.html#entityDeclarations()">entityDeclarations</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;If the state() is <a href="QXmlStreamReader.html#TokenType-enum">DTD</tt></a>, this function returns the DTD's unparsed (external) entity declarations.</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/QXmlStreamReader.Error.html" title="enum in com.trolltech.qt.xml">QXmlStreamReader.Error</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/xml/QXmlStreamReader.html#error()">error</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the type of the current error, or <a href="QXmlStreamReader.html#Error-enum"><tt>NoError</tt></a> if no error occurred.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;java.lang.String</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/xml/QXmlStreamReader.html#errorString()">errorString</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the error message that was set with <a href="QXmlStreamReader.html#raiseError(java.lang.String)"><tt>raiseError</tt></a>.</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/QXmlStreamReader.html" title="class in com.trolltech.qt.xml">QXmlStreamReader</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/xml/QXmlStreamReader.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 QXmlStreamReader 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/QXmlStreamReader.html#hasError()">hasError</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns <tt>true</tt> if an error has occurred, otherwise <tt>false</tt>.</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/QXmlStreamReader.html#isCDATA()">isCDATA</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns true if the reader reports characters that stem from a CDATA section; otherwise returns false.</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/QXmlStreamReader.html#isCharacters()">isCharacters</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns true if <a href="QXmlStreamReader.html#tokenType()"><tt>tokenType</tt></a> equals <a href="QXmlStreamReader.html#TokenType-enum">Characters</tt></a>; otherwise returns false.</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/QXmlStreamReader.html#isComment()">isComment</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns true if <a href="QXmlStreamReader.html#tokenType()"><tt>tokenType</tt></a> equals <a href="QXmlStreamReader.html#TokenType-enum">Comment</tt></a>; otherwise returns false.</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/QXmlStreamReader.html#isDTD()">isDTD</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns true if <a href="QXmlStreamReader.html#tokenType()"><tt>tokenType</tt></a> equals <a href="QXmlStreamReader.html#TokenType-enum">DTD</tt></a>; otherwise returns false.</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/QXmlStreamReader.html#isEndDocument()">isEndDocument</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns true if <a href="QXmlStreamReader.html#tokenType()"><tt>tokenType</tt></a> equals <a href="QXmlStreamReader.html#TokenType-enum"><tt>EndDocument</tt></a>; otherwise returns false.</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/QXmlStreamReader.html#isEndElement()">isEndElement</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns true if <a href="QXmlStreamReader.html#tokenType()"><tt>tokenType</tt></a> equals <a href="QXmlStreamReader.html#TokenType-enum"><tt>EndElement</tt></a>; otherwise returns false.</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/QXmlStreamReader.html#isEntityReference()">isEntityReference</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns true if <a href="QXmlStreamReader.html#tokenType()"><tt>tokenType</tt></a> equals <a href="QXmlStreamReader.html#TokenType-enum"><tt>EntityReference</tt></a>; otherwise returns false.</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/QXmlStreamReader.html#isProcessingInstruction()">isProcessingInstruction</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns true if <a href="QXmlStreamReader.html#tokenType()"><tt>tokenType</tt></a> equals <a href="QXmlStreamReader.html#TokenType-enum"><tt>ProcessingInstruction</tt></a>; otherwise returns false.</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/QXmlStreamReader.html#isStandaloneDocument()">isStandaloneDocument</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns true if this document has been declared standalone in the XML declaration; otherwise returns false.</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/QXmlStreamReader.html#isStartDocument()">isStartDocument</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns true if <a href="QXmlStreamReader.html#tokenType()"><tt>tokenType</tt></a> equals <a href="QXmlStreamReader.html#TokenType-enum"><tt>StartDocument</tt></a>; otherwise returns false.</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/QXmlStreamReader.html#isStartElement()">isStartElement</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns true if <a href="QXmlStreamReader.html#tokenType()"><tt>tokenType</tt></a> equals <a href="QXmlStreamReader.html#TokenType-enum"><tt>StartElement</tt></a>; otherwise returns false.</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/QXmlStreamReader.html#isWhitespace()">isWhitespace</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns true if the reader reports characters that only consist of white-space; otherwise returns false.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;long</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/xml/QXmlStreamReader.html#lineNumber()">lineNumber</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the current line number, starting with 1.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;java.lang.String</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/xml/QXmlStreamReader.html#name()">name</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the local name of a <a href="QXmlStreamReader.html#TokenType-enum"><tt>StartElement</tt></a>, <a href="QXmlStreamReader.html#TokenType-enum"><tt>EndElement</tt></a>, or an <a href="QXmlStreamReader.html#TokenType-enum"><tt>EntityReference</tt></a>.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;java.util.List&lt;<A HREF="../../../../com/trolltech/qt/xml/QXmlStreamNamespaceDeclaration.html" title="class in com.trolltech.qt.xml">QXmlStreamNamespaceDeclaration</A>&gt;</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/xml/QXmlStreamReader.html#namespaceDeclarations()">namespaceDeclarations</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;If the state() is <a href="QXmlStreamReader.html#TokenType-enum"><tt>StartElement</tt></a>, this function returns the element's namespace declarations.</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/QXmlStreamReader.html#namespaceProcessing()">namespaceProcessing</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;the namespace-processing flag of the stream reader</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;java.lang.String</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/xml/QXmlStreamReader.html#namespaceUri()">namespaceUri</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the <a href="QXmlStreamReader.html#namespaceUri()"><tt>namespaceUri</tt></a> of a <a href="QXmlStreamReader.html#TokenType-enum"><tt>StartElement</tt></a> or <a href="QXmlStreamReader.html#TokenType-enum"><tt>EndElement</tt></a>.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;java.util.List&lt;<A HREF="../../../../com/trolltech/qt/xml/QXmlStreamNotationDeclaration.html" title="class in com.trolltech.qt.xml">QXmlStreamNotationDeclaration</A>&gt;</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/xml/QXmlStreamReader.html#notationDeclarations()">notationDeclarations</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;If the state() is <a href="QXmlStreamReader.html#TokenType-enum">DTD</tt></a>, this function returns the DTD's notation declarations.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;java.lang.String</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/xml/QXmlStreamReader.html#processingInstructionData()">processingInstructionData</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the data of a <a href="QXmlStreamReader.html#TokenType-enum"><tt>ProcessingInstruction</tt></a>.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;java.lang.String</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/xml/QXmlStreamReader.html#processingInstructionTarget()">processingInstructionTarget</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the target of a <a href="QXmlStreamReader.html#TokenType-enum"><tt>ProcessingInstruction</tt></a>.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;java.lang.String</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/xml/QXmlStreamReader.html#qualifiedName()">qualifiedName</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the qualified name of a <a href="QXmlStreamReader.html#TokenType-enum"><tt>StartElement</tt></a> or <a href="QXmlStreamReader.html#TokenType-enum"><tt>EndElement</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/QXmlStreamReader.html#raiseError()">raiseError</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Equivalent to <a href="QXmlStreamReader.html#raiseError(java.lang.String)"><tt>raiseError</tt></a>(QString()).</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/QXmlStreamReader.html#raiseError(java.lang.String)">raiseError</A></B>(java.lang.String&nbsp;message)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Raises a custom error with an optional error <tt>message</tt>.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;java.lang.String</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/xml/QXmlStreamReader.html#readElementText()">readElementText</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Convenience function to be called in case a <a href="QXmlStreamReader.html#TokenType-enum"><tt>StartElement</tt></a> was read.</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/QXmlStreamReader.TokenType.html" title="enum in com.trolltech.qt.xml">QXmlStreamReader.TokenType</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/xml/QXmlStreamReader.html#readNext()">readNext</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Reads the next token and returns its type.</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/QXmlStreamReader.html#setDevice(com.trolltech.qt.core.QIODevice)">setDevice</A></B>(<A HREF="../../../../com/trolltech/qt/core/QIODevice.html" title="class in com.trolltech.qt.core">QIODevice</A>&nbsp;device)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets the current device to <tt>device</tt>.</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/QXmlStreamReader.html#setNamespaceProcessing(boolean)">setNamespaceProcessing</A></B>(boolean&nbsp;arg__1)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;the namespace-processing flag of the stream reader</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;java.lang.String</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/xml/QXmlStreamReader.html#text()">text</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the text of <a href="QXmlStreamReader.html#TokenType-enum">Characters</tt></a>, <a href="QXmlStreamReader.html#TokenType-enum">Comment</tt></a>, <a href="QXmlStreamReader.html#TokenType-enum">DTD</tt></a>, or <a href="QXmlStreamReader.html#TokenType-enum"><tt>EntityReference</tt></a>.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;java.lang.String</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/xml/QXmlStreamReader.html#tokenString()">tokenString</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the reader's current token as string.</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/QXmlStreamReader.TokenType.html" title="enum in com.trolltech.qt.xml">QXmlStreamReader.TokenType</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/xml/QXmlStreamReader.html#tokenType()">tokenType</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the type of the current token.</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="QXmlStreamReader(com.trolltech.qt.core.QByteArray)"><!-- --></A><H3>
QXmlStreamReader</H3>
<PRE>
public <B>QXmlStreamReader</B>(<A HREF="../../../../com/trolltech/qt/core/QByteArray.html" title="class in com.trolltech.qt.core">QByteArray</A>&nbsp;data)</PRE>
<DL>
<DD><p>Creates a new stream reader that reads from <tt>data</tt>.</p>
<P>
<DL>
<DT><B>See Also:</B><DD><a href="QXmlStreamReader.html#addData(java.lang.String)"><tt>addData</tt></a>, 
<a href="QXmlStreamReader.html#clear()"><tt>clear</tt></a>, 
<a href="QXmlStreamReader.html#setDevice(com.trolltech.qt.core.QIODevice)"><tt>setDevice</tt></a></DL>
</DL>
<HR>

<A NAME="QXmlStreamReader(java.lang.String)"><!-- --></A><H3>
QXmlStreamReader</H3>
<PRE>
public <B>QXmlStreamReader</B>(java.lang.String&nbsp;data)</PRE>
<DL>
<DD><p>Creates a new stream reader that reads from <tt>data</tt>.</p>
<P>
<DL>
<DT><B>See Also:</B><DD><a href="QXmlStreamReader.html#addData(java.lang.String)"><tt>addData</tt></a>, 
<a href="QXmlStreamReader.html#clear()"><tt>clear</tt></a>, 
<a href="QXmlStreamReader.html#setDevice(com.trolltech.qt.core.QIODevice)"><tt>setDevice</tt></a></DL>
</DL>
<HR>

<A NAME="QXmlStreamReader()"><!-- --></A><H3>
QXmlStreamReader</H3>
<PRE>
public <B>QXmlStreamReader</B>()</PRE>
<DL>
<DD><p>Constructs a stream reader.</p>
<P>
<DL>
<DT><B>See Also:</B><DD><a href="QXmlStreamReader.html#setDevice(com.trolltech.qt.core.QIODevice)"><tt>setDevice</tt></a>, 
<a href="QXmlStreamReader.html#addData(java.lang.String)"><tt>addData</tt></a></DL>
</DL>
<HR>

<A NAME="QXmlStreamReader(com.trolltech.qt.core.QIODevice)"><!-- --></A><H3>
QXmlStreamReader</H3>
<PRE>
public <B>QXmlStreamReader</B>(<A HREF="../../../../com/trolltech/qt/core/QIODevice.html" title="class in com.trolltech.qt.core">QIODevice</A>&nbsp;device)</PRE>
<DL>
<DD><p>Creates a new stream reader that reads from <tt>device</tt>.</p>
<P>
<DL>
<DT><B>See Also:</B><DD><a href="QXmlStreamReader.html#setDevice(com.trolltech.qt.core.QIODevice)"><tt>setDevice</tt></a>, 
<a href="QXmlStreamReader.html#clear()"><tt>clear</tt></a></DL>
</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="addData(com.trolltech.qt.core.QByteArray)"><!-- --></A><H3>
addData</H3>
<PRE>
public final void <B>addData</B>(<A HREF="../../../../com/trolltech/qt/core/QByteArray.html" title="class in com.trolltech.qt.core">QByteArray</A>&nbsp;data)</PRE>
<DL>
<DD><p>Adds more <tt>data</tt> for the reader to read.</p>
<p>This function does nothing if the reader has a <a href="QXmlStreamReader.html#device()"><tt>device</tt></a>.</p>
<P>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QXmlStreamReader.html#clear()"><tt>clear</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="addData(java.lang.String)"><!-- --></A><H3>
addData</H3>
<PRE>
public final void <B>addData</B>(java.lang.String&nbsp;data)</PRE>
<DL>
<DD><p>Adds more <tt>data</tt> for the reader to read.</p>
<p>This function does nothing if the reader has a <a href="QXmlStreamReader.html#device()"><tt>device</tt></a>.</p>
<P>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QXmlStreamReader.html#clear()"><tt>clear</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="atEnd()"><!-- --></A><H3>
atEnd</H3>
<PRE>
public final boolean <B>atEnd</B>()</PRE>
<DL>
<DD><p>Returns true if the reader has read until the end of the XML document, or an error has occurred and reading has been aborted; otherwise returns false.</p>
<p>Has reading been aborted with a <a href="QXmlStreamReader.html#Error-enum"><tt>PrematureEndOfDocumentError</tt></a> because the device no longer delivered data, <a href="QXmlStreamReader.html#atEnd()"><tt>atEnd</tt></a> will return true once more data has arrived.</p>
<P>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QXmlStreamReader.html#device()"><tt>device</tt></a>, 
<tt>QIODevice::atEnd</tt></DL>
</DD>
</DL>
<HR>

<A NAME="attributes()"><!-- --></A><H3>
attributes</H3>
<PRE>
public final <A HREF="../../../../com/trolltech/qt/xml/QXmlStreamAttributes.html" title="class in com.trolltech.qt.xml">QXmlStreamAttributes</A> <B>attributes</B>()</PRE>
<DL>
<DD><p>Returns the attributes of a <a href="QXmlStreamReader.html#TokenType-enum"><tt>StartElement</tt></a>.</p>
<P>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="characterOffset()"><!-- --></A><H3>
characterOffset</H3>
<PRE>
public final long <B>characterOffset</B>()</PRE>
<DL>
<DD><p>Returns the current character offset, starting with 0.</p>
<P>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QXmlStreamReader.html#lineNumber()"><tt>lineNumber</tt></a>, 
<a href="QXmlStreamReader.html#columnNumber()"><tt>columnNumber</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="clear()"><!-- --></A><H3>
clear</H3>
<PRE>
public final void <B>clear</B>()</PRE>
<DL>
<DD><p>Removes any <a href="QXmlStreamReader.html#device()"><tt>device</tt></a> or data from the reader, and resets its state to the initial state.</p>
<P>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QXmlStreamReader.html#addData(java.lang.String)"><tt>addData</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="columnNumber()"><!-- --></A><H3>
columnNumber</H3>
<PRE>
public final long <B>columnNumber</B>()</PRE>
<DL>
<DD><p>Returns the current column number, starting with 0.</p>
<P>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QXmlStreamReader.html#lineNumber()"><tt>lineNumber</tt></a>, 
<a href="QXmlStreamReader.html#characterOffset()"><tt>characterOffset</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="device()"><!-- --></A><H3>
device</H3>
<PRE>
public final <A HREF="../../../../com/trolltech/qt/core/QIODevice.html" title="class in com.trolltech.qt.core">QIODevice</A> <B>device</B>()</PRE>
<DL>
<DD><p>Returns the current device associated with the <a href="QXmlStreamReader.html#QXmlStreamReader(com.trolltech.qt.core.QIODevice)"><tt>QXmlStreamReader</tt></a>, or 0 if no device has been assigned.</p>
<P>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QXmlStreamReader.html#setDevice(com.trolltech.qt.core.QIODevice)"><tt>setDevice</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="entityDeclarations()"><!-- --></A><H3>
entityDeclarations</H3>
<PRE>
public final java.util.List&lt;<A HREF="../../../../com/trolltech/qt/xml/QXmlStreamEntityDeclaration.html" title="class in com.trolltech.qt.xml">QXmlStreamEntityDeclaration</A>&gt; <B>entityDeclarations</B>()</PRE>
<DL>
<DD><p>If the state() is <a href="QXmlStreamReader.html#TokenType-enum">DTD</tt></a>, this function returns the DTD's unparsed (external) entity declarations. Otherwise an empty vector is returned.</p>
<p>The QXmlStreamEntityDeclarations class is defined to be a QVector of <a href="QXmlStreamEntityDeclaration.html"><tt>QXmlStreamEntityDeclaration</tt></a>.</p>
<P>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="error()"><!-- --></A><H3>
error</H3>
<PRE>
public final <A HREF="../../../../com/trolltech/qt/xml/QXmlStreamReader.Error.html" title="enum in com.trolltech.qt.xml">QXmlStreamReader.Error</A> <B>error</B>()</PRE>
<DL>
<DD><p>Returns the type of the current error, or <a href="QXmlStreamReader.html#Error-enum"><tt>NoError</tt></a> if no error occurred.</p>
<P>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QXmlStreamReader.html#errorString()"><tt>errorString</tt></a>, 
<a href="QXmlStreamReader.html#raiseError(java.lang.String)"><tt>raiseError</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="errorString()"><!-- --></A><H3>
errorString</H3>
<PRE>
public final java.lang.String <B>errorString</B>()</PRE>
<DL>
<DD><p>Returns the error message that was set with <a href="QXmlStreamReader.html#raiseError(java.lang.String)"><tt>raiseError</tt></a>.</p>
<P>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QXmlStreamReader.html#error()"><tt>error</tt></a>, 
<a href="QXmlStreamReader.html#lineNumber()"><tt>lineNumber</tt></a>, 
<a href="QXmlStreamReader.html#columnNumber()"><tt>columnNumber</tt></a>, 
<a href="QXmlStreamReader.html#characterOffset()"><tt>characterOffset</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="hasError()"><!-- --></A><H3>
hasError</H3>
<PRE>
public final boolean <B>hasError</B>()</PRE>
<DL>
<DD><p>Returns <tt>true</tt> if an error has occurred, otherwise <tt>false</tt>.</p>
<P>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QXmlStreamReader.html#errorString()"><tt>errorString</tt></a>, 
<a href="QXmlStreamReader.html#error()"><tt>error</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="isCDATA()"><!-- --></A><H3>
isCDATA</H3>
<PRE>
public final boolean <B>isCDATA</B>()</PRE>
<DL>
<DD><p>Returns true if the reader reports characters that stem from a CDATA section; otherwise returns false.</p>
<P>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QXmlStreamReader.html#isCharacters()"><tt>isCharacters</tt></a>, 
<a href="QXmlStreamReader.html#text()"><tt>text</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="isCharacters()"><!-- --></A><H3>
isCharacters</H3>
<PRE>
public final boolean <B>isCharacters</B>()</PRE>
<DL>
<DD><p>Returns true if <a href="QXmlStreamReader.html#tokenType()"><tt>tokenType</tt></a> equals <a href="QXmlStreamReader.html#TokenType-enum">Characters</tt></a>; otherwise returns false.</p>
<P>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QXmlStreamReader.html#isWhitespace()"><tt>isWhitespace</tt></a>, 
<a href="QXmlStreamReader.html#isCDATA()"><tt>isCDATA</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="isComment()"><!-- --></A><H3>
isComment</H3>
<PRE>
public final boolean <B>isComment</B>()</PRE>
<DL>
<DD><p>Returns true if <a href="QXmlStreamReader.html#tokenType()"><tt>tokenType</tt></a> equals <a href="QXmlStreamReader.html#TokenType-enum">Comment</tt></a>; otherwise returns false.</p>
<P>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="isDTD()"><!-- --></A><H3>
isDTD</H3>
<PRE>
public final boolean <B>isDTD</B>()</PRE>
<DL>
<DD><p>Returns true if <a href="QXmlStreamReader.html#tokenType()"><tt>tokenType</tt></a> equals <a href="QXmlStreamReader.html#TokenType-enum">DTD</tt></a>; otherwise returns false.</p>
<P>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="isEndDocument()"><!-- --></A><H3>
isEndDocument</H3>
<PRE>
public final boolean <B>isEndDocument</B>()</PRE>
<DL>
<DD><p>Returns true if <a href="QXmlStreamReader.html#tokenType()"><tt>tokenType</tt></a> equals <a href="QXmlStreamReader.html#TokenType-enum"><tt>EndDocument</tt></a>; otherwise returns false.</p>
<P>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="isEndElement()"><!-- --></A><H3>
isEndElement</H3>
<PRE>
public final boolean <B>isEndElement</B>()</PRE>
<DL>
<DD><p>Returns true if <a href="QXmlStreamReader.html#tokenType()"><tt>tokenType</tt></a> equals <a href="QXmlStreamReader.html#TokenType-enum"><tt>EndElement</tt></a>; otherwise returns false.</p>
<P>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="isEntityReference()"><!-- --></A><H3>
isEntityReference</H3>
<PRE>
public final boolean <B>isEntityReference</B>()</PRE>
<DL>
<DD><p>Returns true if <a href="QXmlStreamReader.html#tokenType()"><tt>tokenType</tt></a> equals <a href="QXmlStreamReader.html#TokenType-enum"><tt>EntityReference</tt></a>; otherwise returns false.</p>
<P>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="isProcessingInstruction()"><!-- --></A><H3>
isProcessingInstruction</H3>
<PRE>
public final boolean <B>isProcessingInstruction</B>()</PRE>
<DL>
<DD><p>Returns true if <a href="QXmlStreamReader.html#tokenType()"><tt>tokenType</tt></a> equals <a href="QXmlStreamReader.html#TokenType-enum"><tt>ProcessingInstruction</tt></a>; otherwise returns false.</p>
<P>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="isStandaloneDocument()"><!-- --></A><H3>
isStandaloneDocument</H3>
<PRE>
public final boolean <B>isStandaloneDocument</B>()</PRE>
<DL>
<DD><p>Returns true if this document has been declared standalone in the XML declaration; otherwise returns false.</p>
<p>If no XML declaration has been parsed, this function returns false.</p>
<P>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="isStartDocument()"><!-- --></A><H3>
isStartDocument</H3>
<PRE>
public final boolean <B>isStartDocument</B>()</PRE>
<DL>
<DD><p>Returns true if <a href="QXmlStreamReader.html#tokenType()"><tt>tokenType</tt></a> equals <a href="QXmlStreamReader.html#TokenType-enum"><tt>StartDocument</tt></a>; otherwise returns false.</p>
<P>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="isStartElement()"><!-- --></A><H3>
isStartElement</H3>
<PRE>
public final boolean <B>isStartElement</B>()</PRE>
<DL>
<DD><p>Returns true if <a href="QXmlStreamReader.html#tokenType()"><tt>tokenType</tt></a> equals <a href="QXmlStreamReader.html#TokenType-enum"><tt>StartElement</tt></a>; otherwise returns false.</p>
<P>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="isWhitespace()"><!-- --></A><H3>
isWhitespace</H3>
<PRE>
public final boolean <B>isWhitespace</B>()</PRE>
<DL>
<DD><p>Returns true if the reader reports characters that only consist of white-space; otherwise returns false.</p>
<P>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QXmlStreamReader.html#isCharacters()"><tt>isCharacters</tt></a>, 
<a href="QXmlStreamReader.html#text()"><tt>text</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="lineNumber()"><!-- --></A><H3>
lineNumber</H3>
<PRE>
public final long <B>lineNumber</B>()</PRE>
<DL>
<DD><p>Returns the current line number, starting with 1.</p>
<P>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QXmlStreamReader.html#columnNumber()"><tt>columnNumber</tt></a>, 
<a href="QXmlStreamReader.html#characterOffset()"><tt>characterOffset</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="name()"><!-- --></A><H3>
name</H3>
<PRE>
public final java.lang.String <B>name</B>()</PRE>
<DL>
<DD><p>Returns the local name of a <a href="QXmlStreamReader.html#TokenType-enum"><tt>StartElement</tt></a>, <a href="QXmlStreamReader.html#TokenType-enum"><tt>EndElement</tt></a>, or an <a href="QXmlStreamReader.html#TokenType-enum"><tt>EntityReference</tt></a>.</p>
<P>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QXmlStreamReader.html#namespaceUri()"><tt>namespaceUri</tt></a>, 
<a href="QXmlStreamReader.html#qualifiedName()"><tt>qualifiedName</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="namespaceDeclarations()"><!-- --></A><H3>
namespaceDeclarations</H3>
<PRE>
public final java.util.List&lt;<A HREF="../../../../com/trolltech/qt/xml/QXmlStreamNamespaceDeclaration.html" title="class in com.trolltech.qt.xml">QXmlStreamNamespaceDeclaration</A>&gt; <B>namespaceDeclarations</B>()</PRE>
<DL>
<DD><p>If the state() is <a href="QXmlStreamReader.html#TokenType-enum"><tt>StartElement</tt></a>, this function returns the element's namespace declarations. Otherwise an empty vector is returned.</p>
<p>The <a href="QXmlStreamNamespaceDeclaration.html"><tt>QXmlStreamNamespaceDeclaration</tt></a> class is defined to be a QVector of <a href="QXmlStreamNamespaceDeclaration.html"><tt>QXmlStreamNamespaceDeclaration</tt></a>.</p>
<P>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="namespaceProcessing()"><!-- --></A><H3>
namespaceProcessing</H3>
<PRE>
public final boolean <B>namespaceProcessing</B>()</PRE>
<DL>
<DD><p>the namespace-processing flag of the stream reader</p>
<p>This property controls whether or not the stream reader processes namespaces. If enabled, the reader processes namespaces, otherwise it does not.</p>
<p>By default, namespace-processing is enabled.</p>
<P>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QXmlStreamReader.html#setNamespaceProcessing(boolean)"><tt>setNamespaceProcessing</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="namespaceUri()"><!-- --></A><H3>
namespaceUri</H3>
<PRE>
public final java.lang.String <B>namespaceUri</B>()</PRE>
<DL>
<DD><p>Returns the <a href="QXmlStreamReader.html#namespaceUri()"><tt>namespaceUri</tt></a> of a <a href="QXmlStreamReader.html#TokenType-enum"><tt>StartElement</tt></a> or <a href="QXmlStreamReader.html#TokenType-enum"><tt>EndElement</tt></a>.</p>
<P>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QXmlStreamReader.html#name()"><tt>name</tt></a>, 
<a href="QXmlStreamReader.html#qualifiedName()"><tt>qualifiedName</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="notationDeclarations()"><!-- --></A><H3>
notationDeclarations</H3>
<PRE>
public final java.util.List&lt;<A HREF="../../../../com/trolltech/qt/xml/QXmlStreamNotationDeclaration.html" title="class in com.trolltech.qt.xml">QXmlStreamNotationDeclaration</A>&gt; <B>notationDeclarations</B>()</PRE>
<DL>
<DD><p>If the state() is <a href="QXmlStreamReader.html#TokenType-enum">DTD</tt></a>, this function returns the DTD's notation declarations. Otherwise an empty vector is returned.</p>
<p>The QXmlStreamNotationDeclarations class is defined to be a QVector of <a href="QXmlStreamNotationDeclaration.html"><tt>QXmlStreamNotationDeclaration</tt></a>.</p>
<P>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="processingInstructionData()"><!-- --></A><H3>
processingInstructionData</H3>
<PRE>
public final java.lang.String <B>processingInstructionData</B>()</PRE>
<DL>
<DD><p>Returns the data of a <a href="QXmlStreamReader.html#TokenType-enum"><tt>ProcessingInstruction</tt></a>.</p>
<P>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="processingInstructionTarget()"><!-- --></A><H3>
processingInstructionTarget</H3>
<PRE>
public final java.lang.String <B>processingInstructionTarget</B>()</PRE>
<DL>
<DD><p>Returns the target of a <a href="QXmlStreamReader.html#TokenType-enum"><tt>ProcessingInstruction</tt></a>.</p>
<P>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="qualifiedName()"><!-- --></A><H3>
qualifiedName</H3>
<PRE>
public final java.lang.String <B>qualifiedName</B>()</PRE>
<DL>
<DD><p>Returns the qualified name of a <a href="QXmlStreamReader.html#TokenType-enum"><tt>StartElement</tt></a> or <a href="QXmlStreamReader.html#TokenType-enum"><tt>EndElement</tt></a>;</p>
<p>A qualified name is the raw name of an element in the XML data. It consists of the namespace prefix, followed by colon, followed by the element's local name. Since the namespace prefix is not unique (the same prefix can point to different namespaces and different prefixes can point to the same namespace), you shouldn't use <a href="QXmlStreamReader.html#qualifiedName()"><tt>qualifiedName</tt></a>, but the resolved <a href="QXmlStreamReader.html#namespaceUri()"><tt>namespaceUri</tt></a> and the attribute's local <a href="QXmlStreamReader.html#name()"><tt>name</tt></a>.</p>
<P>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QXmlStreamReader.html#name()"><tt>name</tt></a>, 
<a href="QXmlStreamReader.html#namespaceUri()"><tt>namespaceUri</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="raiseError()"><!-- --></A><H3>
raiseError</H3>
<PRE>
public final void <B>raiseError</B>()</PRE>
<DL>
<DD><p>Equivalent to <a href="QXmlStreamReader.html#raiseError(java.lang.String)"><tt>raiseError</tt></a>(QString()).
<P>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="raiseError(java.lang.String)"><!-- --></A><H3>
raiseError</H3>
<PRE>
public final void <B>raiseError</B>(java.lang.String&nbsp;message)</PRE>
<DL>
<DD><p>Raises a custom error with an optional error <tt>message</tt>.</p>
<P>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QXmlStreamReader.html#error()"><tt>error</tt></a>, 
<a href="QXmlStreamReader.html#errorString()"><tt>errorString</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="readElementText()"><!-- --></A><H3>
readElementText</H3>
<PRE>
public final java.lang.String <B>readElementText</B>()</PRE>
<DL>
<DD><p>Convenience function to be called in case a <a href="QXmlStreamReader.html#TokenType-enum"><tt>StartElement</tt></a> was read. Reads until the corresponding <a href="QXmlStreamReader.html#TokenType-enum"><tt>EndElement</tt></a> and returns all text in-between. In case of no error, the token after having called this function is <a href="QXmlStreamReader.html#TokenType-enum"><tt>EndElement</tt></a>.</p>
<p>The function concatenates <a href="QXmlStreamReader.html#text()"><tt>text</tt></a> when it reads either <a href="QXmlStreamReader.html#TokenType-enum">Characters</tt></a> or <a href="QXmlStreamReader.html#TokenType-enum"><tt>EntityReference</tt></a> tokens, but skips <a href="QXmlStreamReader.html#TokenType-enum"><tt>ProcessingInstruction</tt></a> and <a href="QXmlStreamReader.html#TokenType-enum">Comment</tt></a>. In case anything else is read before reaching <a href="QXmlStreamReader.html#TokenType-enum"><tt>EndElement</tt></a>, the function returns what it read so far and raises an <a href="QXmlStreamReader.html#Error-enum"><tt>UnexpectedElementError</tt></a>. If the current token is not <a href="QXmlStreamReader.html#TokenType-enum"><tt>StartElement</tt></a>, an empty string is returned.</p>
<P>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="readNext()"><!-- --></A><H3>
readNext</H3>
<PRE>
public final <A HREF="../../../../com/trolltech/qt/xml/QXmlStreamReader.TokenType.html" title="enum in com.trolltech.qt.xml">QXmlStreamReader.TokenType</A> <B>readNext</B>()</PRE>
<DL>
<DD><p>Reads the next token and returns its type.</p>
<p>If an <a href="QXmlStreamReader.html#error()"><tt>error</tt></a> has been reported, reading is no longer possible. In this case, <a href="QXmlStreamReader.html#atEnd()"><tt>atEnd</tt></a> always returns true, and this function will do nothing but return Invalid.</p>
<p>The one exception to this rule are errors of type <a href="QXmlStreamReader.html#Error-enum"><tt>PrematureEndOfDocumentError</tt></a>. Subsequent calls to <a href="QXmlStreamReader.html#atEnd()"><tt>atEnd</tt></a> and <a href="QXmlStreamReader.html#readNext()"><tt>readNext</tt></a> will resume this error type and try to read from the device again. This iterative parsing approach makes sense if you can't or don't want to read the entire data in one go, for example, if it is huge, or it is being delivered over a network connection</p>
<P>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QXmlStreamReader.html#tokenType()"><tt>tokenType</tt></a>, 
<a href="QXmlStreamReader.html#tokenString()"><tt>tokenString</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="setDevice(com.trolltech.qt.core.QIODevice)"><!-- --></A><H3>
setDevice</H3>
<PRE>
public final void <B>setDevice</B>(<A HREF="../../../../com/trolltech/qt/core/QIODevice.html" title="class in com.trolltech.qt.core">QIODevice</A>&nbsp;device)</PRE>
<DL>
<DD><p>Sets the current device to <tt>device</tt>. Setting the device resets the stream to its initial state.</p>
<P>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QXmlStreamReader.html#device()"><tt>device</tt></a>, 
<a href="QXmlStreamReader.html#clear()"><tt>clear</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="setNamespaceProcessing(boolean)"><!-- --></A><H3>
setNamespaceProcessing</H3>
<PRE>
public final void <B>setNamespaceProcessing</B>(boolean&nbsp;arg__1)</PRE>
<DL>
<DD><p>the namespace-processing flag of the stream reader</p>
<p>This property controls whether or not the stream reader processes namespaces. If enabled, the reader processes namespaces, otherwise it does not.</p>
<p>By default, namespace-processing is enabled.</p>
<P>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QXmlStreamReader.html#namespaceProcessing()"><tt>namespaceProcessing</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="text()"><!-- --></A><H3>
text</H3>
<PRE>
public final java.lang.String <B>text</B>()</PRE>
<DL>
<DD><p>Returns the text of <a href="QXmlStreamReader.html#TokenType-enum">Characters</tt></a>, <a href="QXmlStreamReader.html#TokenType-enum">Comment</tt></a>, <a href="QXmlStreamReader.html#TokenType-enum">DTD</tt></a>, or <a href="QXmlStreamReader.html#TokenType-enum"><tt>EntityReference</tt></a>.</p>
<P>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="tokenString()"><!-- --></A><H3>
tokenString</H3>
<PRE>
public final java.lang.String <B>tokenString</B>()</PRE>
<DL>
<DD><p>Returns the reader's current token as string.</p>
<P>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QXmlStreamReader.html#tokenType()"><tt>tokenType</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="tokenType()"><!-- --></A><H3>
tokenType</H3>
<PRE>
public final <A HREF="../../../../com/trolltech/qt/xml/QXmlStreamReader.TokenType.html" title="enum in com.trolltech.qt.xml">QXmlStreamReader.TokenType</A> <B>tokenType</B>()</PRE>
<DL>
<DD><p>Returns the type of the current token.</p>
<p>The current token can also be queried with the convenience functions <a href="QXmlStreamReader.html#isStartDocument()"><tt>isStartDocument</tt></a>, <a href="QXmlStreamReader.html#isEndDocument()"><tt>isEndDocument</tt></a>, <a href="QXmlStreamReader.html#isStartElement()"><tt>isStartElement</tt></a>, <a href="QXmlStreamReader.html#isEndElement()"><tt>isEndElement</tt></a>, <a href="QXmlStreamReader.html#isCharacters()"><tt>isCharacters</tt></a>, <a href="QXmlStreamReader.html#isComment()"><tt>isComment</tt></a>, <a href="QXmlStreamReader.html#isDTD()"><tt>isDTD</tt></a>, <a href="QXmlStreamReader.html#isEntityReference()"><tt>isEntityReference</tt></a>, and <a href="QXmlStreamReader.html#isProcessingInstruction()"><tt>isProcessingInstruction</tt></a></p>
<P>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QXmlStreamReader.html#tokenString()"><tt>tokenString</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/QXmlStreamReader.html" title="class in com.trolltech.qt.xml">QXmlStreamReader</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 QXmlStreamReader 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/QXmlStreamNotationDeclaration.html" title="class in com.trolltech.qt.xml"><B>PREV CLASS</B></A>&nbsp;
&nbsp;<A HREF="../../../../com/trolltech/qt/xml/QXmlStreamReader.Error.html" title="enum 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/QXmlStreamReader.html" target="_top"><B>FRAMES</B></A>  &nbsp;
&nbsp;<A HREF="QXmlStreamReader.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_class_summary">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>