<class name="QXmlStreamWriter" doc="/**
&lt;p&gt;The &lt;a href=&quot;QXmlStreamWriter.html#QXmlStreamWriter()&quot;&gt;&lt;tt&gt;QXmlStreamWriter&lt;/tt&gt;&lt;/a&gt; class provides an XML writer with a simple streaming API.&lt;/p&gt;
&lt;p&gt;&lt;a href=&quot;QXmlStreamWriter.html#QXmlStreamWriter()&quot;&gt;&lt;tt&gt;QXmlStreamWriter&lt;/tt&gt;&lt;/a&gt; is the pendent to &lt;a href=&quot;QXmlStreamReader.html&quot;&gt;&lt;tt&gt;QXmlStreamReader&lt;/tt&gt;&lt;/a&gt; for writing XML. Like its related class, it operates on a &lt;a href=&quot;%2E%2E/core/QIODevice.html&quot;&gt;&lt;tt&gt;QIODevice&lt;/tt&gt;&lt;/a&gt; specified with &lt;a href=&quot;QXmlStreamWriter.html#setDevice(com.trolltech.qt.core.QIODevice)&quot;&gt;&lt;tt&gt;setDevice&lt;/tt&gt;&lt;/a&gt;. The API is simple and straight forward: For every XML token or event you want to write, the writer provides a specialized function.&lt;/p&gt;
&lt;p&gt;You start a document with &lt;a href=&quot;QXmlStreamWriter.html#writeStartDocument(java.lang.String)&quot;&gt;&lt;tt&gt;writeStartDocument&lt;/tt&gt;&lt;/a&gt; and end it with &lt;a href=&quot;QXmlStreamWriter.html#writeEndDocument()&quot;&gt;&lt;tt&gt;writeEndDocument&lt;/tt&gt;&lt;/a&gt;. This will implicitly close all remaining open tags.&lt;/p&gt;
&lt;p&gt;Element tags are opened with &lt;a href=&quot;QXmlStreamWriter.html#writeStartElement(java.lang.String)&quot;&gt;&lt;tt&gt;writeStartElement&lt;/tt&gt;&lt;/a&gt; followed by &lt;a href=&quot;QXmlStreamWriter.html#writeAttribute(java.lang.String, java.lang.String, java.lang.String)&quot;&gt;&lt;tt&gt;writeAttribute&lt;/tt&gt;&lt;/a&gt; or &lt;a href=&quot;QXmlStreamWriter.html#writeAttributes(com.trolltech.qt.xml.QXmlStreamAttributes)&quot;&gt;&lt;tt&gt;writeAttributes&lt;/tt&gt;&lt;/a&gt;, element content, and then &lt;a href=&quot;QXmlStreamWriter.html#writeEndElement()&quot;&gt;&lt;tt&gt;writeEndElement&lt;/tt&gt;&lt;/a&gt;. A shorter form &lt;a href=&quot;QXmlStreamWriter.html#writeEmptyElement(java.lang.String)&quot;&gt;&lt;tt&gt;writeEmptyElement&lt;/tt&gt;&lt;/a&gt; can be used to write empty elements.&lt;/p&gt;
&lt;p&gt;Element content consists of either characters, entity references or nested elements. It is written with &lt;a href=&quot;QXmlStreamWriter.html#writeCharacters(java.lang.String)&quot;&gt;&lt;tt&gt;writeCharacters&lt;/tt&gt;&lt;/a&gt;, which also takes care of escaping all forbidden characters and character sequences, &lt;a href=&quot;QXmlStreamWriter.html#writeEntityReference(java.lang.String)&quot;&gt;&lt;tt&gt;writeEntityReference&lt;/tt&gt;&lt;/a&gt;, or subsequent calls to &lt;a href=&quot;QXmlStreamWriter.html#writeStartElement(java.lang.String)&quot;&gt;&lt;tt&gt;writeStartElement&lt;/tt&gt;&lt;/a&gt;. A convenience method &lt;a href=&quot;QXmlStreamWriter.html#writeTextElement(java.lang.String, java.lang.String, java.lang.String)&quot;&gt;&lt;tt&gt;writeTextElement&lt;/tt&gt;&lt;/a&gt; can be used for writing terminal elements that contain nothing but text.&lt;/p&gt;
&lt;p&gt;&lt;a href=&quot;QXmlStreamWriter.html#QXmlStreamWriter()&quot;&gt;&lt;tt&gt;QXmlStreamWriter&lt;/tt&gt;&lt;/a&gt; takes care of prefixing namespaces, all you have to do is specify the &lt;tt&gt;namespaceUri&lt;/tt&gt; when writing elements or attributes. If you must conform to certain prefixes, you can force the writer to use them by declaring the namespaces manually with either &lt;a href=&quot;QXmlStreamWriter.html#writeNamespace(java.lang.String, java.lang.String)&quot;&gt;&lt;tt&gt;writeNamespace&lt;/tt&gt;&lt;/a&gt; or &lt;a href=&quot;QXmlStreamWriter.html#writeDefaultNamespace(java.lang.String)&quot;&gt;&lt;tt&gt;writeDefaultNamespace&lt;/tt&gt;&lt;/a&gt;. Alternatively, you can bypass the stream writer's namespace support and use overloaded methods that take a qualified name instead. The namespace &lt;i&gt;http://www.w3.org/XML/1998/namespace&lt;/i&gt; is implicit and mapped to the prefix &lt;i&gt;xml&lt;/i&gt;.&lt;/p&gt;
&lt;p&gt;The stream writer can automatically format the generated XML data by adding line-breaks and indentation to empty sections between elements, making the XML data more readable for humans and easier to work with for most source code management systems. The feature can be turned on with the &lt;a href=&quot;QXmlStreamWriter.html#autoFormatting()&quot;&gt;&lt;tt&gt;autoFormatting&lt;/tt&gt;&lt;/a&gt; property.&lt;/p&gt;
&lt;p&gt;Other functions are &lt;a href=&quot;QXmlStreamWriter.html#writeCDATA(java.lang.String)&quot;&gt;&lt;tt&gt;writeCDATA&lt;/tt&gt;&lt;/a&gt;, &lt;a href=&quot;QXmlStreamWriter.html#writeComment(java.lang.String)&quot;&gt;&lt;tt&gt;writeComment&lt;/tt&gt;&lt;/a&gt;, &lt;a href=&quot;QXmlStreamWriter.html#writeProcessingInstruction(java.lang.String, java.lang.String)&quot;&gt;&lt;tt&gt;writeProcessingInstruction&lt;/tt&gt;&lt;/a&gt;, and &lt;a href=&quot;QXmlStreamWriter.html#writeDTD(java.lang.String)&quot;&gt;&lt;tt&gt;writeDTD&lt;/tt&gt;&lt;/a&gt;. Chaining of XML streams is supported with &lt;a href=&quot;QXmlStreamWriter.html#writeCurrentToken(com.trolltech.qt.xml.QXmlStreamReader)&quot;&gt;&lt;tt&gt;writeCurrentToken&lt;/tt&gt;&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;By default, &lt;a href=&quot;QXmlStreamWriter.html#QXmlStreamWriter()&quot;&gt;&lt;tt&gt;QXmlStreamWriter&lt;/tt&gt;&lt;/a&gt; encodes XML in UTF-8. Different encodings can be enforced using &lt;a href=&quot;QXmlStreamWriter.html#setCodec(com.trolltech.qt.core.QTextCodec)&quot;&gt;&lt;tt&gt;setCodec&lt;/tt&gt;&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;The &lt;tt&gt;QXmlStream Bookmarks Example&lt;/tt&gt; illustrates how to use a subclassed stream writer to write an XML bookmark file (XBEL) that was previously read in by a &lt;a href=&quot;QXmlStreamReader.html&quot;&gt;&lt;tt&gt;QXmlStreamReader&lt;/tt&gt;&lt;/a&gt;.&lt;/p&gt;
 */">
    <method name="public QXmlStreamWriter(com.trolltech.qt.core.QIODevice device)" doc="/**
