<class name="QDomNode" doc="/**
&lt;p&gt;The &lt;a href=&quot;QDomNode.html#QDomNode(com.trolltech.qt.xml.QDomNode)&quot;&gt;&lt;tt&gt;QDomNode&lt;/tt&gt;&lt;/a&gt; class is the base class for all the nodes in a DOM tree.&lt;/p&gt;
&lt;p&gt;Many functions in the DOM return a &lt;a href=&quot;QDomNode.html#QDomNode(com.trolltech.qt.xml.QDomNode)&quot;&gt;&lt;tt&gt;QDomNode&lt;/tt&gt;&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;You can find out the type of a node using &lt;a href=&quot;QDomNode.html#isAttr()&quot;&gt;&lt;tt&gt;isAttr&lt;/tt&gt;&lt;/a&gt;, &lt;a href=&quot;QDomNode.html#isCDATASection()&quot;&gt;&lt;tt&gt;isCDATASection&lt;/tt&gt;&lt;/a&gt;, &lt;a href=&quot;QDomNode.html#isDocumentFragment()&quot;&gt;&lt;tt&gt;isDocumentFragment&lt;/tt&gt;&lt;/a&gt;, &lt;a href=&quot;QDomNode.html#isDocument()&quot;&gt;&lt;tt&gt;isDocument&lt;/tt&gt;&lt;/a&gt;, &lt;a href=&quot;QDomNode.html#isDocumentType()&quot;&gt;&lt;tt&gt;isDocumentType&lt;/tt&gt;&lt;/a&gt;, &lt;a href=&quot;QDomNode.html#isElement()&quot;&gt;&lt;tt&gt;isElement&lt;/tt&gt;&lt;/a&gt;, &lt;a href=&quot;QDomNode.html#isEntityReference()&quot;&gt;&lt;tt&gt;isEntityReference&lt;/tt&gt;&lt;/a&gt;, &lt;a href=&quot;QDomNode.html#isText()&quot;&gt;&lt;tt&gt;isText&lt;/tt&gt;&lt;/a&gt;, &lt;a href=&quot;QDomNode.html#isEntity()&quot;&gt;&lt;tt&gt;isEntity&lt;/tt&gt;&lt;/a&gt;, &lt;a href=&quot;QDomNode.html#isNotation()&quot;&gt;&lt;tt&gt;isNotation&lt;/tt&gt;&lt;/a&gt;, &lt;a href=&quot;QDomNode.html#isProcessingInstruction()&quot;&gt;&lt;tt&gt;isProcessingInstruction&lt;/tt&gt;&lt;/a&gt;, &lt;a href=&quot;QDomNode.html#isCharacterData()&quot;&gt;&lt;tt&gt;isCharacterData&lt;/tt&gt;&lt;/a&gt; and &lt;a href=&quot;QDomNode.html#isComment()&quot;&gt;&lt;tt&gt;isComment&lt;/tt&gt;&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;A &lt;a href=&quot;QDomNode.html#QDomNode(com.trolltech.qt.xml.QDomNode)&quot;&gt;&lt;tt&gt;QDomNode&lt;/tt&gt;&lt;/a&gt; can be converted into one of its subclasses using &lt;a href=&quot;QDomNode.html#toAttr()&quot;&gt;&lt;tt&gt;toAttr&lt;/tt&gt;&lt;/a&gt;, &lt;a href=&quot;QDomNode.html#toCDATASection()&quot;&gt;&lt;tt&gt;toCDATASection&lt;/tt&gt;&lt;/a&gt;, &lt;a href=&quot;QDomNode.html#toDocumentFragment()&quot;&gt;&lt;tt&gt;toDocumentFragment&lt;/tt&gt;&lt;/a&gt;, &lt;a href=&quot;QDomNode.html#toDocument()&quot;&gt;&lt;tt&gt;toDocument&lt;/tt&gt;&lt;/a&gt;, &lt;a href=&quot;QDomNode.html#toDocumentType()&quot;&gt;&lt;tt&gt;toDocumentType&lt;/tt&gt;&lt;/a&gt;, &lt;a href=&quot;QDomNode.html#toElement()&quot;&gt;&lt;tt&gt;toElement&lt;/tt&gt;&lt;/a&gt;, &lt;a href=&quot;QDomNode.html#toEntityReference()&quot;&gt;&lt;tt&gt;toEntityReference&lt;/tt&gt;&lt;/a&gt;, &lt;a href=&quot;QDomNode.html#toText()&quot;&gt;&lt;tt&gt;toText&lt;/tt&gt;&lt;/a&gt;, &lt;a href=&quot;QDomNode.html#toEntity()&quot;&gt;&lt;tt&gt;toEntity&lt;/tt&gt;&lt;/a&gt;, &lt;a href=&quot;QDomNode.html#toNotation()&quot;&gt;&lt;tt&gt;toNotation&lt;/tt&gt;&lt;/a&gt;, &lt;a href=&quot;QDomNode.html#toProcessingInstruction()&quot;&gt;&lt;tt&gt;toProcessingInstruction&lt;/tt&gt;&lt;/a&gt;, &lt;a href=&quot;QDomNode.html#toCharacterData()&quot;&gt;&lt;tt&gt;toCharacterData&lt;/tt&gt;&lt;/a&gt; or &lt;a href=&quot;QDomNode.html#toComment()&quot;&gt;&lt;tt&gt;toComment&lt;/tt&gt;&lt;/a&gt;. You can convert a node to a null node with &lt;a href=&quot;QDomNode.html#clear()&quot;&gt;&lt;tt&gt;clear&lt;/tt&gt;&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;Copies of the &lt;a href=&quot;QDomNode.html#QDomNode(com.trolltech.qt.xml.QDomNode)&quot;&gt;&lt;tt&gt;QDomNode&lt;/tt&gt;&lt;/a&gt; class share their data using explicit sharing. This means that modifying one node will change all copies. This is especially useful in combination with functions which return a &lt;a href=&quot;QDomNode.html#QDomNode(com.trolltech.qt.xml.QDomNode)&quot;&gt;&lt;tt&gt;QDomNode&lt;/tt&gt;&lt;/a&gt;, e.g&amp;#x2e; &lt;a href=&quot;QDomNode.html#firstChild()&quot;&gt;&lt;tt&gt;firstChild&lt;/tt&gt;&lt;/a&gt;. You can make an independent (deep) copy of the node with &lt;a href=&quot;QDomNode.html#cloneNode(boolean)&quot;&gt;&lt;tt&gt;cloneNode&lt;/tt&gt;&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;A &lt;a href=&quot;QDomNode.html#QDomNode(com.trolltech.qt.xml.QDomNode)&quot;&gt;&lt;tt&gt;QDomNode&lt;/tt&gt;&lt;/a&gt; can be null, much like a null pointer. Creating a copy of a null node results in another null node. It is not possible to modify a null node, but it is possible to assign another, possibly non-null node to it. In this case, the copy of the null node will remain null. You can check if a &lt;a href=&quot;QDomNode.html#QDomNode(com.trolltech.qt.xml.QDomNode)&quot;&gt;&lt;tt&gt;QDomNode&lt;/tt&gt;&lt;/a&gt; is null by calling &lt;a href=&quot;QDomNode.html#isNull()&quot;&gt;&lt;tt&gt;isNull&lt;/tt&gt;&lt;/a&gt;. The empty constructor of a &lt;a href=&quot;QDomNode.html#QDomNode(com.trolltech.qt.xml.QDomNode)&quot;&gt;&lt;tt&gt;QDomNode&lt;/tt&gt;&lt;/a&gt; (or any of the derived classes) creates a null node.&lt;/p&gt;
&lt;p&gt;Nodes are inserted with &lt;a href=&quot;QDomNode.html#insertBefore(com.trolltech.qt.xml.QDomNode, com.trolltech.qt.xml.QDomNode)&quot;&gt;&lt;tt&gt;insertBefore&lt;/tt&gt;&lt;/a&gt;, &lt;a href=&quot;QDomNode.html#insertAfter(com.trolltech.qt.xml.QDomNode, com.trolltech.qt.xml.QDomNode)&quot;&gt;&lt;tt&gt;insertAfter&lt;/tt&gt;&lt;/a&gt; or &lt;a href=&quot;QDomNode.html#appendChild(com.trolltech.qt.xml.QDomNode)&quot;&gt;&lt;tt&gt;appendChild&lt;/tt&gt;&lt;/a&gt;. You can replace one node with another using &lt;a href=&quot;QDomNode.html#replaceChild(com.trolltech.qt.xml.QDomNode, com.trolltech.qt.xml.QDomNode)&quot;&gt;&lt;tt&gt;replaceChild&lt;/tt&gt;&lt;/a&gt; and remove a node with &lt;a href=&quot;QDomNode.html#removeChild(com.trolltech.qt.xml.QDomNode)&quot;&gt;&lt;tt&gt;removeChild&lt;/tt&gt;&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;To traverse nodes use &lt;a href=&quot;QDomNode.html#firstChild()&quot;&gt;&lt;tt&gt;firstChild&lt;/tt&gt;&lt;/a&gt; to get a node's first child (if any), and &lt;a href=&quot;QDomNode.html#nextSibling()&quot;&gt;&lt;tt&gt;nextSibling&lt;/tt&gt;&lt;/a&gt; to traverse. &lt;a href=&quot;QDomNode.html#QDomNode(com.trolltech.qt.xml.QDomNode)&quot;&gt;&lt;tt&gt;QDomNode&lt;/tt&gt;&lt;/a&gt; also provides &lt;a href=&quot;QDomNode.html#lastChild()&quot;&gt;&lt;tt&gt;lastChild&lt;/tt&gt;&lt;/a&gt;, &lt;a href=&quot;QDomNode.html#previousSibling()&quot;&gt;&lt;tt&gt;previousSibling&lt;/tt&gt;&lt;/a&gt; and &lt;a href=&quot;QDomNode.html#parentNode()&quot;&gt;&lt;tt&gt;parentNode&lt;/tt&gt;&lt;/a&gt;. To find the first child node with a particular node name use &lt;a href=&quot;QDomNode.html#namedItem(java.lang.String)&quot;&gt;&lt;tt&gt;namedItem&lt;/tt&gt;&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;To find out if a node has children use &lt;a href=&quot;QDomNode.html#hasChildNodes()&quot;&gt;&lt;tt&gt;hasChildNodes&lt;/tt&gt;&lt;/a&gt; and to get a list of all of a node's children use &lt;a href=&quot;QDomNode.html#childNodes()&quot;&gt;&lt;tt&gt;childNodes&lt;/tt&gt;&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;The node's name and value (the meaning of which varies depending on its type) is returned by &lt;a href=&quot;QDomNode.html#nodeName()&quot;&gt;&lt;tt&gt;nodeName&lt;/tt&gt;&lt;/a&gt; and &lt;a href=&quot;QDomNode.html#nodeValue()&quot;&gt;&lt;tt&gt;nodeValue&lt;/tt&gt;&lt;/a&gt; respectively. The node's type is returned by &lt;a href=&quot;QDomNode.html#nodeType()&quot;&gt;&lt;tt&gt;nodeType&lt;/tt&gt;&lt;/a&gt;. The node's value can be set with &lt;a href=&quot;QDomNode.html#setNodeValue(java.lang.String)&quot;&gt;&lt;tt&gt;setNodeValue&lt;/tt&gt;&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;The document to which the node belongs is returned by &lt;a href=&quot;QDomNode.html#ownerDocument()&quot;&gt;&lt;tt&gt;ownerDocument&lt;/tt&gt;&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;Adjacent &lt;a href=&quot;QDomText.html&quot;&gt;&lt;tt&gt;QDomText&lt;/tt&gt;&lt;/a&gt; nodes can be merged into a single node with &lt;a href=&quot;QDomNode.html#normalize()&quot;&gt;&lt;tt&gt;normalize&lt;/tt&gt;&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;&lt;a href=&quot;QDomElement.html&quot;&gt;&lt;tt&gt;QDomElement&lt;/tt&gt;&lt;/a&gt; nodes have attributes which can be retrieved with attributes().&lt;/p&gt;
&lt;p&gt;&lt;a href=&quot;QDomElement.html&quot;&gt;&lt;tt&gt;QDomElement&lt;/tt&gt;&lt;/a&gt; and &lt;a href=&quot;QDomAttr.html&quot;&gt;&lt;tt&gt;QDomAttr&lt;/tt&gt;&lt;/a&gt; nodes can have namespaces which can be retrieved with &lt;a href=&quot;QDomNode.html#namespaceURI()&quot;&gt;&lt;tt&gt;namespaceURI&lt;/tt&gt;&lt;/a&gt;. Their local name is retrieved with &lt;a href=&quot;QDomNode.html#localName()&quot;&gt;&lt;tt&gt;localName&lt;/tt&gt;&lt;/a&gt;, and their prefix with &lt;a href=&quot;QDomNode.html#prefix()&quot;&gt;&lt;tt&gt;prefix&lt;/tt&gt;&lt;/a&gt;. The prefix can be set with &lt;a href=&quot;QDomNode.html#setPrefix(java.lang.String)&quot;&gt;&lt;tt&gt;setPrefix&lt;/tt&gt;&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;You can write the XML representation of the node to a text stream with &lt;a href=&quot;QDomNode.html#save(com.trolltech.qt.core.QTextStream, int)&quot;&gt;&lt;tt&gt;save&lt;/tt&gt;&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;The following example looks for the first element in an XML document and prints the names of all the elements that are its direct children.&lt;/p&gt;
&lt;pre&gt;    QDomDocument d;
    d.setContent(someXML);
    QDomNode n = d.firstChild();
    while (!n.isNull()) {
        if (n.isElement()) {
            QDomElement e = n.toElement();
            cout &amp;lt;&amp;lt; &amp;quot;Element name: &amp;quot; &amp;lt;&amp;lt; e.tagName() &amp;lt;&amp;lt; endl;
            break;
        }
        n = n.nextSibling();
    }&lt;/pre&gt;