&lt;p&gt;Constructs a stream writer that writes into &lt;tt&gt;device&lt;/tt&gt;;&lt;/p&gt;
 */"/>
    <method name="public QXmlStreamWriter()" doc="/**
&lt;p&gt;Constructs a stream writer.&lt;/p&gt;

@see &lt;a href=&quot;QXmlStreamWriter.html#setDevice(com.trolltech.qt.core.QIODevice)&quot;&gt;&lt;tt&gt;setDevice&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final boolean autoFormatting()" doc="/**
&lt;p&gt;the auto-formatting flag of the stream writer&lt;/p&gt;
&lt;p&gt;This property controls whether or not the stream writer automatically formats the generated XML data. If enabled, the writer automatically adds line-breaks and indentation to empty sections between elements (ignorable whitespace). The main purpose of auto-formatting is to split the data into several lines, and to increase readability for a human reader.&lt;/p&gt;
&lt;p&gt;By default, auto-formatting is disabled.&lt;/p&gt;

@see &lt;a href=&quot;QXmlStreamWriter.html#setAutoFormatting(boolean)&quot;&gt;&lt;tt&gt;setAutoFormatting&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final com.trolltech.qt.core.QTextCodec codec()" doc="/**
&lt;p&gt;Returns the codec that is currently assigned to the stream.&lt;/p&gt;

@see &lt;a href=&quot;QXmlStreamWriter.html#setCodec(com.trolltech.qt.core.QTextCodec)&quot;&gt;&lt;tt&gt;setCodec&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final com.trolltech.qt.core.QIODevice device()" doc="/**
&lt;p&gt;Returns the current device associated with the &lt;a href=&quot;QXmlStreamWriter.html#QXmlStreamWriter()&quot;&gt;&lt;tt&gt;QXmlStreamWriter&lt;/tt&gt;&lt;/a&gt;, or 0 if no device has been assigned.&lt;/p&gt;

@see &lt;a href=&quot;QXmlStreamWriter.html#setDevice(com.trolltech.qt.core.QIODevice)&quot;&gt;&lt;tt&gt;setDevice&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final void setAutoFormatting(boolean arg__1)" doc="/**
&lt;p&gt;the auto-formatting flag of the stream writer&lt;/p&gt;
&lt;p&gt;This property controls whether or not the stream writer automatically formats the generated XML data. If enabled, the writer automatically adds line-breaks and indentation to empty sections between elements (ignorable whitespace). The main purpose of auto-formatting is to split the data into several lines, and to increase readability for a human reader.&lt;/p&gt;
&lt;p&gt;By default, auto-formatting is disabled.&lt;/p&gt;

@see &lt;a href=&quot;QXmlStreamWriter.html#autoFormatting()&quot;&gt;&lt;tt&gt;autoFormatting&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final void setCodec(com.trolltech.qt.core.QTextCodec codec)" doc="/**
&lt;p&gt;Sets the codec for this stream to &lt;tt&gt;codec&lt;/tt&gt;. The codec is used for encoding any data that is written. By default, &lt;a href=&quot;QXmlStreamWriter.html#QXmlStreamWriter()&quot;&gt;&lt;tt&gt;QXmlStreamWriter&lt;/tt&gt;&lt;/a&gt; uses UTF-8.&lt;/p&gt;

@see &lt;a href=&quot;QXmlStreamWriter.html#codec()&quot;&gt;&lt;tt&gt;codec&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final void setDevice(com.trolltech.qt.core.QIODevice device)" doc="/**
&lt;p&gt;Sets the current device to &lt;tt&gt;device&lt;/tt&gt;. If you want the stream to write into a &lt;a href=&quot;%2E%2E/core/QByteArray.html&quot;&gt;&lt;tt&gt;QByteArray&lt;/tt&gt;&lt;/a&gt;, you can create a &lt;a href=&quot;%2E%2E/core/QBuffer.html&quot;&gt;&lt;tt&gt;QBuffer&lt;/tt&gt;&lt;/a&gt; device.&lt;/p&gt;