&lt;p&gt;For further information about the Document Object Model see &lt;a href=&quot;http://www.w3.org/TR/REC-DOM-Level-1/&quot;&gt;Level 1&lt;/tt&gt;&lt;/a&gt; and &lt;a href=&quot;http://www.w3.org/TR/DOM-Level-2-Core/&quot;&gt;Level 2 Core&lt;/tt&gt;&lt;/a&gt;. For a more general introduction of the DOM implementation see the &lt;a href=&quot;QDomDocument.html&quot;&gt;&lt;tt&gt;QDomDocument&lt;/tt&gt;&lt;/a&gt; documentation.&lt;/p&gt;
 */">
    <method name="public QDomNode()" doc="/**
&lt;p&gt;Constructs a &lt;a href=&quot;QDomNode.html#isNull()&quot;&gt;null&lt;/tt&gt;&lt;/a&gt; node.&lt;/p&gt;
 */"/>
    <method name="public QDomNode(com.trolltech.qt.xml.QDomNode arg__1)" doc="/**
&lt;p&gt;Constructs a copy of &lt;tt&gt;arg__1&lt;/tt&gt;.&lt;/p&gt;
&lt;p&gt;The data of the copy is shared (shallow copy): modifying one node will also change the other. If you want to make a deep copy, use &lt;a href=&quot;QDomNode.html#cloneNode(boolean)&quot;&gt;&lt;tt&gt;cloneNode&lt;/tt&gt;&lt;/a&gt;.&lt;/p&gt;
 */"/>
    <method name="public final com.trolltech.qt.xml.QDomNode appendChild(com.trolltech.qt.xml.QDomNode newChild)" doc="/**
&lt;p&gt;Appends &lt;tt&gt;newChild&lt;/tt&gt; as the node's last child.&lt;/p&gt;
&lt;p&gt;If &lt;tt&gt;newChild&lt;/tt&gt; is the child of another node, it is reparented to this node. If &lt;tt&gt;newChild&lt;/tt&gt; is a child of this node, then its position in the list of children is changed.&lt;/p&gt;
&lt;p&gt;If &lt;tt&gt;newChild&lt;/tt&gt; is a &lt;a href=&quot;QDomDocumentFragment.html&quot;&gt;&lt;tt&gt;QDomDocumentFragment&lt;/tt&gt;&lt;/a&gt;, then the children of the fragment are removed from the fragment and appended.&lt;/p&gt;
&lt;p&gt;If &lt;tt&gt;newChild&lt;/tt&gt; is a &lt;a href=&quot;QDomElement.html&quot;&gt;&lt;tt&gt;QDomElement&lt;/tt&gt;&lt;/a&gt; and this node is a &lt;a href=&quot;QDomDocument.html&quot;&gt;&lt;tt&gt;QDomDocument&lt;/tt&gt;&lt;/a&gt; that already has an element node as a child, &lt;tt&gt;newChild&lt;/tt&gt; is not added as a child and a null node is returned.&lt;/p&gt;
&lt;p&gt;Calling this function on a null node(created, for example, with the default constructor) does nothing.&lt;/p&gt;
&lt;p&gt;The DOM specification disallow inserting attribute nodes, but due to historical reasons QDom accept them nevertheless.&lt;/p&gt;

@see &lt;a href=&quot;QDomNode.html#insertBefore(com.trolltech.qt.xml.QDomNode, com.trolltech.qt.xml.QDomNode)&quot;&gt;&lt;tt&gt;insertBefore&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QDomNode.html#insertAfter(com.trolltech.qt.xml.QDomNode, com.trolltech.qt.xml.QDomNode)&quot;&gt;&lt;tt&gt;insertAfter&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QDomNode.html#replaceChild(com.trolltech.qt.xml.QDomNode, com.trolltech.qt.xml.QDomNode)&quot;&gt;&lt;tt&gt;replaceChild&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QDomNode.html#removeChild(com.trolltech.qt.xml.QDomNode)&quot;&gt;&lt;tt&gt;removeChild&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final com.trolltech.qt.xml.QDomNodeList childNodes()" doc="/**
&lt;p&gt;Returns a list of all direct child nodes.&lt;/p&gt;
&lt;p&gt;Most often you will call this function on a &lt;a href=&quot;QDomElement.html&quot;&gt;&lt;tt&gt;QDomElement&lt;/tt&gt;&lt;/a&gt; object.&lt;/p&gt;
&lt;p&gt;For example, if the XML document looks like this:&lt;/p&gt;
&lt;pre&gt;    &amp;lt;body&amp;gt;
    &amp;lt;h1&amp;gt;Heading&amp;lt;/h1&amp;gt;
    &amp;lt;p&amp;gt;Hello &amp;lt;b&amp;gt;you&amp;lt;/b&amp;gt;&amp;lt;/p&amp;gt;
    &amp;lt;/body&amp;gt;&lt;/pre&gt;
&lt;p&gt;Then the list of child nodes for the &amp;quot;body&amp;quot;-element will contain the node created by the &amp;amp;lt;h1&amp;amp;gt; tag and the node created by the &amp;amp;lt;p&amp;amp;gt; tag.&lt;/p&gt;
&lt;p&gt;The nodes in the list are not copied; so changing the nodes in the list will also change the children of this node.&lt;/p&gt;

@see &lt;a href=&quot;QDomNode.html#firstChild()&quot;&gt;&lt;tt&gt;firstChild&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QDomNode.html#lastChild()&quot;&gt;&lt;tt&gt;lastChild&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final void clear()" doc="/**
&lt;p&gt;Converts the node into a null node; if it was not a null node before, its type and contents are deleted.&lt;/p&gt;

@see &lt;a href=&quot;QDomNode.html#isNull()&quot;&gt;&lt;tt&gt;isNull&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final com.trolltech.qt.xml.QDomNode cloneNode(boolean deep)" doc="/**
&lt;p&gt;Creates a deep (not shallow) copy of the &lt;a href=&quot;QDomNode.html#QDomNode(com.trolltech.qt.xml.QDomNode)&quot;&gt;&lt;tt&gt;QDomNode&lt;/tt&gt;&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;If &lt;tt&gt;deep&lt;/tt&gt; is true, then the cloning is done recursively which means that all the node's children are deep copied too. If &lt;tt&gt;deep&lt;/tt&gt; is false only the node itself is copied and the copy will have no child nodes.&lt;/p&gt;
 */"/>
    <method name="public final com.trolltech.qt.xml.QDomNode cloneNode()" doc="/**
&lt;p&gt;Equivalent to &lt;a href=&quot;QDomNode.html#cloneNode(boolean)&quot;&gt;&lt;tt&gt;cloneNode&lt;/tt&gt;&lt;/a&gt;(true). */"/>
    <method name="public final int columnNumber()" doc="/**
&lt;p&gt;For nodes created by QDomDocument::setContent(), this function returns the column number in the XML document where the node was parsed. Otherwise, -1 is returned.&lt;/p&gt;

@see &lt;a href=&quot;QDomNode.html#lineNumber()&quot;&gt;&lt;tt&gt;lineNumber&lt;/tt&gt;&lt;/a&gt;
@see &lt;tt&gt;QDomDocument::setContent&lt;/tt&gt; */"/>
    <method name="public final com.trolltech.qt.xml.QDomNode firstChild()" doc="/**
&lt;p&gt;Returns the first child of the node. If there is no child node, a &lt;a href=&quot;QDomNode.html#isNull()&quot;&gt;null node&lt;/tt&gt;&lt;/a&gt; is returned. Changing the returned node will also change the node in the document tree.&lt;/p&gt;

@see &lt;a href=&quot;QDomNode.html#lastChild()&quot;&gt;&lt;tt&gt;lastChild&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QDomNode.html#childNodes()&quot;&gt;&lt;tt&gt;childNodes&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final com.trolltech.qt.xml.QDomElement firstChildElement(java.lang.String tagName)" doc="/**
&lt;p&gt;Returns the first child element with tag name &lt;tt&gt;tagName&lt;/tt&gt; if tagName is non-empty; otherwise returns the first child element. Returns a null element if no such child exists.&lt;/p&gt;