@see &lt;a href=&quot;QXmlStreamWriter.html#device()&quot;&gt;&lt;tt&gt;device&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final void writeAttribute(java.lang.String qualifiedName, java.lang.String value)" doc="/**
&lt;p&gt;Writes an attribute with &lt;tt&gt;qualifiedName&lt;/tt&gt; and &lt;tt&gt;value&lt;/tt&gt;.&lt;/p&gt;
&lt;p&gt;This function can only be called after &lt;a href=&quot;QXmlStreamWriter.html#writeStartElement(java.lang.String)&quot;&gt;&lt;tt&gt;writeStartElement&lt;/tt&gt;&lt;/a&gt; before any content is written, or after &lt;a href=&quot;QXmlStreamWriter.html#writeEmptyElement(java.lang.String)&quot;&gt;&lt;tt&gt;writeEmptyElement&lt;/tt&gt;&lt;/a&gt;.&lt;/p&gt;
 */"/>
    <method name="public final void writeAttribute(com.trolltech.qt.xml.QXmlStreamAttribute attribute)" doc="/**
&lt;p&gt;Writes the &lt;tt&gt;attribute&lt;/tt&gt;.&lt;/p&gt;
&lt;p&gt;This function can only be called after &lt;a href=&quot;QXmlStreamWriter.html#writeStartElement(java.lang.String)&quot;&gt;&lt;tt&gt;writeStartElement&lt;/tt&gt;&lt;/a&gt; before any content is written, or after &lt;a href=&quot;QXmlStreamWriter.html#writeEmptyElement(java.lang.String)&quot;&gt;&lt;tt&gt;writeEmptyElement&lt;/tt&gt;&lt;/a&gt;.&lt;/p&gt;
 */"/>
    <method name="public final void writeAttribute(java.lang.String namespaceUri, java.lang.String name, java.lang.String value)" doc="/**
&lt;p&gt;Writes an attribute with &lt;tt&gt;name&lt;/tt&gt; and &lt;tt&gt;value&lt;/tt&gt;, prefixed for the specified &lt;tt&gt;namespaceUri&lt;/tt&gt;. If the namespace has not been declared yet, &lt;a href=&quot;QXmlStreamWriter.html#QXmlStreamWriter()&quot;&gt;&lt;tt&gt;QXmlStreamWriter&lt;/tt&gt;&lt;/a&gt; will generate a namespace declaration for it.&lt;/p&gt;
&lt;p&gt;This function can only be called after &lt;a href=&quot;QXmlStreamWriter.html#writeStartElement(java.lang.String)&quot;&gt;&lt;tt&gt;writeStartElement&lt;/tt&gt;&lt;/a&gt; before any content is written, or after &lt;a href=&quot;QXmlStreamWriter.html#writeEmptyElement(java.lang.String)&quot;&gt;&lt;tt&gt;writeEmptyElement&lt;/tt&gt;&lt;/a&gt;.&lt;/p&gt;
 */"/>
    <method name="public final void writeAttributes(com.trolltech.qt.xml.QXmlStreamAttributes attributes)" doc="/**
&lt;p&gt;Writes the attribute vector &lt;tt&gt;attributes&lt;/tt&gt;. If a namespace referenced in an attribute not been declared yet, &lt;a href=&quot;QXmlStreamWriter.html#QXmlStreamWriter()&quot;&gt;&lt;tt&gt;QXmlStreamWriter&lt;/tt&gt;&lt;/a&gt; will generate a namespace declaration for it.&lt;/p&gt;
&lt;p&gt;This function can only be called after &lt;a href=&quot;QXmlStreamWriter.html#writeStartElement(java.lang.String)&quot;&gt;&lt;tt&gt;writeStartElement&lt;/tt&gt;&lt;/a&gt; before any content is written, or after &lt;a href=&quot;QXmlStreamWriter.html#writeEmptyElement(java.lang.String)&quot;&gt;&lt;tt&gt;writeEmptyElement&lt;/tt&gt;&lt;/a&gt;.&lt;/p&gt;

@see &lt;a href=&quot;QXmlStreamWriter.html#writeAttribute(java.lang.String, java.lang.String, java.lang.String)&quot;&gt;&lt;tt&gt;writeAttribute&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QXmlStreamWriter.html#writeNamespace(java.lang.String, java.lang.String)&quot;&gt;&lt;tt&gt;writeNamespace&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final void writeCDATA(java.lang.String text)" doc="/**
&lt;p&gt;Writes &lt;tt&gt;text&lt;/tt&gt; as CDATA section. If &lt;tt&gt;text&lt;/tt&gt; contains the forbidden character sequence &amp;quot;]]&amp;gt;&amp;quot;, it is split into different CDATA sections.&lt;/p&gt;
&lt;p&gt;This function mainly exists for completeness. Normally you should not need use it, because &lt;a href=&quot;QXmlStreamWriter.html#writeCharacters(java.lang.String)&quot;&gt;&lt;tt&gt;writeCharacters&lt;/tt&gt;&lt;/a&gt; automatically escapes all non-content characters.&lt;/p&gt;
 */"/>
    <method name="public final void writeCharacters(java.lang.String text)" doc="/**