@see &lt;a href=&quot;QDomNode.html#lastChildElement(java.lang.String)&quot;&gt;&lt;tt&gt;lastChildElement&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QDomNode.html#previousSiblingElement(java.lang.String)&quot;&gt;&lt;tt&gt;previousSiblingElement&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QDomNode.html#nextSiblingElement(java.lang.String)&quot;&gt;&lt;tt&gt;nextSiblingElement&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final com.trolltech.qt.xml.QDomElement firstChildElement()" doc="/**
&lt;p&gt;Equivalent to &lt;a href=&quot;QDomNode.html#firstChildElement(java.lang.String)&quot;&gt;&lt;tt&gt;firstChildElement&lt;/tt&gt;&lt;/a&gt;(QString()). */"/>
    <method name="public final boolean hasAttributes()" doc="/**
&lt;p&gt;Returns true if the node has attributes; otherwise returns false.&lt;/p&gt;

@see &lt;tt&gt;attributes&lt;/tt&gt; */"/>
    <method name="public final boolean hasChildNodes()" doc="/**
&lt;p&gt;Returns true if the node has one or more children; otherwise returns false.&lt;/p&gt;
 */"/>
    <method name="public final com.trolltech.qt.xml.QDomNode insertAfter(com.trolltech.qt.xml.QDomNode newChild, com.trolltech.qt.xml.QDomNode refChild)" doc="/**
&lt;p&gt;Inserts the node &lt;tt&gt;newChild&lt;/tt&gt; after the child node &lt;tt&gt;refChild&lt;/tt&gt;. &lt;tt&gt;refChild&lt;/tt&gt; must be a direct child of this node. If &lt;tt&gt;refChild&lt;/tt&gt; is &lt;a href=&quot;QDomNode.html#isNull()&quot;&gt;null&lt;/tt&gt;&lt;/a&gt; then &lt;tt&gt;newChild&lt;/tt&gt; is appended as this node's last child.&lt;/p&gt;
&lt;p&gt;If &lt;tt&gt;newChild&lt;/tt&gt; is the child of another node, it is reparented to this node. If &lt;tt&gt;newChild&lt;/tt&gt; is a child of this node, then its position in the list of children is changed.&lt;/p&gt;
&lt;p&gt;If &lt;tt&gt;newChild&lt;/tt&gt; is a &lt;a href=&quot;QDomDocumentFragment.html&quot;&gt;&lt;tt&gt;QDomDocumentFragment&lt;/tt&gt;&lt;/a&gt;, then the children of the fragment are removed from the fragment and inserted after &lt;tt&gt;refChild&lt;/tt&gt;.&lt;/p&gt;
&lt;p&gt;Returns a new reference to &lt;tt&gt;newChild&lt;/tt&gt; on success or a &lt;a href=&quot;QDomNode.html#isNull()&quot;&gt;null node&lt;/tt&gt;&lt;/a&gt; on failure.&lt;/p&gt;
&lt;p&gt;The DOM specification disallow inserting attribute nodes, but due to historical reasons QDom accept them nevertheless.&lt;/p&gt;

@see &lt;a href=&quot;QDomNode.html#insertBefore(com.trolltech.qt.xml.QDomNode, com.trolltech.qt.xml.QDomNode)&quot;&gt;&lt;tt&gt;insertBefore&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QDomNode.html#replaceChild(com.trolltech.qt.xml.QDomNode, com.trolltech.qt.xml.QDomNode)&quot;&gt;&lt;tt&gt;replaceChild&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QDomNode.html#removeChild(com.trolltech.qt.xml.QDomNode)&quot;&gt;&lt;tt&gt;removeChild&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QDomNode.html#appendChild(com.trolltech.qt.xml.QDomNode)&quot;&gt;&lt;tt&gt;appendChild&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final com.trolltech.qt.xml.QDomNode insertBefore(com.trolltech.qt.xml.QDomNode newChild, com.trolltech.qt.xml.QDomNode refChild)" doc="/**
&lt;p&gt;Inserts the node &lt;tt&gt;newChild&lt;/tt&gt; before the child node &lt;tt&gt;refChild&lt;/tt&gt;. &lt;tt&gt;refChild&lt;/tt&gt; must be a direct child of this node. If &lt;tt&gt;refChild&lt;/tt&gt; is &lt;a href=&quot;QDomNode.html#isNull()&quot;&gt;null&lt;/tt&gt;&lt;/a&gt; then &lt;tt&gt;newChild&lt;/tt&gt; is inserted as the node's first child.&lt;/p&gt;
&lt;p&gt;If &lt;tt&gt;newChild&lt;/tt&gt; is the child of another node, it is reparented to this node. If &lt;tt&gt;newChild&lt;/tt&gt; is a child of this node, then its position in the list of children is changed.&lt;/p&gt;
&lt;p&gt;If &lt;tt&gt;newChild&lt;/tt&gt; is a &lt;a href=&quot;QDomDocumentFragment.html&quot;&gt;&lt;tt&gt;QDomDocumentFragment&lt;/tt&gt;&lt;/a&gt;, then the children of the fragment are removed from the fragment and inserted before &lt;tt&gt;refChild&lt;/tt&gt;.&lt;/p&gt;
&lt;p&gt;Returns a new reference to &lt;tt&gt;newChild&lt;/tt&gt; on success or a &lt;a href=&quot;QDomNode.html#isNull()&quot;&gt;null node&lt;/tt&gt;&lt;/a&gt; on failure.&lt;/p&gt;
&lt;p&gt;The DOM specification disallow inserting attribute nodes, but due to historical reasons QDom accept them nevertheless.&lt;/p&gt;

@see &lt;a href=&quot;QDomNode.html#insertAfter(com.trolltech.qt.xml.QDomNode, com.trolltech.qt.xml.QDomNode)&quot;&gt;&lt;tt&gt;insertAfter&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QDomNode.html#replaceChild(com.trolltech.qt.xml.QDomNode, com.trolltech.qt.xml.QDomNode)&quot;&gt;&lt;tt&gt;replaceChild&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QDomNode.html#removeChild(com.trolltech.qt.xml.QDomNode)&quot;&gt;&lt;tt&gt;removeChild&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QDomNode.html#appendChild(com.trolltech.qt.xml.QDomNode)&quot;&gt;&lt;tt&gt;appendChild&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final boolean isAttr()" doc="/**
&lt;p&gt;Returns true if the node is an attribute; otherwise returns false.&lt;/p&gt;
&lt;p&gt;If this function returns true, it does not imply that this object is a QDomAttribute; you can get the QDomAttribute with toAttribute().&lt;/p&gt;

@see &lt;a href=&quot;QDomNode.html#toAttr()&quot;&gt;&lt;tt&gt;toAttr&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final boolean isCDATASection()" doc="/**
&lt;p&gt;Returns true if the node is a CDATA section; otherwise returns false.&lt;/p&gt;
&lt;p&gt;If this function returns true, it does not imply that this object is a &lt;a href=&quot;QDomCDATASection.html&quot;&gt;&lt;tt&gt;QDomCDATASection&lt;/tt&gt;&lt;/a&gt;; you can get the &lt;a href=&quot;QDomCDATASection.html&quot;&gt;&lt;tt&gt;QDomCDATASection&lt;/tt&gt;&lt;/a&gt; with &lt;a href=&quot;QDomNode.html#toCDATASection()&quot;&gt;&lt;tt&gt;toCDATASection&lt;/tt&gt;&lt;/a&gt;.&lt;/p&gt;

@see &lt;a href=&quot;QDomNode.html#toCDATASection()&quot;&gt;&lt;tt&gt;toCDATASection&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final boolean isCharacterData()" doc="/**
&lt;p&gt;Returns true if the node is a character data node; otherwise returns false.&lt;/p&gt;
&lt;p&gt;If this function returns true, it does not imply that this object is a &lt;a href=&quot;QDomCharacterData.html&quot;&gt;&lt;tt&gt;QDomCharacterData&lt;/tt&gt;&lt;/a&gt;; you can get the &lt;a href=&quot;QDomCharacterData.html&quot;&gt;&lt;tt&gt;QDomCharacterData&lt;/tt&gt;&lt;/a&gt; with &lt;a href=&quot;QDomNode.html#toCharacterData()&quot;&gt;&lt;tt&gt;toCharacterData&lt;/tt&gt;&lt;/a&gt;.&lt;/p&gt;

@see &lt;a href=&quot;QDomNode.html#toCharacterData()&quot;&gt;&lt;tt&gt;toCharacterData&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final boolean isComment()" doc="/**
&lt;p&gt;Returns true if the node is a comment; otherwise returns false.&lt;/p&gt;
&lt;p&gt;If this function returns true, it does not imply that this object is a &lt;a href=&quot;QDomComment.html&quot;&gt;&lt;tt&gt;QDomComment&lt;/tt&gt;&lt;/a&gt;; you can get the &lt;a href=&quot;QDomComment.html&quot;&gt;&lt;tt&gt;QDomComment&lt;/tt&gt;&lt;/a&gt; with &lt;a href=&quot;QDomNode.html#toComment()&quot;&gt;&lt;tt&gt;toComment&lt;/tt&gt;&lt;/a&gt;.&lt;/p&gt;

@see &lt;a href=&quot;QDomNode.html#toComment()&quot;&gt;&lt;tt&gt;toComment&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final boolean isDocument()" doc="/**
&lt;p&gt;Returns true if the node is a document; otherwise returns false.&lt;/p&gt;
&lt;p&gt;If this function returns true, it does not imply that this object is a &lt;a href=&quot;QDomDocument.html&quot;&gt;&lt;tt&gt;QDomDocument&lt;/tt&gt;&lt;/a&gt;; you can get the &lt;a href=&quot;QDomDocument.html&quot;&gt;&lt;tt&gt;QDomDocument&lt;/tt&gt;&lt;/a&gt; with &lt;a href=&quot;QDomNode.html#toDocument()&quot;&gt;&lt;tt&gt;toDocument&lt;/tt&gt;&lt;/a&gt;.&lt;/p&gt;

@see &lt;a href=&quot;QDomNode.html#toDocument()&quot;&gt;&lt;tt&gt;toDocument&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final boolean isDocumentFragment()" doc="/**
&lt;p&gt;Returns true if the node is a document fragment; otherwise returns false.&lt;/p&gt;
&lt;p&gt;If this function returns true, it does not imply that this object is a &lt;a href=&quot;QDomDocumentFragment.html&quot;&gt;&lt;tt&gt;QDomDocumentFragment&lt;/tt&gt;&lt;/a&gt;; you can get the &lt;a href=&quot;QDomDocumentFragment.html&quot;&gt;&lt;tt&gt;QDomDocumentFragment&lt;/tt&gt;&lt;/a&gt; with &lt;a href=&quot;QDomNode.html#toDocumentFragment()&quot;&gt;&lt;tt&gt;toDocumentFragment&lt;/tt&gt;&lt;/a&gt;.&lt;/p&gt;