&lt;p&gt;Writes &lt;tt&gt;text&lt;/tt&gt;. The characters &amp;quot;&amp;lt;&amp;quot;, &amp;quot;&amp;amp;&amp;quot;, and &amp;quot;&amp;quot;&amp;quot; are escaped as entity references &amp;quot;&amp;amp;lt;&amp;quot;, &amp;quot;&amp;amp;amp;, and &amp;quot;&amp;amp;quot;&amp;quot;. To avoid the forbidden sequence &amp;quot;]]&amp;gt;&amp;quot;, &amp;quot;&amp;gt;&amp;quot; is also escaped as &amp;quot;&amp;amp;gt;&amp;quot;.&lt;/p&gt;

@see &lt;a href=&quot;QXmlStreamWriter.html#writeEntityReference(java.lang.String)&quot;&gt;&lt;tt&gt;writeEntityReference&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final void writeComment(java.lang.String text)" doc="/**
&lt;p&gt;Writes &lt;tt&gt;text&lt;/tt&gt; as XML comment, where &lt;tt&gt;text&lt;/tt&gt; must not contain the forbidden sequence &amp;quot;--&amp;quot; or end with &amp;quot;-&amp;quot;. Note that XML does not provide any way to escape &amp;quot;-&amp;quot; in a comment.&lt;/p&gt;
 */"/>
    <method name="public final void writeCurrentToken(com.trolltech.qt.xml.QXmlStreamReader reader)" doc="/**
&lt;p&gt;Writes the current state of the &lt;tt&gt;reader&lt;/tt&gt;. All possible valid states are supported.&lt;/p&gt;
&lt;p&gt;The purpose of this function is to support chained processing of XML data.&lt;/p&gt;

@see &lt;tt&gt;QXmlStreamReader::tokenType&lt;/tt&gt; */"/>
    <method name="public final void writeDTD(java.lang.String dtd)" doc="/**
&lt;p&gt;Writes a DTD section. The &lt;tt&gt;dtd&lt;/tt&gt; represents the entire doctypedecl production from the XML 1.0 specification.&lt;/p&gt;
 */"/>
    <method name="public final void writeDefaultNamespace(java.lang.String namespaceUri)" doc="/**
&lt;p&gt;Writes a default namespace declaration for &lt;tt&gt;namespaceUri&lt;/tt&gt;.&lt;/p&gt;
&lt;p&gt;If &lt;a href=&quot;QXmlStreamWriter.html#writeStartElement(java.lang.String)&quot;&gt;&lt;tt&gt;writeStartElement&lt;/tt&gt;&lt;/a&gt; or &lt;a href=&quot;QXmlStreamWriter.html#writeEmptyElement(java.lang.String)&quot;&gt;&lt;tt&gt;writeEmptyElement&lt;/tt&gt;&lt;/a&gt; was called, the declaration applies to the current element; otherwise it applies to the next child element.&lt;/p&gt;
&lt;p&gt;Note that the namespaces &lt;i&gt;http://www.w3.org/XML/1998/namespace&lt;/i&gt; (bound to &lt;i&gt;xmlns&lt;/i&gt;) and &lt;i&gt;http://www.w3.org/2000/xmlns/&lt;/i&gt; (bound to &lt;i&gt;xml&lt;/i&gt;) by definition cannot be declared as default.&lt;/p&gt;
 */"/>
    <method name="public final void writeEmptyElement(java.lang.String namespaceUri, java.lang.String name)" doc="/**
&lt;p&gt;Writes an empty element with &lt;tt&gt;name&lt;/tt&gt;, prefixed for the specified &lt;tt&gt;namespaceUri&lt;/tt&gt;. If the namespace has not been declared, &lt;a href=&quot;QXmlStreamWriter.html#QXmlStreamWriter()&quot;&gt;&lt;tt&gt;QXmlStreamWriter&lt;/tt&gt;&lt;/a&gt; will generate a namespace declaration for it.&lt;/p&gt;

@see &lt;a href=&quot;QXmlStreamWriter.html#writeNamespace(java.lang.String, java.lang.String)&quot;&gt;&lt;tt&gt;writeNamespace&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final void writeEmptyElement(java.lang.String qualifiedName)" doc="/**
&lt;p&gt;Writes an empty element with qualified name &lt;tt&gt;qualifiedName&lt;/tt&gt;.&lt;/p&gt;
 */"/>
    <method name="public final void writeEndDocument()" doc="/**
&lt;p&gt;Closes all remaining open start elements and writes a newline.&lt;/p&gt;

@see &lt;a href=&quot;QXmlStreamWriter.html#writeStartDocument(java.lang.String)&quot;&gt;&lt;tt&gt;writeStartDocument&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final void writeEndElement()" doc="/**
&lt;p&gt;Closes the previous start element.&lt;/p&gt;

@see &lt;a href=&quot;QXmlStreamWriter.html#writeStartElement(java.lang.String)&quot;&gt;&lt;tt&gt;writeStartElement&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final void writeEntityReference(java.lang.String name)" doc="/**
&lt;p&gt;Writes the entity reference &lt;tt&gt;name&lt;/tt&gt; to the stream, as &amp;quot;&amp;amp;&lt;tt&gt;name&lt;/tt&gt;;&amp;quot;.&lt;/p&gt;
 */"/>
    <method name="public final void writeNamespace(java.lang.String namespaceUri, java.lang.String prefix)" doc="/**
&lt;p&gt;Writes a namespace declaration for &lt;tt&gt;namespaceUri&lt;/tt&gt; with &lt;tt&gt;prefix&lt;/tt&gt;. If &lt;tt&gt;prefix&lt;/tt&gt; is empty, &lt;a href=&quot;QXmlStreamWriter.html#QXmlStreamWriter()&quot;&gt;&lt;tt&gt;QXmlStreamWriter&lt;/tt&gt;&lt;/a&gt; assigns a unique prefix consisting of the letter 'n' followed by a number.&lt;/p&gt;
&lt;p&gt;If &lt;a href=&quot;QXmlStreamWriter.html#writeStartElement(java.lang.String)&quot;&gt;&lt;tt&gt;writeStartElement&lt;/tt&gt;&lt;/a&gt; or &lt;a href=&quot;QXmlStreamWriter.html#writeEmptyElement(java.lang.String)&quot;&gt;&lt;tt&gt;writeEmptyElement&lt;/tt&gt;&lt;/a&gt; was called, the declaration applies to the current element; otherwise it applies to the next child element.&lt;/p&gt;
&lt;p&gt;Note that the prefix &lt;i&gt;xml&lt;/i&gt; is both predefined and reserved for &lt;i&gt;http://www.w3.org/XML/1998/namespace&lt;/i&gt;, which in turn cannot be bound to any other prefix. The prefix &lt;i&gt;xmlns&lt;/i&gt; and its URI &lt;i&gt;http://www.w3.org/2000/xmlns/&lt;/i&gt; are used for the namespace mechanism itself and thus completely forbidden in declarations.&lt;/p&gt;
 */"/>
    <method name="public final void writeNamespace(java.lang.String namespaceUri)" doc="/**
&lt;p&gt;Equivalent to &lt;a href=&quot;QXmlStreamWriter.html#writeNamespace(java.lang.String, java.lang.String)&quot;&gt;&lt;tt&gt;writeNamespace&lt;/tt&gt;&lt;/a&gt;(&lt;tt&gt;namespaceUri&lt;/tt&gt;, QString()). */"/>
    <method name="public final void writeProcessingInstruction(java.lang.String target, java.lang.String data)" doc="/**
&lt;p&gt;Writes an XML processing instruction with &lt;tt&gt;target&lt;/tt&gt; and &lt;tt&gt;data&lt;/tt&gt;, where &lt;tt&gt;data&lt;/tt&gt; must not contain the sequence &amp;quot;?&amp;gt;&amp;quot;.&lt;/p&gt;
 */"/>
    <method name="public final void writeProcessingInstruction(java.lang.String target)" doc="/**