@see &lt;a href=&quot;QDomNode.html#toDocumentFragment()&quot;&gt;&lt;tt&gt;toDocumentFragment&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final boolean isDocumentType()" doc="/**
&lt;p&gt;Returns true if the node is a document type; otherwise returns false.&lt;/p&gt;
&lt;p&gt;If this function returns true, it does not imply that this object is a &lt;a href=&quot;QDomDocumentType.html&quot;&gt;&lt;tt&gt;QDomDocumentType&lt;/tt&gt;&lt;/a&gt;; you can get the &lt;a href=&quot;QDomDocumentType.html&quot;&gt;&lt;tt&gt;QDomDocumentType&lt;/tt&gt;&lt;/a&gt; with &lt;a href=&quot;QDomNode.html#toDocumentType()&quot;&gt;&lt;tt&gt;toDocumentType&lt;/tt&gt;&lt;/a&gt;.&lt;/p&gt;

@see &lt;a href=&quot;QDomNode.html#toDocumentType()&quot;&gt;&lt;tt&gt;toDocumentType&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final boolean isElement()" doc="/**
&lt;p&gt;Returns true if the node is an element; otherwise returns false.&lt;/p&gt;
&lt;p&gt;If this function returns true, it does not imply that this object is a &lt;a href=&quot;QDomElement.html&quot;&gt;&lt;tt&gt;QDomElement&lt;/tt&gt;&lt;/a&gt;; you can get the &lt;a href=&quot;QDomElement.html&quot;&gt;&lt;tt&gt;QDomElement&lt;/tt&gt;&lt;/a&gt; with &lt;a href=&quot;QDomNode.html#toElement()&quot;&gt;&lt;tt&gt;toElement&lt;/tt&gt;&lt;/a&gt;.&lt;/p&gt;

@see &lt;a href=&quot;QDomNode.html#toElement()&quot;&gt;&lt;tt&gt;toElement&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final boolean isEntity()" doc="/**
&lt;p&gt;Returns true if the node is an entity; otherwise returns false.&lt;/p&gt;
&lt;p&gt;If this function returns true, it does not imply that this object is a &lt;a href=&quot;QDomEntity.html&quot;&gt;&lt;tt&gt;QDomEntity&lt;/tt&gt;&lt;/a&gt;; you can get the &lt;a href=&quot;QDomEntity.html&quot;&gt;&lt;tt&gt;QDomEntity&lt;/tt&gt;&lt;/a&gt; with &lt;a href=&quot;QDomNode.html#toEntity()&quot;&gt;&lt;tt&gt;toEntity&lt;/tt&gt;&lt;/a&gt;.&lt;/p&gt;

@see &lt;a href=&quot;QDomNode.html#toEntity()&quot;&gt;&lt;tt&gt;toEntity&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final boolean isEntityReference()" doc="/**
&lt;p&gt;Returns true if the node is an entity reference; otherwise returns false.&lt;/p&gt;
&lt;p&gt;If this function returns true, it does not imply that this object is a &lt;a href=&quot;QDomEntityReference.html&quot;&gt;&lt;tt&gt;QDomEntityReference&lt;/tt&gt;&lt;/a&gt;; you can get the &lt;a href=&quot;QDomEntityReference.html&quot;&gt;&lt;tt&gt;QDomEntityReference&lt;/tt&gt;&lt;/a&gt; with &lt;a href=&quot;QDomNode.html#toEntityReference()&quot;&gt;&lt;tt&gt;toEntityReference&lt;/tt&gt;&lt;/a&gt;.&lt;/p&gt;

@see &lt;a href=&quot;QDomNode.html#toEntityReference()&quot;&gt;&lt;tt&gt;toEntityReference&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final boolean isNotation()" doc="/**
&lt;p&gt;Returns true if the node is a notation; otherwise returns false.&lt;/p&gt;
&lt;p&gt;If this function returns true, it does not imply that this object is a &lt;a href=&quot;QDomNotation.html&quot;&gt;&lt;tt&gt;QDomNotation&lt;/tt&gt;&lt;/a&gt;; you can get the &lt;a href=&quot;QDomNotation.html&quot;&gt;&lt;tt&gt;QDomNotation&lt;/tt&gt;&lt;/a&gt; with &lt;a href=&quot;QDomNode.html#toNotation()&quot;&gt;&lt;tt&gt;toNotation&lt;/tt&gt;&lt;/a&gt;.&lt;/p&gt;