&lt;p&gt;Equivalent to &lt;a href=&quot;QXmlStreamWriter.html#writeProcessingInstruction(java.lang.String, java.lang.String)&quot;&gt;&lt;tt&gt;writeProcessingInstruction&lt;/tt&gt;&lt;/a&gt;(&lt;tt&gt;target&lt;/tt&gt;, QString()). */"/>
    <method name="public final void writeStartDocument()" doc="/**
&lt;p&gt;Writes a document start with XML version number &amp;quot;1.0&amp;quot;&lt;/p&gt;

@see &lt;a href=&quot;QXmlStreamWriter.html#writeEndDocument()&quot;&gt;&lt;tt&gt;writeEndDocument&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final void writeStartDocument(java.lang.String version)" doc="/**
&lt;p&gt;Writes a document start with the XML version number &lt;tt&gt;version&lt;/tt&gt;.&lt;/p&gt;

@see &lt;a href=&quot;QXmlStreamWriter.html#writeEndDocument()&quot;&gt;&lt;tt&gt;writeEndDocument&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final void writeStartElement(java.lang.String namespaceUri, java.lang.String name)" doc="/**
&lt;p&gt;Writes a start element with &lt;tt&gt;name&lt;/tt&gt;, prefixed for the specified &lt;tt&gt;namespaceUri&lt;/tt&gt;. If the namespace has not been declared yet, &lt;a href=&quot;QXmlStreamWriter.html#QXmlStreamWriter()&quot;&gt;&lt;tt&gt;QXmlStreamWriter&lt;/tt&gt;&lt;/a&gt; will generate a namespace declaration for it.&lt;/p&gt;

@see &lt;a href=&quot;QXmlStreamWriter.html#writeNamespace(java.lang.String, java.lang.String)&quot;&gt;&lt;tt&gt;writeNamespace&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QXmlStreamWriter.html#writeEndElement()&quot;&gt;&lt;tt&gt;writeEndElement&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QXmlStreamWriter.html#writeEmptyElement(java.lang.String)&quot;&gt;&lt;tt&gt;writeEmptyElement&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final void writeStartElement(java.lang.String qualifiedName)" doc="/**
&lt;p&gt;Writes a start element with &lt;tt&gt;qualifiedName&lt;/tt&gt;.&lt;/p&gt;

@see &lt;a href=&quot;QXmlStreamWriter.html#writeEndElement()&quot;&gt;&lt;tt&gt;writeEndElement&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QXmlStreamWriter.html#writeEmptyElement(java.lang.String)&quot;&gt;&lt;tt&gt;writeEmptyElement&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final void writeTextElement(java.lang.String qualifiedName, java.lang.String text)" doc="/**
&lt;p&gt;Writes a text element with &lt;tt&gt;qualifiedName&lt;/tt&gt; and &lt;tt&gt;text&lt;/tt&gt;.&lt;/p&gt;
&lt;p&gt;This is a convenience function equivalent to:&lt;/p&gt;
&lt;pre&gt;    writeStartElement(qualifiedName);
    writeCharacters(text);
    writeEndElement();&lt;/pre&gt;
 */"/>
    <method name="public final void writeTextElement(java.lang.String namespaceUri, java.lang.String name, java.lang.String text)" doc="/**
&lt;p&gt;Writes a text element with &lt;tt&gt;name&lt;/tt&gt;, prefixed for the specified &lt;tt&gt;namespaceUri&lt;/tt&gt;, and &lt;tt&gt;text&lt;/tt&gt;. If the namespace has not been declared, &lt;a href=&quot;QXmlStreamWriter.html#QXmlStreamWriter()&quot;&gt;&lt;tt&gt;QXmlStreamWriter&lt;/tt&gt;&lt;/a&gt; will generate a namespace declaration for it.&lt;/p&gt;
&lt;p&gt;This is a convenience function equivalent to:&lt;/p&gt;
&lt;pre&gt;    writeStartElement(namespaceUri, name);
    writeCharacters(text);
    writeEndElement();&lt;/pre&gt;
 */"/>
</class>