@see &lt;a href=&quot;QDomNode.html#toNotation()&quot;&gt;&lt;tt&gt;toNotation&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final boolean isNull()" doc="/**
&lt;p&gt;Returns true if this node is null (i.e&amp;#x2e; if it has no type or contents); otherwise returns false.&lt;/p&gt;
 */"/>
    <method name="public final boolean isProcessingInstruction()" doc="/**
&lt;p&gt;Returns true if the node is a processing instruction; otherwise returns false.&lt;/p&gt;
&lt;p&gt;If this function returns true, it does not imply that this object is a &lt;a href=&quot;QDomProcessingInstruction.html&quot;&gt;&lt;tt&gt;QDomProcessingInstruction&lt;/tt&gt;&lt;/a&gt;; you can get the QProcessingInstruction with &lt;a href=&quot;QDomNode.html#toProcessingInstruction()&quot;&gt;&lt;tt&gt;toProcessingInstruction&lt;/tt&gt;&lt;/a&gt;.&lt;/p&gt;

@see &lt;a href=&quot;QDomNode.html#toProcessingInstruction()&quot;&gt;&lt;tt&gt;toProcessingInstruction&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final boolean isSupported(java.lang.String feature, java.lang.String version)" doc="/**
&lt;p&gt;Returns true if the DOM implementation implements the feature &lt;tt&gt;feature&lt;/tt&gt; and this feature is supported by this node in the version &lt;tt&gt;version&lt;/tt&gt;; otherwise returns false.&lt;/p&gt;

@see &lt;tt&gt;QDomImplementation::hasFeature&lt;/tt&gt; */"/>
    <method name="public final boolean isText()" doc="/**
&lt;p&gt;Returns true if the node is a text node; otherwise returns false.&lt;/p&gt;
&lt;p&gt;If this function returns true, it does not imply that this object is a &lt;a href=&quot;QDomText.html&quot;&gt;&lt;tt&gt;QDomText&lt;/tt&gt;&lt;/a&gt;; you can get the &lt;a href=&quot;QDomText.html&quot;&gt;&lt;tt&gt;QDomText&lt;/tt&gt;&lt;/a&gt; with &lt;a href=&quot;QDomNode.html#toText()&quot;&gt;&lt;tt&gt;toText&lt;/tt&gt;&lt;/a&gt;.&lt;/p&gt;

@see &lt;a href=&quot;QDomNode.html#toText()&quot;&gt;&lt;tt&gt;toText&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final com.trolltech.qt.xml.QDomNode lastChild()" doc="/**
&lt;p&gt;Returns the last child of the node. If there is no child node, a &lt;a href=&quot;QDomNode.html#isNull()&quot;&gt;null node&lt;/tt&gt;&lt;/a&gt; is returned. Changing the returned node will also change the node in the document tree.&lt;/p&gt;

@see &lt;a href=&quot;QDomNode.html#firstChild()&quot;&gt;&lt;tt&gt;firstChild&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QDomNode.html#childNodes()&quot;&gt;&lt;tt&gt;childNodes&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final com.trolltech.qt.xml.QDomElement lastChildElement(java.lang.String tagName)" doc="/**
&lt;p&gt;Returns the last child element with tag name &lt;tt&gt;tagName&lt;/tt&gt; if tagName is non-empty; otherwise returns the first child element. Returns a null element if no such child exists.&lt;/p&gt;

@see &lt;a href=&quot;QDomNode.html#firstChildElement(java.lang.String)&quot;&gt;&lt;tt&gt;firstChildElement&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QDomNode.html#previousSiblingElement(java.lang.String)&quot;&gt;&lt;tt&gt;previousSiblingElement&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QDomNode.html#nextSiblingElement(java.lang.String)&quot;&gt;&lt;tt&gt;nextSiblingElement&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final com.trolltech.qt.xml.QDomElement lastChildElement()" doc="/**
&lt;p&gt;Equivalent to &lt;a href=&quot;QDomNode.html#lastChildElement(java.lang.String)&quot;&gt;&lt;tt&gt;lastChildElement&lt;/tt&gt;&lt;/a&gt;(QString()). */"/>
    <method name="public final int lineNumber()" doc="/**
&lt;p&gt;For nodes created by QDomDocument::setContent(), this function returns the line number in the XML document where the node was parsed. Otherwise, -1 is returned.&lt;/p&gt;

@see &lt;a href=&quot;QDomNode.html#columnNumber()&quot;&gt;&lt;tt&gt;columnNumber&lt;/tt&gt;&lt;/a&gt;
@see &lt;tt&gt;QDomDocument::setContent&lt;/tt&gt; */"/>
    <method name="public final java.lang.String localName()" doc="/**
&lt;p&gt;If the node uses namespaces, this function returns the local name of the node; otherwise it returns an empty string.&lt;/p&gt;
&lt;p&gt;Only nodes of type ElementNode or AttributeNode can have namespaces. A namespace must have been specified at creation time; it is not possible to add a namespace afterwards.&lt;/p&gt;
&lt;p&gt;QDomDocument::createAttributeNS()&lt;/p&gt;

@see &lt;a href=&quot;QDomNode.html#prefix()&quot;&gt;&lt;tt&gt;prefix&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QDomNode.html#namespaceURI()&quot;&gt;&lt;tt&gt;namespaceURI&lt;/tt&gt;&lt;/a&gt;
@see &lt;tt&gt;QDomDocument::createElementNS&lt;/tt&gt; */"/>
    <method name="public final com.trolltech.qt.xml.QDomNode namedItem(java.lang.String name)" doc="/**
&lt;p&gt;Returns the first direct child node for which &lt;a href=&quot;QDomNode.html#nodeName()&quot;&gt;&lt;tt&gt;nodeName&lt;/tt&gt;&lt;/a&gt; equals &lt;tt&gt;name&lt;/tt&gt;.&lt;/p&gt;
&lt;p&gt;If no such direct child exists, a &lt;a href=&quot;QDomNode.html#isNull()&quot;&gt;null node&lt;/tt&gt;&lt;/a&gt; is returned.&lt;/p&gt;

@see &lt;a href=&quot;QDomNode.html#nodeName()&quot;&gt;&lt;tt&gt;nodeName&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final java.lang.String namespaceURI()" doc="/**
&lt;p&gt;Returns the namespace URI of this node or an empty string if the node has no namespace URI.&lt;/p&gt;
&lt;p&gt;Only nodes of type ElementNode or AttributeNode can have namespaces. A namespace URI must be specified at creation time and cannot be changed later.&lt;/p&gt;
&lt;p&gt;QDomDocument::createAttributeNS()&lt;/p&gt;

@see &lt;a href=&quot;QDomNode.html#prefix()&quot;&gt;&lt;tt&gt;prefix&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QDomNode.html#localName()&quot;&gt;&lt;tt&gt;localName&lt;/tt&gt;&lt;/a&gt;
@see &lt;tt&gt;QDomDocument::createElementNS&lt;/tt&gt; */"/>
    <method name="public final com.trolltech.qt.xml.QDomNode nextSibling()" doc="/**
&lt;p&gt;Returns the next sibling in the document tree. Changing the returned node will also change the node in the document tree.&lt;/p&gt;
&lt;p&gt;If you have XML like this:&lt;/p&gt;
&lt;pre&gt;    &amp;lt;h1&amp;gt;Heading&amp;lt;/h1&amp;gt;
    &amp;lt;p&amp;gt;The text...&amp;lt;/p&amp;gt;
    &amp;lt;h2&amp;gt;Next heading&amp;lt;/h2&amp;gt;&lt;/pre&gt;
&lt;p&gt;and this &lt;a href=&quot;QDomNode.html#QDomNode(com.trolltech.qt.xml.QDomNode)&quot;&gt;&lt;tt&gt;QDomNode&lt;/tt&gt;&lt;/a&gt; represents the &amp;lt;p&amp;gt; tag, &lt;a href=&quot;QDomNode.html#nextSibling()&quot;&gt;&lt;tt&gt;nextSibling&lt;/tt&gt;&lt;/a&gt; will return the node representing the &amp;lt;h2&amp;gt; tag.&lt;/p&gt;

@see &lt;a href=&quot;QDomNode.html#previousSibling()&quot;&gt;&lt;tt&gt;previousSibling&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final com.trolltech.qt.xml.QDomElement nextSiblingElement(java.lang.String taName)" doc="/**
&lt;p&gt;Returns the next sibilng element with tag name &lt;tt&gt;taName&lt;/tt&gt; if &lt;tt&gt;taName&lt;/tt&gt; is non-empty; otherwise returns any next sibling element. Returns a null element if no such sibling exists.&lt;/p&gt;

@see &lt;a href=&quot;QDomNode.html#firstChildElement(java.lang.String)&quot;&gt;&lt;tt&gt;firstChildElement&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QDomNode.html#previousSiblingElement(java.lang.String)&quot;&gt;&lt;tt&gt;previousSiblingElement&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QDomNode.html#lastChildElement(java.lang.String)&quot;&gt;&lt;tt&gt;lastChildElement&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final com.trolltech.qt.xml.QDomElement nextSiblingElement()" doc="/**
&lt;p&gt;Equivalent to &lt;a href=&quot;QDomNode.html#nextSiblingElement(java.lang.String)&quot;&gt;&lt;tt&gt;nextSiblingElement&lt;/tt&gt;&lt;/a&gt;(QString()). */"/>
    <method name="public final java.lang.String nodeName()" doc="/**
&lt;p&gt;Returns the name of the node.&lt;/p&gt;
&lt;p&gt;The meaning of the name depends on the subclass:&lt;/p&gt;
&lt;p&gt;&lt;table align=&quot;center&quot; cellpadding=&quot;2&quot; cellspacing=&quot;1&quot; border=&quot;0&quot;&gt;
&lt;thead&gt;&lt;tr valign=&quot;top&quot; class=&quot;qt-style&quot;&gt;&lt;th&gt;Name&lt;/th&gt;&lt;th&gt;Meaning&lt;/th&gt;&lt;/tr&gt;&lt;/thead&gt;
&lt;tr valign=&quot;top&quot; class=&quot;odd&quot;&gt;&lt;td&gt;&lt;a href=&quot;QDomAttr.html&quot;&gt;&lt;tt&gt;QDomAttr&lt;/tt&gt;&lt;/a&gt;&lt;/td&gt;&lt;td&gt;The name of the attribute&lt;/td&gt;&lt;/tr&gt;
&lt;tr valign=&quot;top&quot; class=&quot;even&quot;&gt;&lt;td&gt;&lt;a href=&quot;QDomCDATASection.html&quot;&gt;&lt;tt&gt;QDomCDATASection&lt;/tt&gt;&lt;/a&gt;&lt;/td&gt;&lt;td&gt;The string &amp;quot;#cdata-section&amp;quot;&lt;/td&gt;&lt;/tr&gt;
&lt;tr valign=&quot;top&quot; class=&quot;odd&quot;&gt;&lt;td&gt;&lt;a href=&quot;QDomComment.html&quot;&gt;&lt;tt&gt;QDomComment&lt;/tt&gt;&lt;/a&gt;&lt;/td&gt;&lt;td&gt;The string &amp;quot;#comment&amp;quot;&lt;/td&gt;&lt;/tr&gt;
&lt;tr valign=&quot;top&quot; class=&quot;even&quot;&gt;&lt;td&gt;&lt;a href=&quot;QDomDocument.html&quot;&gt;&lt;tt&gt;QDomDocument&lt;/tt&gt;&lt;/a&gt;&lt;/td&gt;&lt;td&gt;The string &amp;quot;#document&amp;quot;&lt;/td&gt;&lt;/tr&gt;
&lt;tr valign=&quot;top&quot; class=&quot;odd&quot;&gt;&lt;td&gt;&lt;a href=&quot;QDomDocumentFragment.html&quot;&gt;&lt;tt&gt;QDomDocumentFragment&lt;/tt&gt;&lt;/a&gt;&lt;/td&gt;&lt;td&gt;The string &amp;quot;#document-fragment&amp;quot;&lt;/td&gt;&lt;/tr&gt;
&lt;tr valign=&quot;top&quot; class=&quot;even&quot;&gt;&lt;td&gt;&lt;a href=&quot;QDomDocumentType.html&quot;&gt;&lt;tt&gt;QDomDocumentType&lt;/tt&gt;&lt;/a&gt;&lt;/td&gt;&lt;td&gt;The name of the document type&lt;/td&gt;&lt;/tr&gt;
&lt;tr valign=&quot;top&quot; class=&quot;odd&quot;&gt;&lt;td&gt;&lt;a href=&quot;QDomElement.html&quot;&gt;&lt;tt&gt;QDomElement&lt;/tt&gt;&lt;/a&gt;&lt;/td&gt;&lt;td&gt;The tag name&lt;/td&gt;&lt;/tr&gt;
&lt;tr valign=&quot;top&quot; class=&quot;even&quot;&gt;&lt;td&gt;&lt;a href=&quot;QDomEntity.html&quot;&gt;&lt;tt&gt;QDomEntity&lt;/tt&gt;&lt;/a&gt;&lt;/td&gt;&lt;td&gt;The name of the entity&lt;/td&gt;&lt;/tr&gt;
&lt;tr valign=&quot;top&quot; class=&quot;odd&quot;&gt;&lt;td&gt;&lt;a href=&quot;QDomEntityReference.html&quot;&gt;&lt;tt&gt;QDomEntityReference&lt;/tt&gt;&lt;/a&gt;&lt;/td&gt;&lt;td&gt;The name of the referenced entity&lt;/td&gt;&lt;/tr&gt;
&lt;tr valign=&quot;top&quot; class=&quot;even&quot;&gt;&lt;td&gt;&lt;a href=&quot;QDomNotation.html&quot;&gt;&lt;tt&gt;QDomNotation&lt;/tt&gt;&lt;/a&gt;&lt;/td&gt;&lt;td&gt;The name of the notation&lt;/td&gt;&lt;/tr&gt;
&lt;tr valign=&quot;top&quot; class=&quot;odd&quot;&gt;&lt;td&gt;&lt;a href=&quot;QDomProcessingInstruction.html&quot;&gt;&lt;tt&gt;QDomProcessingInstruction&lt;/tt&gt;&lt;/a&gt;&lt;/td&gt;&lt;td&gt;The target of the processing instruction&lt;/td&gt;&lt;/tr&gt;
&lt;tr valign=&quot;top&quot; class=&quot;even&quot;&gt;&lt;td&gt;&lt;a href=&quot;QDomText.html&quot;&gt;&lt;tt&gt;QDomText&lt;/tt&gt;&lt;/a&gt;&lt;/td&gt;&lt;td&gt;The string &amp;quot;#text&amp;quot;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;Note:&lt;/b&gt; This function does not take the presence of namespaces into account when processing the names of element and attribute nodes. As a result, the returned name can contain any namespace prefix that may be present. To obtain the node name of an element or attribute, use &lt;a href=&quot;QDomNode.html#localName()&quot;&gt;&lt;tt&gt;localName&lt;/tt&gt;&lt;/a&gt;; to obtain the namespace prefix, use &lt;a href=&quot;QDomNode.html#namespaceURI()&quot;&gt;&lt;tt&gt;namespaceURI&lt;/tt&gt;&lt;/a&gt;.&lt;/p&gt;

@see &lt;a href=&quot;QDomNode.html#nodeValue()&quot;&gt;&lt;tt&gt;nodeValue&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final com.trolltech.qt.xml.QDomNode.NodeType nodeType()" doc="/**
&lt;p&gt;Returns the type of the node.&lt;/p&gt;

@see &lt;a href=&quot;QDomNode.html#toAttr()&quot;&gt;&lt;tt&gt;toAttr&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QDomNode.html#toCDATASection()&quot;&gt;&lt;tt&gt;toCDATASection&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QDomNode.html#toDocumentFragment()&quot;&gt;&lt;tt&gt;toDocumentFragment&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QDomNode.html#toDocument()&quot;&gt;&lt;tt&gt;toDocument&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QDomNode.html#toDocumentType()&quot;&gt;&lt;tt&gt;toDocumentType&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QDomNode.html#toElement()&quot;&gt;&lt;tt&gt;toElement&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QDomNode.html#toEntityReference()&quot;&gt;&lt;tt&gt;toEntityReference&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QDomNode.html#toText()&quot;&gt;&lt;tt&gt;toText&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QDomNode.html#toEntity()&quot;&gt;&lt;tt&gt;toEntity&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QDomNode.html#toNotation()&quot;&gt;&lt;tt&gt;toNotation&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QDomNode.html#toProcessingInstruction()&quot;&gt;&lt;tt&gt;toProcessingInstruction&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QDomNode.html#toCharacterData()&quot;&gt;&lt;tt&gt;toCharacterData&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QDomNode.html#toComment()&quot;&gt;&lt;tt&gt;toComment&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final java.lang.String nodeValue()" doc="/**
&lt;p&gt;Returns the value of the node.&lt;/p&gt;
&lt;p&gt;The meaning of the value depends on the subclass:&lt;/p&gt;
&lt;p&gt;&lt;table align=&quot;center&quot; cellpadding=&quot;2&quot; cellspacing=&quot;1&quot; border=&quot;0&quot;&gt;
&lt;thead&gt;&lt;tr valign=&quot;top&quot; class=&quot;qt-style&quot;&gt;&lt;th&gt;Name&lt;/th&gt;&lt;th&gt;Meaning&lt;/th&gt;&lt;/tr&gt;&lt;/thead&gt;
&lt;tr valign=&quot;top&quot; class=&quot;odd&quot;&gt;&lt;td&gt;&lt;a href=&quot;QDomAttr.html&quot;&gt;&lt;tt&gt;QDomAttr&lt;/tt&gt;&lt;/a&gt;&lt;/td&gt;&lt;td&gt;The attribute value&lt;/td&gt;&lt;/tr&gt;
&lt;tr valign=&quot;top&quot; class=&quot;even&quot;&gt;&lt;td&gt;&lt;a href=&quot;QDomCDATASection.html&quot;&gt;&lt;tt&gt;QDomCDATASection&lt;/tt&gt;&lt;/a&gt;&lt;/td&gt;&lt;td&gt;The content of the CDATA section&lt;/td&gt;&lt;/tr&gt;
&lt;tr valign=&quot;top&quot; class=&quot;odd&quot;&gt;&lt;td&gt;&lt;a href=&quot;QDomComment.html&quot;&gt;&lt;tt&gt;QDomComment&lt;/tt&gt;&lt;/a&gt;&lt;/td&gt;&lt;td&gt;The comment&lt;/td&gt;&lt;/tr&gt;
&lt;tr valign=&quot;top&quot; class=&quot;even&quot;&gt;&lt;td&gt;&lt;a href=&quot;QDomProcessingInstruction.html&quot;&gt;&lt;tt&gt;QDomProcessingInstruction&lt;/tt&gt;&lt;/a&gt;&lt;/td&gt;&lt;td&gt;The data of the processing instruction&lt;/td&gt;&lt;/tr&gt;
&lt;tr valign=&quot;top&quot; class=&quot;odd&quot;&gt;&lt;td&gt;&lt;a href=&quot;QDomText.html&quot;&gt;&lt;tt&gt;QDomText&lt;/tt&gt;&lt;/a&gt;&lt;/td&gt;&lt;td&gt;The text&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;&lt;/p&gt;
&lt;p&gt;All the other subclasses do not have a node value and will return an empty string.&lt;/p&gt;

@see &lt;a href=&quot;QDomNode.html#setNodeValue(java.lang.String)&quot;&gt;&lt;tt&gt;setNodeValue&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QDomNode.html#nodeName()&quot;&gt;&lt;tt&gt;nodeName&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final void normalize()" doc="/**
&lt;p&gt;Calling &lt;a href=&quot;QDomNode.html#normalize()&quot;&gt;&lt;tt&gt;normalize&lt;/tt&gt;&lt;/a&gt; on an element converts all its children into a standard form. This means that adjacent &lt;a href=&quot;QDomText.html&quot;&gt;&lt;tt&gt;QDomText&lt;/tt&gt;&lt;/a&gt; objects will be merged into a single text object (&lt;a href=&quot;QDomCDATASection.html&quot;&gt;&lt;tt&gt;QDomCDATASection&lt;/tt&gt;&lt;/a&gt; nodes are not merged).&lt;/p&gt;
 */"/>
    <method name="public final void writeTo(com.trolltech.qt.core.QTextStream arg__1)"/>
    <method name="public final com.trolltech.qt.xml.QDomDocument ownerDocument()" doc="/**
&lt;p&gt;Returns the document to which this node belongs.&lt;/p&gt;
 */"/>
    <method name="public final com.trolltech.qt.xml.QDomNode parentNode()" doc="/**
&lt;p&gt;Returns the parent node. If this node has no parent, a null node is returned (i.e&amp;#x2e; a node for which &lt;a href=&quot;QDomNode.html#isNull()&quot;&gt;&lt;tt&gt;isNull&lt;/tt&gt;&lt;/a&gt; returns true).&lt;/p&gt;
 */"/>
    <method name="public final java.lang.String prefix()" doc="/**
&lt;p&gt;Returns the namespace prefix of the node or an empty string if the node has no namespace prefix.&lt;/p&gt;
&lt;p&gt;Only nodes of type ElementNode or AttributeNode can have namespaces. A namespace prefix must be specified at creation time. If a node was created with a namespace prefix, you can change it later with &lt;a href=&quot;QDomNode.html#setPrefix(java.lang.String)&quot;&gt;&lt;tt&gt;setPrefix&lt;/tt&gt;&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;If you create an element or attribute with QDomDocument::createElement() or QDomDocument::createAttribute(), the prefix will be an empty string. If you use QDomDocument::createElementNS() or QDomDocument::createAttributeNS() instead, the prefix will not be an empty string; but it might be an empty string if the name does not have a prefix.&lt;/p&gt;
&lt;p&gt;QDomDocument::createElementNS() QDomDocument::createAttributeNS()&lt;/p&gt;

@see &lt;a href=&quot;QDomNode.html#setPrefix(java.lang.String)&quot;&gt;&lt;tt&gt;setPrefix&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QDomNode.html#localName()&quot;&gt;&lt;tt&gt;localName&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QDomNode.html#namespaceURI()&quot;&gt;&lt;tt&gt;namespaceURI&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final com.trolltech.qt.xml.QDomNode previousSibling()" doc="/**
&lt;p&gt;Returns the previous sibling in the document tree. Changing the returned node will also change the node in the document tree.&lt;/p&gt;
&lt;p&gt;For example, if you have XML like this:&lt;/p&gt;
&lt;pre&gt;    &amp;lt;h1&amp;gt;Heading&amp;lt;/h1&amp;gt;
    &amp;lt;p&amp;gt;The text...&amp;lt;/p&amp;gt;
    &amp;lt;h2&amp;gt;Next heading&amp;lt;/h2&amp;gt;&lt;/pre&gt;
&lt;p&gt;and this &lt;a href=&quot;QDomNode.html#QDomNode(com.trolltech.qt.xml.QDomNode)&quot;&gt;&lt;tt&gt;QDomNode&lt;/tt&gt;&lt;/a&gt; represents the &amp;amp;lt;p&amp;amp;gt; tag, &lt;a href=&quot;QDomNode.html#previousSibling()&quot;&gt;&lt;tt&gt;previousSibling&lt;/tt&gt;&lt;/a&gt; will return the node representing the &amp;amp;lt;h1&amp;amp;gt; tag.&lt;/p&gt;

@see &lt;a href=&quot;QDomNode.html#nextSibling()&quot;&gt;&lt;tt&gt;nextSibling&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final com.trolltech.qt.xml.QDomElement previousSiblingElement(java.lang.String tagName)" doc="/**
&lt;p&gt;Returns the previous sibilng element with tag name &lt;tt&gt;tagName&lt;/tt&gt; if &lt;tt&gt;tagName&lt;/tt&gt; is non-empty; otherwise returns any previous sibling element. Returns a null element if no such sibling exists.&lt;/p&gt;

@see &lt;a href=&quot;QDomNode.html#firstChildElement(java.lang.String)&quot;&gt;&lt;tt&gt;firstChildElement&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QDomNode.html#nextSiblingElement(java.lang.String)&quot;&gt;&lt;tt&gt;nextSiblingElement&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QDomNode.html#lastChildElement(java.lang.String)&quot;&gt;&lt;tt&gt;lastChildElement&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final com.trolltech.qt.xml.QDomElement previousSiblingElement()" doc="/**
&lt;p&gt;Equivalent to &lt;a href=&quot;QDomNode.html#previousSiblingElement(java.lang.String)&quot;&gt;&lt;tt&gt;previousSiblingElement&lt;/tt&gt;&lt;/a&gt;(QString()). */"/>
    <method name="public final com.trolltech.qt.xml.QDomNode removeChild(com.trolltech.qt.xml.QDomNode oldChild)" doc="/**
&lt;p&gt;Removes &lt;tt&gt;oldChild&lt;/tt&gt; from the list of children. &lt;tt&gt;oldChild&lt;/tt&gt; must be a direct child of this node.&lt;/p&gt;
&lt;p&gt;Returns a new reference to &lt;tt&gt;oldChild&lt;/tt&gt; on success or a &lt;a href=&quot;QDomNode.html#isNull()&quot;&gt;null node&lt;/tt&gt;&lt;/a&gt; on failure.&lt;/p&gt;

@see &lt;a href=&quot;QDomNode.html#insertBefore(com.trolltech.qt.xml.QDomNode, com.trolltech.qt.xml.QDomNode)&quot;&gt;&lt;tt&gt;insertBefore&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QDomNode.html#insertAfter(com.trolltech.qt.xml.QDomNode, com.trolltech.qt.xml.QDomNode)&quot;&gt;&lt;tt&gt;insertAfter&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QDomNode.html#replaceChild(com.trolltech.qt.xml.QDomNode, com.trolltech.qt.xml.QDomNode)&quot;&gt;&lt;tt&gt;replaceChild&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QDomNode.html#appendChild(com.trolltech.qt.xml.QDomNode)&quot;&gt;&lt;tt&gt;appendChild&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final com.trolltech.qt.xml.QDomNode replaceChild(com.trolltech.qt.xml.QDomNode newChild, com.trolltech.qt.xml.QDomNode oldChild)" doc="/**
&lt;p&gt;Replaces &lt;tt&gt;oldChild&lt;/tt&gt; with &lt;tt&gt;newChild&lt;/tt&gt;. &lt;tt&gt;oldChild&lt;/tt&gt; must be a direct child of this node.&lt;/p&gt;
&lt;p&gt;If &lt;tt&gt;newChild&lt;/tt&gt; is the child of another node, it is reparented to this node. If &lt;tt&gt;newChild&lt;/tt&gt; is a child of this node, then its position in the list of children is changed.&lt;/p&gt;
&lt;p&gt;If &lt;tt&gt;newChild&lt;/tt&gt; is a &lt;a href=&quot;QDomDocumentFragment.html&quot;&gt;&lt;tt&gt;QDomDocumentFragment&lt;/tt&gt;&lt;/a&gt;, then &lt;tt&gt;oldChild&lt;/tt&gt; is replaced by all of the children of the fragment.&lt;/p&gt;
&lt;p&gt;Returns a new reference to &lt;tt&gt;oldChild&lt;/tt&gt; on success or a &lt;a href=&quot;QDomNode.html#isNull()&quot;&gt;null node&lt;/tt&gt;&lt;/a&gt; an failure.&lt;/p&gt;

@see &lt;a href=&quot;QDomNode.html#insertBefore(com.trolltech.qt.xml.QDomNode, com.trolltech.qt.xml.QDomNode)&quot;&gt;&lt;tt&gt;insertBefore&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QDomNode.html#insertAfter(com.trolltech.qt.xml.QDomNode, com.trolltech.qt.xml.QDomNode)&quot;&gt;&lt;tt&gt;insertAfter&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QDomNode.html#removeChild(com.trolltech.qt.xml.QDomNode)&quot;&gt;&lt;tt&gt;removeChild&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QDomNode.html#appendChild(com.trolltech.qt.xml.QDomNode)&quot;&gt;&lt;tt&gt;appendChild&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final void save(com.trolltech.qt.core.QTextStream arg__1, int arg__2, com.trolltech.qt.xml.QDomNode.EncodingPolicy arg__3)" doc="/**
&lt;p&gt;If &lt;tt&gt;arg__3&lt;/tt&gt; is QDomNode::EncodingFromDocument, this function behaves as save(&lt;a href=&quot;%2E%2E/core/QTextStream.html&quot;&gt;&lt;tt&gt;QTextStream&lt;/tt&gt;&lt;/a&gt; &amp;amp;str, int indent).&lt;/p&gt;
&lt;p&gt;If &lt;tt&gt;arg__3&lt;/tt&gt; is &lt;a href=&quot;QDomNode.html#EncodingPolicy-enum&quot;&gt;&lt;tt&gt;EncodingFromTextStream&lt;/tt&gt;&lt;/a&gt; and this node is a document node, this function behaves as save(&lt;a href=&quot;%2E%2E/core/QTextStream.html&quot;&gt;&lt;tt&gt;QTextStream&lt;/tt&gt;&lt;/a&gt; &amp;amp;str, int indent) with the exception that the encoding specified in the text stream &lt;tt&gt;arg__1&lt;/tt&gt; is used.&lt;/p&gt;
&lt;p&gt;If the document contains invalid XML characters or characters that cannot be encoded in the given encoding, the result and behavior is undefined.&lt;/p&gt;
 */"/>
    <method name="public final void save(com.trolltech.qt.core.QTextStream arg__1, int arg__2)" doc="/**
&lt;p&gt;Writes the XML representation of the node and all its children to the stream &lt;tt&gt;arg__1&lt;/tt&gt;. This function uses &lt;tt&gt;arg__2&lt;/tt&gt; as the amount of space to indent the node.&lt;/p&gt;
&lt;p&gt;If this node is a document node, the encoding of text stream &lt;tt&gt;arg__1&lt;/tt&gt;'s encoding is set by treating a processing instruction by name &amp;quot;xml&amp;quot; as an XML declaration, if such a one exists, and otherwise defaults to UTF-8. XML declarations are not processing instructions, but this behavior exists for historical reasons. If this node is not a document node, the text stream's encoding is used.&lt;/p&gt;
&lt;p&gt;If the document contains invalid XML characters or characters that cannot be encoded in the given encoding, the result and behavior is undefined.&lt;/p&gt;
 */"/>
    <method name="public final void setNodeValue(java.lang.String arg__1)" doc="/**
&lt;p&gt;Sets the node's value to &lt;tt&gt;arg__1&lt;/tt&gt;.&lt;/p&gt;

@see &lt;a href=&quot;QDomNode.html#nodeValue()&quot;&gt;&lt;tt&gt;nodeValue&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final void setPrefix(java.lang.String pre)" doc="/**
&lt;p&gt;If the node has a namespace prefix, this function changes the namespace prefix of the node to &lt;tt&gt;pre&lt;/tt&gt;. Otherwise this function does nothing.&lt;/p&gt;
&lt;p&gt;Only nodes of type ElementNode or AttributeNode can have namespaces. A namespace prefix must have be specified at creation time; it is not possible to add a namespace prefix afterwards.&lt;/p&gt;
&lt;p&gt;QDomDocument::createElementNS() QDomDocument::createAttributeNS()&lt;/p&gt;

@see &lt;a href=&quot;QDomNode.html#prefix()&quot;&gt;&lt;tt&gt;prefix&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QDomNode.html#localName()&quot;&gt;&lt;tt&gt;localName&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QDomNode.html#namespaceURI()&quot;&gt;&lt;tt&gt;namespaceURI&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final com.trolltech.qt.xml.QDomAttr toAttr()" doc="/**
&lt;p&gt;Converts a &lt;a href=&quot;QDomNode.html#QDomNode(com.trolltech.qt.xml.QDomNode)&quot;&gt;&lt;tt&gt;QDomNode&lt;/tt&gt;&lt;/a&gt; into a &lt;a href=&quot;QDomAttr.html&quot;&gt;&lt;tt&gt;QDomAttr&lt;/tt&gt;&lt;/a&gt;. If the node is not an attribute, the returned object will be null&lt;/tt&gt;.&lt;/p&gt;

@see &lt;a href=&quot;QDomNode.html#isAttr()&quot;&gt;&lt;tt&gt;isAttr&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final com.trolltech.qt.xml.QDomCDATASection toCDATASection()" doc="/**
&lt;p&gt;Converts a &lt;a href=&quot;QDomNode.html#QDomNode(com.trolltech.qt.xml.QDomNode)&quot;&gt;&lt;tt&gt;QDomNode&lt;/tt&gt;&lt;/a&gt; into a &lt;a href=&quot;QDomCDATASection.html&quot;&gt;&lt;tt&gt;QDomCDATASection&lt;/tt&gt;&lt;/a&gt;. If the node is not a CDATA section, the returned object will be null&lt;/tt&gt;.&lt;/p&gt;

@see &lt;a href=&quot;QDomNode.html#isCDATASection()&quot;&gt;&lt;tt&gt;isCDATASection&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final com.trolltech.qt.xml.QDomCharacterData toCharacterData()" doc="/**
&lt;p&gt;Converts a &lt;a href=&quot;QDomNode.html#QDomNode(com.trolltech.qt.xml.QDomNode)&quot;&gt;&lt;tt&gt;QDomNode&lt;/tt&gt;&lt;/a&gt; into a &lt;a href=&quot;QDomCharacterData.html&quot;&gt;&lt;tt&gt;QDomCharacterData&lt;/tt&gt;&lt;/a&gt;. If the node is not a character data node the returned object will be null&lt;/tt&gt;.&lt;/p&gt;

@see &lt;a href=&quot;QDomNode.html#isCharacterData()&quot;&gt;&lt;tt&gt;isCharacterData&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final com.trolltech.qt.xml.QDomComment toComment()" doc="/**
&lt;p&gt;Converts a &lt;a href=&quot;QDomNode.html#QDomNode(com.trolltech.qt.xml.QDomNode)&quot;&gt;&lt;tt&gt;QDomNode&lt;/tt&gt;&lt;/a&gt; into a &lt;a href=&quot;QDomComment.html&quot;&gt;&lt;tt&gt;QDomComment&lt;/tt&gt;&lt;/a&gt;. If the node is not a comment the returned object will be null&lt;/tt&gt;.&lt;/p&gt;

@see &lt;a href=&quot;QDomNode.html#isComment()&quot;&gt;&lt;tt&gt;isComment&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final com.trolltech.qt.xml.QDomDocument toDocument()" doc="/**
&lt;p&gt;Converts a &lt;a href=&quot;QDomNode.html#QDomNode(com.trolltech.qt.xml.QDomNode)&quot;&gt;&lt;tt&gt;QDomNode&lt;/tt&gt;&lt;/a&gt; into a &lt;a href=&quot;QDomDocument.html&quot;&gt;&lt;tt&gt;QDomDocument&lt;/tt&gt;&lt;/a&gt;. If the node is not a document the returned object will be null&lt;/tt&gt;.&lt;/p&gt;

@see &lt;a href=&quot;QDomNode.html#isDocument()&quot;&gt;&lt;tt&gt;isDocument&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final com.trolltech.qt.xml.QDomDocumentFragment toDocumentFragment()" doc="/**
&lt;p&gt;Converts a &lt;a href=&quot;QDomNode.html#QDomNode(com.trolltech.qt.xml.QDomNode)&quot;&gt;&lt;tt&gt;QDomNode&lt;/tt&gt;&lt;/a&gt; into a &lt;a href=&quot;QDomDocumentFragment.html&quot;&gt;&lt;tt&gt;QDomDocumentFragment&lt;/tt&gt;&lt;/a&gt;. If the node is not a document fragment the returned object will be null&lt;/tt&gt;.&lt;/p&gt;

@see &lt;a href=&quot;QDomNode.html#isDocumentFragment()&quot;&gt;&lt;tt&gt;isDocumentFragment&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final com.trolltech.qt.xml.QDomDocumentType toDocumentType()" doc="/**
&lt;p&gt;Converts a &lt;a href=&quot;QDomNode.html#QDomNode(com.trolltech.qt.xml.QDomNode)&quot;&gt;&lt;tt&gt;QDomNode&lt;/tt&gt;&lt;/a&gt; into a &lt;a href=&quot;QDomDocumentType.html&quot;&gt;&lt;tt&gt;QDomDocumentType&lt;/tt&gt;&lt;/a&gt;. If the node is not a document type the returned object will be null&lt;/tt&gt;.&lt;/p&gt;

@see &lt;a href=&quot;QDomNode.html#isDocumentType()&quot;&gt;&lt;tt&gt;isDocumentType&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final com.trolltech.qt.xml.QDomElement toElement()" doc="/**
&lt;p&gt;Converts a &lt;a href=&quot;QDomNode.html#QDomNode(com.trolltech.qt.xml.QDomNode)&quot;&gt;&lt;tt&gt;QDomNode&lt;/tt&gt;&lt;/a&gt; into a &lt;a href=&quot;QDomElement.html&quot;&gt;&lt;tt&gt;QDomElement&lt;/tt&gt;&lt;/a&gt;. If the node is not an element the returned object will be null&lt;/tt&gt;.&lt;/p&gt;

@see &lt;a href=&quot;QDomNode.html#isElement()&quot;&gt;&lt;tt&gt;isElement&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final com.trolltech.qt.xml.QDomEntity toEntity()" doc="/**
&lt;p&gt;Converts a &lt;a href=&quot;QDomNode.html#QDomNode(com.trolltech.qt.xml.QDomNode)&quot;&gt;&lt;tt&gt;QDomNode&lt;/tt&gt;&lt;/a&gt; into a &lt;a href=&quot;QDomEntity.html&quot;&gt;&lt;tt&gt;QDomEntity&lt;/tt&gt;&lt;/a&gt;. If the node is not an entity the returned object will be null&lt;/tt&gt;.&lt;/p&gt;

@see &lt;a href=&quot;QDomNode.html#isEntity()&quot;&gt;&lt;tt&gt;isEntity&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final com.trolltech.qt.xml.QDomEntityReference toEntityReference()" doc="/**
&lt;p&gt;Converts a &lt;a href=&quot;QDomNode.html#QDomNode(com.trolltech.qt.xml.QDomNode)&quot;&gt;&lt;tt&gt;QDomNode&lt;/tt&gt;&lt;/a&gt; into a &lt;a href=&quot;QDomEntityReference.html&quot;&gt;&lt;tt&gt;QDomEntityReference&lt;/tt&gt;&lt;/a&gt;. If the node is not an entity reference, the returned object will be null&lt;/tt&gt;.&lt;/p&gt;

@see &lt;a href=&quot;QDomNode.html#isEntityReference()&quot;&gt;&lt;tt&gt;isEntityReference&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final com.trolltech.qt.xml.QDomNotation toNotation()" doc="/**
&lt;p&gt;Converts a &lt;a href=&quot;QDomNode.html#QDomNode(com.trolltech.qt.xml.QDomNode)&quot;&gt;&lt;tt&gt;QDomNode&lt;/tt&gt;&lt;/a&gt; into a &lt;a href=&quot;QDomNotation.html&quot;&gt;&lt;tt&gt;QDomNotation&lt;/tt&gt;&lt;/a&gt;. If the node is not a notation the returned object will be null&lt;/tt&gt;.&lt;/p&gt;

@see &lt;a href=&quot;QDomNode.html#isNotation()&quot;&gt;&lt;tt&gt;isNotation&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final com.trolltech.qt.xml.QDomProcessingInstruction toProcessingInstruction()" doc="/**
&lt;p&gt;Converts a &lt;a href=&quot;QDomNode.html#QDomNode(com.trolltech.qt.xml.QDomNode)&quot;&gt;&lt;tt&gt;QDomNode&lt;/tt&gt;&lt;/a&gt; into a &lt;a href=&quot;QDomProcessingInstruction.html&quot;&gt;&lt;tt&gt;QDomProcessingInstruction&lt;/tt&gt;&lt;/a&gt;. If the node is not a processing instruction the returned object will be null&lt;/tt&gt;.&lt;/p&gt;

@see &lt;a href=&quot;QDomNode.html#isProcessingInstruction()&quot;&gt;&lt;tt&gt;isProcessingInstruction&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final com.trolltech.qt.xml.QDomText toText()" doc="/**
&lt;p&gt;Converts a &lt;a href=&quot;QDomNode.html#QDomNode(com.trolltech.qt.xml.QDomNode)&quot;&gt;&lt;tt&gt;QDomNode&lt;/tt&gt;&lt;/a&gt; into a &lt;a href=&quot;QDomText.html&quot;&gt;&lt;tt&gt;QDomText&lt;/tt&gt;&lt;/a&gt;. If the node is not a text, the returned object will be null&lt;/tt&gt;.&lt;/p&gt;

@see &lt;a href=&quot;QDomNode.html#isText()&quot;&gt;&lt;tt&gt;isText&lt;/tt&gt;&lt;/a&gt; */"/>
    <enum name="NodeType" doc="/**
&lt;p&gt;This enum defines the type of the node:&lt;/p&gt;
&lt;p&gt;&lt;table border=&quot;1&quot; cellpadding=&quot;2&quot; cellspacing=&quot;1&quot; width=&quot;100%&quot;&gt;
&lt;tr&gt;&lt;th width=&quot;25%&quot;&gt;Constant&lt;/th&gt;&lt;th width=&quot;15%&quot;&gt;Value&lt;/th&gt;&lt;th width=&quot;60%&quot;&gt;Description&lt;/th&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td valign=&quot;top&quot;&gt;&lt;tt&gt;ElementNode&lt;/tt&gt;&lt;/td&gt;&lt;td align=&quot;center&quot; valign=&quot;top&quot;&gt;&lt;tt&gt;1&lt;/tt&gt;&lt;/td&gt;&lt;td valign=&quot;top&quot;&gt;&amp;nbsp;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td valign=&quot;top&quot;&gt;&lt;tt&gt;AttributeNode&lt;/tt&gt;&lt;/td&gt;&lt;td align=&quot;center&quot; valign=&quot;top&quot;&gt;&lt;tt&gt;2&lt;/tt&gt;&lt;/td&gt;&lt;td valign=&quot;top&quot;&gt;&amp;nbsp;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td valign=&quot;top&quot;&gt;&lt;tt&gt;TextNode&lt;/tt&gt;&lt;/td&gt;&lt;td align=&quot;center&quot; valign=&quot;top&quot;&gt;&lt;tt&gt;3&lt;/tt&gt;&lt;/td&gt;&lt;td valign=&quot;top&quot;&gt;&amp;nbsp;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td valign=&quot;top&quot;&gt;&lt;tt&gt;CDATASectionNode&lt;/tt&gt;&lt;/td&gt;&lt;td align=&quot;center&quot; valign=&quot;top&quot;&gt;&lt;tt&gt;4&lt;/tt&gt;&lt;/td&gt;&lt;td valign=&quot;top&quot;&gt;&amp;nbsp;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td valign=&quot;top&quot;&gt;&lt;tt&gt;EntityReferenceNode&lt;/tt&gt;&lt;/td&gt;&lt;td align=&quot;center&quot; valign=&quot;top&quot;&gt;&lt;tt&gt;5&lt;/tt&gt;&lt;/td&gt;&lt;td valign=&quot;top&quot;&gt;&amp;nbsp;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td valign=&quot;top&quot;&gt;&lt;tt&gt;EntityNode&lt;/tt&gt;&lt;/td&gt;&lt;td align=&quot;center&quot; valign=&quot;top&quot;&gt;&lt;tt&gt;6&lt;/tt&gt;&lt;/td&gt;&lt;td valign=&quot;top&quot;&gt;&amp;nbsp;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td valign=&quot;top&quot;&gt;&lt;tt&gt;ProcessingInstructionNode&lt;/tt&gt;&lt;/td&gt;&lt;td align=&quot;center&quot; valign=&quot;top&quot;&gt;&lt;tt&gt;7&lt;/tt&gt;&lt;/td&gt;&lt;td valign=&quot;top&quot;&gt;&amp;nbsp;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td valign=&quot;top&quot;&gt;&lt;tt&gt;CommentNode&lt;/tt&gt;&lt;/td&gt;&lt;td align=&quot;center&quot; valign=&quot;top&quot;&gt;&lt;tt&gt;8&lt;/tt&gt;&lt;/td&gt;&lt;td valign=&quot;top&quot;&gt;&amp;nbsp;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td valign=&quot;top&quot;&gt;&lt;tt&gt;DocumentNode&lt;/tt&gt;&lt;/td&gt;&lt;td align=&quot;center&quot; valign=&quot;top&quot;&gt;&lt;tt&gt;9&lt;/tt&gt;&lt;/td&gt;&lt;td valign=&quot;top&quot;&gt;&amp;nbsp;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td valign=&quot;top&quot;&gt;&lt;tt&gt;DocumentTypeNode&lt;/tt&gt;&lt;/td&gt;&lt;td align=&quot;center&quot; valign=&quot;top&quot;&gt;&lt;tt&gt;10&lt;/tt&gt;&lt;/td&gt;&lt;td valign=&quot;top&quot;&gt;&amp;nbsp;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td valign=&quot;top&quot;&gt;&lt;tt&gt;DocumentFragmentNode&lt;/tt&gt;&lt;/td&gt;&lt;td align=&quot;center&quot; valign=&quot;top&quot;&gt;&lt;tt&gt;11&lt;/tt&gt;&lt;/td&gt;&lt;td valign=&quot;top&quot;&gt;&amp;nbsp;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td valign=&quot;top&quot;&gt;&lt;tt&gt;NotationNode&lt;/tt&gt;&lt;/td&gt;&lt;td align=&quot;center&quot; valign=&quot;top&quot;&gt;&lt;tt&gt;12&lt;/tt&gt;&lt;/td&gt;&lt;td valign=&quot;top&quot;&gt;&amp;nbsp;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td valign=&quot;top&quot;&gt;&lt;tt&gt;BaseNode&lt;/tt&gt;&lt;/td&gt;&lt;td align=&quot;center&quot; valign=&quot;top&quot;&gt;&lt;tt&gt;21&lt;/tt&gt;&lt;/td&gt;&lt;td valign=&quot;top&quot;&gt;A &lt;a href=&quot;QDomNode.html#QDomNode(com.trolltech.qt.xml.QDomNode)&quot;&gt;&lt;tt&gt;QDomNode&lt;/tt&gt;&lt;/a&gt; object, i.e&amp;#x2e; not a &lt;a href=&quot;QDomNode.html#QDomNode(com.trolltech.qt.xml.QDomNode)&quot;&gt;&lt;tt&gt;QDomNode&lt;/tt&gt;&lt;/a&gt; subclass.&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td valign=&quot;top&quot;&gt;&lt;tt&gt;CharacterDataNode&lt;/tt&gt;&lt;/td&gt;&lt;td align=&quot;center&quot; valign=&quot;top&quot;&gt;&lt;tt&gt;22&lt;/tt&gt;&lt;/td&gt;&lt;td valign=&quot;top&quot;&gt;&amp;nbsp;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;&lt;/p&gt;
 */">
        <enum-value name="ElementNode" doc="/**
Internal. */"/>
        <enum-value name="AttributeNode" doc="/**
Internal. */"/>
        <enum-value name="TextNode" doc="/**
Internal. */"/>
        <enum-value name="CDATASectionNode" doc="/**
Internal. */"/>
        <enum-value name="EntityReferenceNode" doc="/**
Internal. */"/>
        <enum-value name="EntityNode" doc="/**
Internal. */"/>
        <enum-value name="ProcessingInstructionNode" doc="/**
Internal. */"/>
        <enum-value name="CommentNode" doc="/**
Internal. */"/>
        <enum-value name="DocumentNode" doc="/**
Internal. */"/>
        <enum-value name="DocumentTypeNode" doc="/**
Internal. */"/>
        <enum-value name="DocumentFragmentNode" doc="/**
Internal. */"/>
        <enum-value name="NotationNode" doc="/**
Internal. */"/>
        <enum-value name="BaseNode" doc="/**
&lt;p&gt;A &lt;a href=&quot;QDomNode.html#QDomNode(com.trolltech.qt.xml.QDomNode)&quot;&gt;&lt;tt&gt;QDomNode&lt;/tt&gt;&lt;/a&gt; object, i.e&amp;#x2e; not a &lt;a href=&quot;QDomNode.html#QDomNode(com.trolltech.qt.xml.QDomNode)&quot;&gt;&lt;tt&gt;QDomNode&lt;/tt&gt;&lt;/a&gt; subclass.&lt;/p&gt;
 */"/>
        <enum-value name="CharacterDataNode" doc="/**
Internal. */"/>
</enum>
    <enum name="EncodingPolicy" doc="/**
&lt;p&gt;This enum specifies how QDomNode::save() determines what encoding to use when serializing.&lt;/p&gt;
&lt;p&gt;See also the overload of the &lt;a href=&quot;QDomNode.html#save(com.trolltech.qt.core.QTextStream, int)&quot;&gt;&lt;tt&gt;save&lt;/tt&gt;&lt;/a&gt; function that takes an &lt;a href=&quot;QDomNode.html#EncodingPolicy-enum&quot;&gt;&lt;tt&gt;EncodingPolicy&lt;/tt&gt;&lt;/a&gt;.&lt;/p&gt;
 */">
        <enum-value name="EncodingFromDocument" doc="/**
&lt;p&gt;The encoding is fetched from the document.&lt;/p&gt;
 */"/>
        <enum-value name="EncodingFromTextStream" doc="/**
&lt;p&gt;The encoding is fetched from the &lt;a href=&quot;%2E%2E/core/QTextStream.html&quot;&gt;&lt;tt&gt;QTextStream&lt;/tt&gt;&lt;/a&gt;.&lt;/p&gt;
 */"/>
</enum>
</class>
