<!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:38 CEST 2007 --> <TITLE> QDomNode </TITLE> <META NAME="keywords" CONTENT="com.trolltech.qt.xml.QDomNode class"> <LINK REL ="stylesheet" TYPE="text/css" HREF="../../../../stylesheet.css" TITLE="Style"> <SCRIPT type="text/javascript"> function windowTitle() { parent.document.title="QDomNode"; } </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> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD> <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD> </TR> </TABLE> </TD> <TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM> </EM> </TD> </TR> <TR> <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> <A HREF="../../../../com/trolltech/qt/xml/QDomNamedNodeMap.html" title="class in com.trolltech.qt.xml"><B>PREV CLASS</B></A> <A HREF="../../../../com/trolltech/qt/xml/QDomNode.EncodingPolicy.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/QDomNode.html" target="_top"><B>FRAMES</B></A> <A HREF="QDomNode.html" target="_top"><B>NO FRAMES</B></A> <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: <A HREF="#nested_class_summary">NESTED</A> | FIELD | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD> <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> DETAIL: FIELD | <A HREF="#constructor_detail">CONSTR</A> | <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 QDomNode</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.QDomNode</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> <DL> <DT><B>Direct Known Subclasses:</B> <DD><A HREF="../../../../com/trolltech/qt/xml/QDomAttr.html" title="class in com.trolltech.qt.xml">QDomAttr</A>, <A HREF="../../../../com/trolltech/qt/xml/QDomCharacterData.html" title="class in com.trolltech.qt.xml">QDomCharacterData</A>, <A HREF="../../../../com/trolltech/qt/xml/QDomDocument.html" title="class in com.trolltech.qt.xml">QDomDocument</A>, <A HREF="../../../../com/trolltech/qt/xml/QDomDocumentFragment.html" title="class in com.trolltech.qt.xml">QDomDocumentFragment</A>, <A HREF="../../../../com/trolltech/qt/xml/QDomDocumentType.html" title="class in com.trolltech.qt.xml">QDomDocumentType</A>, <A HREF="../../../../com/trolltech/qt/xml/QDomElement.html" title="class in com.trolltech.qt.xml">QDomElement</A>, <A HREF="../../../../com/trolltech/qt/xml/QDomEntity.html" title="class in com.trolltech.qt.xml">QDomEntity</A>, <A HREF="../../../../com/trolltech/qt/xml/QDomEntityReference.html" title="class in com.trolltech.qt.xml">QDomEntityReference</A>, <A HREF="../../../../com/trolltech/qt/xml/QDomNotation.html" title="class in com.trolltech.qt.xml">QDomNotation</A>, <A HREF="../../../../com/trolltech/qt/xml/QDomProcessingInstruction.html" title="class in com.trolltech.qt.xml">QDomProcessingInstruction</A></DD> </DL> <HR> <DL> <DT><PRE>public class <B>QDomNode</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="QDomNode.html#QDomNode(com.trolltech.qt.xml.QDomNode)"><tt>QDomNode</tt></a> class is the base class for all the nodes in a DOM tree.</p> <p>Many functions in the DOM return a <a href="QDomNode.html#QDomNode(com.trolltech.qt.xml.QDomNode)"><tt>QDomNode</tt></a>.</p> <p>You can find out the type of a node using <a href="QDomNode.html#isAttr()"><tt>isAttr</tt></a>, <a href="QDomNode.html#isCDATASection()"><tt>isCDATASection</tt></a>, <a href="QDomNode.html#isDocumentFragment()"><tt>isDocumentFragment</tt></a>, <a href="QDomNode.html#isDocument()"><tt>isDocument</tt></a>, <a href="QDomNode.html#isDocumentType()"><tt>isDocumentType</tt></a>, <a href="QDomNode.html#isElement()"><tt>isElement</tt></a>, <a href="QDomNode.html#isEntityReference()"><tt>isEntityReference</tt></a>, <a href="QDomNode.html#isText()"><tt>isText</tt></a>, <a href="QDomNode.html#isEntity()"><tt>isEntity</tt></a>, <a href="QDomNode.html#isNotation()"><tt>isNotation</tt></a>, <a href="QDomNode.html#isProcessingInstruction()"><tt>isProcessingInstruction</tt></a>, <a href="QDomNode.html#isCharacterData()"><tt>isCharacterData</tt></a> and <a href="QDomNode.html#isComment()"><tt>isComment</tt></a>.</p> <p>A <a href="QDomNode.html#QDomNode(com.trolltech.qt.xml.QDomNode)"><tt>QDomNode</tt></a> can be converted into one of its subclasses using <a href="QDomNode.html#toAttr()"><tt>toAttr</tt></a>, <a href="QDomNode.html#toCDATASection()"><tt>toCDATASection</tt></a>, <a href="QDomNode.html#toDocumentFragment()"><tt>toDocumentFragment</tt></a>, <a href="QDomNode.html#toDocument()"><tt>toDocument</tt></a>, <a href="QDomNode.html#toDocumentType()"><tt>toDocumentType</tt></a>, <a href="QDomNode.html#toElement()"><tt>toElement</tt></a>, <a href="QDomNode.html#toEntityReference()"><tt>toEntityReference</tt></a>, <a href="QDomNode.html#toText()"><tt>toText</tt></a>, <a href="QDomNode.html#toEntity()"><tt>toEntity</tt></a>, <a href="QDomNode.html#toNotation()"><tt>toNotation</tt></a>, <a href="QDomNode.html#toProcessingInstruction()"><tt>toProcessingInstruction</tt></a>, <a href="QDomNode.html#toCharacterData()"><tt>toCharacterData</tt></a> or <a href="QDomNode.html#toComment()"><tt>toComment</tt></a>. You can convert a node to a null node with <a href="QDomNode.html#clear()"><tt>clear</tt></a>.</p> <p>Copies of the <a href="QDomNode.html#QDomNode(com.trolltech.qt.xml.QDomNode)"><tt>QDomNode</tt></a> 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 <a href="QDomNode.html#QDomNode(com.trolltech.qt.xml.QDomNode)"><tt>QDomNode</tt></a>, e.g. <a href="QDomNode.html#firstChild()"><tt>firstChild</tt></a>. You can make an independent (deep) copy of the node with <a href="QDomNode.html#cloneNode(boolean)"><tt>cloneNode</tt></a>.</p> <p>A <a href="QDomNode.html#QDomNode(com.trolltech.qt.xml.QDomNode)"><tt>QDomNode</tt></a> 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 <a href="QDomNode.html#QDomNode(com.trolltech.qt.xml.QDomNode)"><tt>QDomNode</tt></a> is null by calling <a href="QDomNode.html#isNull()"><tt>isNull</tt></a>. The empty constructor of a <a href="QDomNode.html#QDomNode(com.trolltech.qt.xml.QDomNode)"><tt>QDomNode</tt></a> (or any of the derived classes) creates a null node.</p> <p>Nodes are inserted with <a href="QDomNode.html#insertBefore(com.trolltech.qt.xml.QDomNode, com.trolltech.qt.xml.QDomNode)"><tt>insertBefore</tt></a>, <a href="QDomNode.html#insertAfter(com.trolltech.qt.xml.QDomNode, com.trolltech.qt.xml.QDomNode)"><tt>insertAfter</tt></a> or <a href="QDomNode.html#appendChild(com.trolltech.qt.xml.QDomNode)"><tt>appendChild</tt></a>. You can replace one node with another using <a href="QDomNode.html#replaceChild(com.trolltech.qt.xml.QDomNode, com.trolltech.qt.xml.QDomNode)"><tt>replaceChild</tt></a> and remove a node with <a href="QDomNode.html#removeChild(com.trolltech.qt.xml.QDomNode)"><tt>removeChild</tt></a>.</p> <p>To traverse nodes use <a href="QDomNode.html#firstChild()"><tt>firstChild</tt></a> to get a node's first child (if any), and <a href="QDomNode.html#nextSibling()"><tt>nextSibling</tt></a> to traverse. <a href="QDomNode.html#QDomNode(com.trolltech.qt.xml.QDomNode)"><tt>QDomNode</tt></a> also provides <a href="QDomNode.html#lastChild()"><tt>lastChild</tt></a>, <a href="QDomNode.html#previousSibling()"><tt>previousSibling</tt></a> and <a href="QDomNode.html#parentNode()"><tt>parentNode</tt></a>. To find the first child node with a particular node name use <a href="QDomNode.html#namedItem(java.lang.String)"><tt>namedItem</tt></a>.</p> <p>To find out if a node has children use <a href="QDomNode.html#hasChildNodes()"><tt>hasChildNodes</tt></a> and to get a list of all of a node's children use <a href="QDomNode.html#childNodes()"><tt>childNodes</tt></a>.</p> <p>The node's name and value (the meaning of which varies depending on its type) is returned by <a href="QDomNode.html#nodeName()"><tt>nodeName</tt></a> and <a href="QDomNode.html#nodeValue()"><tt>nodeValue</tt></a> respectively. The node's type is returned by <a href="QDomNode.html#nodeType()"><tt>nodeType</tt></a>. The node's value can be set with <a href="QDomNode.html#setNodeValue(java.lang.String)"><tt>setNodeValue</tt></a>.</p> <p>The document to which the node belongs is returned by <a href="QDomNode.html#ownerDocument()"><tt>ownerDocument</tt></a>.</p> <p>Adjacent <a href="QDomText.html"><tt>QDomText</tt></a> nodes can be merged into a single node with <a href="QDomNode.html#normalize()"><tt>normalize</tt></a>.</p> <p><a href="QDomElement.html"><tt>QDomElement</tt></a> nodes have attributes which can be retrieved with attributes().</p> <p><a href="QDomElement.html"><tt>QDomElement</tt></a> and <a href="QDomAttr.html"><tt>QDomAttr</tt></a> nodes can have namespaces which can be retrieved with <a href="QDomNode.html#namespaceURI()"><tt>namespaceURI</tt></a>. Their local name is retrieved with <a href="QDomNode.html#localName()"><tt>localName</tt></a>, and their prefix with <a href="QDomNode.html#prefix()"><tt>prefix</tt></a>. The prefix can be set with <a href="QDomNode.html#setPrefix(java.lang.String)"><tt>setPrefix</tt></a>.</p> <p>You can write the XML representation of the node to a text stream with <a href="QDomNode.html#save(com.trolltech.qt.core.QTextStream, int)"><tt>save</tt></a>.</p> <p>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.</p> <pre> QDomDocument d; d.setContent(someXML); QDomNode n = d.firstChild(); while (!n.isNull()) { if (n.isElement()) { QDomElement e = n.toElement(); cout << "Element name: " << e.tagName() << endl; break; } n = n.nextSibling(); }</pre> <p>For further information about the Document Object Model see <a href="http://www.w3.org/TR/REC-DOM-Level-1/">Level 1</tt></a> and <a href="http://www.w3.org/TR/DOM-Level-2-Core/">Level 2 Core</tt></a>. For a more general introduction of the DOM implementation see the <a href="QDomDocument.html"><tt>QDomDocument</tt></a> documentation.</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 class</CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../com/trolltech/qt/xml/QDomNode.EncodingPolicy.html" title="enum in com.trolltech.qt.xml">QDomNode.EncodingPolicy</A></B></CODE> <BR> This enum specifies how QDomNode.:save() determines what encoding to use when serializing.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE>static class</CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../com/trolltech/qt/xml/QDomNode.NodeType.html" title="enum in com.trolltech.qt.xml">QDomNode.NodeType</A></B></CODE> <BR> This enum defines the type of the node.</TD> </TR> </TABLE> <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><<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal1.html" title="type parameter in QSignalEmitter.Signal1">A</A>>, <A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal2.html" title="class in com.trolltech.qt">QSignalEmitter.Signal2</A><<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>>, <A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal3.html" title="class in com.trolltech.qt">QSignalEmitter.Signal3</A><<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>>, <A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal4.html" title="class in com.trolltech.qt">QSignalEmitter.Signal4</A><<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>>, <A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal5.html" title="class in com.trolltech.qt">QSignalEmitter.Signal5</A><<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>>, <A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal6.html" title="class in com.trolltech.qt">QSignalEmitter.Signal6</A><<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>>, <A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal7.html" title="class in com.trolltech.qt">QSignalEmitter.Signal7</A><<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>>, <A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal8.html" title="class in com.trolltech.qt">QSignalEmitter.Signal8</A><<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>>, <A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal9.html" title="class in com.trolltech.qt">QSignalEmitter.Signal9</A><<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>></CODE></TD> </TR> </TABLE> <!-- ======== 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/QDomNode.html#QDomNode()">QDomNode</A></B>()</CODE> <BR> Constructs a <a href="QDomNode.html#isNull()">null</tt></a> node.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD><CODE><B><A HREF="../../../../com/trolltech/qt/xml/QDomNode.html#QDomNode(com.trolltech.qt.xml.QDomNode)">QDomNode</A></B>(<A HREF="../../../../com/trolltech/qt/xml/QDomNode.html" title="class in com.trolltech.qt.xml">QDomNode</A> arg__1)</CODE> <BR> Constructs a copy of <tt>arg__1</tt>.</TD> </TR> </TABLE> <!-- ========== 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> <A HREF="../../../../com/trolltech/qt/xml/QDomNode.html" title="class in com.trolltech.qt.xml">QDomNode</A></CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../com/trolltech/qt/xml/QDomNode.html#appendChild(com.trolltech.qt.xml.QDomNode)">appendChild</A></B>(<A HREF="../../../../com/trolltech/qt/xml/QDomNode.html" title="class in com.trolltech.qt.xml">QDomNode</A> newChild)</CODE> <BR> Appends <tt>newChild</tt> as the node's last child.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> <A HREF="../../../../com/trolltech/qt/xml/QDomNodeList.html" title="class in com.trolltech.qt.xml">QDomNodeList</A></CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../com/trolltech/qt/xml/QDomNode.html#childNodes()">childNodes</A></B>()</CODE> <BR> Returns a list of all direct child nodes.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> void</CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../com/trolltech/qt/xml/QDomNode.html#clear()">clear</A></B>()</CODE> <BR> Converts the node into a null node; if it was not a null node before, its type and contents are deleted.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> <A HREF="../../../../com/trolltech/qt/xml/QDomNode.html" title="class in com.trolltech.qt.xml">QDomNode</A></CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../com/trolltech/qt/xml/QDomNode.html#cloneNode()">cloneNode</A></B>()</CODE> <BR> Equivalent to <a href="QDomNode.html#cloneNode(boolean)"><tt>cloneNode</tt></a>(true).</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> <A HREF="../../../../com/trolltech/qt/xml/QDomNode.html" title="class in com.trolltech.qt.xml">QDomNode</A></CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../com/trolltech/qt/xml/QDomNode.html#cloneNode(boolean)">cloneNode</A></B>(boolean deep)</CODE> <BR> Creates a deep (not shallow) copy of the <a href="QDomNode.html#QDomNode(com.trolltech.qt.xml.QDomNode)"><tt>QDomNode</tt></a>.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> int</CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../com/trolltech/qt/xml/QDomNode.html#columnNumber()">columnNumber</A></B>()</CODE> <BR> For nodes created by QDomDocument::setContent(), this function returns the column number in the XML document where the node was parsed.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> boolean</CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../com/trolltech/qt/xml/QDomNode.html#equals(java.lang.Object)">equals</A></B>(java.lang.Object other)</CODE> <BR> </TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> <A HREF="../../../../com/trolltech/qt/xml/QDomNode.html" title="class in com.trolltech.qt.xml">QDomNode</A></CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../com/trolltech/qt/xml/QDomNode.html#firstChild()">firstChild</A></B>()</CODE> <BR> Returns the first child of the node.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> <A HREF="../../../../com/trolltech/qt/xml/QDomElement.html" title="class in com.trolltech.qt.xml">QDomElement</A></CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../com/trolltech/qt/xml/QDomNode.html#firstChildElement()">firstChildElement</A></B>()</CODE> <BR> Equivalent to <a href="QDomNode.html#firstChildElement(java.lang.String)"><tt>firstChildElement</tt></a>(QString()).</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> <A HREF="../../../../com/trolltech/qt/xml/QDomElement.html" title="class in com.trolltech.qt.xml">QDomElement</A></CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../com/trolltech/qt/xml/QDomNode.html#firstChildElement(java.lang.String)">firstChildElement</A></B>(java.lang.String tagName)</CODE> <BR> Returns the first child element with tag name <tt>tagName</tt> if tagName is non-empty; otherwise returns the first child element.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE>static <A HREF="../../../../com/trolltech/qt/xml/QDomNode.html" title="class in com.trolltech.qt.xml">QDomNode</A></CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../com/trolltech/qt/xml/QDomNode.html#fromNativePointer(com.trolltech.qt.QNativePointer)">fromNativePointer</A></B>(<A HREF="../../../../com/trolltech/qt/QNativePointer.html" title="class in com.trolltech.qt">QNativePointer</A> nativePointer)</CODE> <BR> This function returns the QDomNode instance pointed to by nativePointer</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> boolean</CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../com/trolltech/qt/xml/QDomNode.html#hasAttributes()">hasAttributes</A></B>()</CODE> <BR> Returns true if the node has attributes; otherwise returns false.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> boolean</CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../com/trolltech/qt/xml/QDomNode.html#hasChildNodes()">hasChildNodes</A></B>()</CODE> <BR> Returns true if the node has one or more children; otherwise returns false.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> <A HREF="../../../../com/trolltech/qt/xml/QDomNode.html" title="class in com.trolltech.qt.xml">QDomNode</A></CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../com/trolltech/qt/xml/QDomNode.html#insertAfter(com.trolltech.qt.xml.QDomNode, com.trolltech.qt.xml.QDomNode)">insertAfter</A></B>(<A HREF="../../../../com/trolltech/qt/xml/QDomNode.html" title="class in com.trolltech.qt.xml">QDomNode</A> newChild, <A HREF="../../../../com/trolltech/qt/xml/QDomNode.html" title="class in com.trolltech.qt.xml">QDomNode</A> refChild)</CODE> <BR> Inserts the node <tt>newChild</tt> after the child node <tt>refChild</tt>.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> <A HREF="../../../../com/trolltech/qt/xml/QDomNode.html" title="class in com.trolltech.qt.xml">QDomNode</A></CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../com/trolltech/qt/xml/QDomNode.html#insertBefore(com.trolltech.qt.xml.QDomNode, com.trolltech.qt.xml.QDomNode)">insertBefore</A></B>(<A HREF="../../../../com/trolltech/qt/xml/QDomNode.html" title="class in com.trolltech.qt.xml">QDomNode</A> newChild, <A HREF="../../../../com/trolltech/qt/xml/QDomNode.html" title="class in com.trolltech.qt.xml">QDomNode</A> refChild)</CODE> <BR> Inserts the node <tt>newChild</tt> before the child node <tt>refChild</tt>.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> boolean</CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../com/trolltech/qt/xml/QDomNode.html#isAttr()">isAttr</A></B>()</CODE> <BR> Returns true if the node is an attribute; otherwise returns false.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> boolean</CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../com/trolltech/qt/xml/QDomNode.html#isCDATASection()">isCDATASection</A></B>()</CODE> <BR> Returns true if the node is a CDATA section; otherwise returns false.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> boolean</CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../com/trolltech/qt/xml/QDomNode.html#isCharacterData()">isCharacterData</A></B>()</CODE> <BR> Returns true if the node is a character data node; otherwise returns false.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> boolean</CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../com/trolltech/qt/xml/QDomNode.html#isComment()">isComment</A></B>()</CODE> <BR> Returns true if the node is a comment; otherwise returns false.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> boolean</CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../com/trolltech/qt/xml/QDomNode.html#isDocument()">isDocument</A></B>()</CODE> <BR> Returns true if the node is a document; otherwise returns false.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> boolean</CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../com/trolltech/qt/xml/QDomNode.html#isDocumentFragment()">isDocumentFragment</A></B>()</CODE> <BR> Returns true if the node is a document fragment; otherwise returns false.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> boolean</CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../com/trolltech/qt/xml/QDomNode.html#isDocumentType()">isDocumentType</A></B>()</CODE> <BR> Returns true if the node is a document type; otherwise returns false.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> boolean</CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../com/trolltech/qt/xml/QDomNode.html#isElement()">isElement</A></B>()</CODE> <BR> Returns true if the node is an element; otherwise returns false.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> boolean</CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../com/trolltech/qt/xml/QDomNode.html#isEntity()">isEntity</A></B>()</CODE> <BR> Returns true if the node is an entity; otherwise returns false.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> boolean</CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../com/trolltech/qt/xml/QDomNode.html#isEntityReference()">isEntityReference</A></B>()</CODE> <BR> Returns true if the node is an entity reference; otherwise returns false.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> boolean</CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../com/trolltech/qt/xml/QDomNode.html#isNotation()">isNotation</A></B>()</CODE> <BR> Returns true if the node is a notation; otherwise returns false.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> boolean</CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../com/trolltech/qt/xml/QDomNode.html#isNull()">isNull</A></B>()</CODE> <BR> Returns true if this node is null (i.e. if it has no type or contents); otherwise returns false.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> boolean</CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../com/trolltech/qt/xml/QDomNode.html#isProcessingInstruction()">isProcessingInstruction</A></B>()</CODE> <BR> Returns true if the node is a processing instruction; otherwise returns false.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> boolean</CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../com/trolltech/qt/xml/QDomNode.html#isSupported(java.lang.String, java.lang.String)">isSupported</A></B>(java.lang.String feature, java.lang.String version)</CODE> <BR> Returns true if the DOM implementation implements the feature <tt>feature</tt> and this feature is supported by this node in the version <tt>version</tt>; otherwise returns false.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> boolean</CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../com/trolltech/qt/xml/QDomNode.html#isText()">isText</A></B>()</CODE> <BR> Returns true if the node is a text node; otherwise returns false.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> <A HREF="../../../../com/trolltech/qt/xml/QDomNode.html" title="class in com.trolltech.qt.xml">QDomNode</A></CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../com/trolltech/qt/xml/QDomNode.html#lastChild()">lastChild</A></B>()</CODE> <BR> Returns the last child of the node.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> <A HREF="../../../../com/trolltech/qt/xml/QDomElement.html" title="class in com.trolltech.qt.xml">QDomElement</A></CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../com/trolltech/qt/xml/QDomNode.html#lastChildElement()">lastChildElement</A></B>()</CODE> <BR> Equivalent to <a href="QDomNode.html#lastChildElement(java.lang.String)"><tt>lastChildElement</tt></a>(QString()).</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> <A HREF="../../../../com/trolltech/qt/xml/QDomElement.html" title="class in com.trolltech.qt.xml">QDomElement</A></CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../com/trolltech/qt/xml/QDomNode.html#lastChildElement(java.lang.String)">lastChildElement</A></B>(java.lang.String tagName)</CODE> <BR> Returns the last child element with tag name <tt>tagName</tt> if tagName is non-empty; otherwise returns the first child element.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> int</CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../com/trolltech/qt/xml/QDomNode.html#lineNumber()">lineNumber</A></B>()</CODE> <BR> For nodes created by QDomDocument::setContent(), this function returns the line number in the XML document where the node was parsed.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> java.lang.String</CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../com/trolltech/qt/xml/QDomNode.html#localName()">localName</A></B>()</CODE> <BR> If the node uses namespaces, this function returns the local name of the node; otherwise it returns an empty string.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> <A HREF="../../../../com/trolltech/qt/xml/QDomNode.html" title="class in com.trolltech.qt.xml">QDomNode</A></CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../com/trolltech/qt/xml/QDomNode.html#namedItem(java.lang.String)">namedItem</A></B>(java.lang.String name)</CODE> <BR> Returns the first direct child node for which <a href="QDomNode.html#nodeName()"><tt>nodeName</tt></a> equals <tt>name</tt>.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> java.lang.String</CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../com/trolltech/qt/xml/QDomNode.html#namespaceURI()">namespaceURI</A></B>()</CODE> <BR> Returns the namespace URI of this node or an empty string if the node has no namespace URI.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE>static <A HREF="../../../../com/trolltech/qt/QNativePointer.html" title="class in com.trolltech.qt">QNativePointer</A></CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../com/trolltech/qt/xml/QDomNode.html#nativePointerArray(com.trolltech.qt.xml.QDomNode[])">nativePointerArray</A></B>(<A HREF="../../../../com/trolltech/qt/xml/QDomNode.html" title="class in com.trolltech.qt.xml">QDomNode</A>[] array)</CODE> <BR> This function returns a QNativePointer that is pointing to the specified QDomNode array.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> <A HREF="../../../../com/trolltech/qt/xml/QDomNode.html" title="class in com.trolltech.qt.xml">QDomNode</A></CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../com/trolltech/qt/xml/QDomNode.html#nextSibling()">nextSibling</A></B>()</CODE> <BR> Returns the next sibling in the document tree.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> <A HREF="../../../../com/trolltech/qt/xml/QDomElement.html" title="class in com.trolltech.qt.xml">QDomElement</A></CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../com/trolltech/qt/xml/QDomNode.html#nextSiblingElement()">nextSiblingElement</A></B>()</CODE> <BR> Equivalent to <a href="QDomNode.html#nextSiblingElement(java.lang.String)"><tt>nextSiblingElement</tt></a>(QString()).</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> <A HREF="../../../../com/trolltech/qt/xml/QDomElement.html" title="class in com.trolltech.qt.xml">QDomElement</A></CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../com/trolltech/qt/xml/QDomNode.html#nextSiblingElement(java.lang.String)">nextSiblingElement</A></B>(java.lang.String taName)</CODE> <BR> Returns the next sibilng element with tag name <tt>taName</tt> if <tt>taName</tt> is non-empty; otherwise returns any next sibling element.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> java.lang.String</CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../com/trolltech/qt/xml/QDomNode.html#nodeName()">nodeName</A></B>()</CODE> <BR> Returns the name of the node.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> <A HREF="../../../../com/trolltech/qt/xml/QDomNode.NodeType.html" title="enum in com.trolltech.qt.xml">QDomNode.NodeType</A></CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../com/trolltech/qt/xml/QDomNode.html#nodeType()">nodeType</A></B>()</CODE> <BR> Returns the type of the node.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> java.lang.String</CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../com/trolltech/qt/xml/QDomNode.html#nodeValue()">nodeValue</A></B>()</CODE> <BR> Returns the value of the node.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> void</CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../com/trolltech/qt/xml/QDomNode.html#normalize()">normalize</A></B>()</CODE> <BR> Calling <a href="QDomNode.html#normalize()"><tt>normalize</tt></a> on an element converts all its children into a standard form.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> <A HREF="../../../../com/trolltech/qt/xml/QDomDocument.html" title="class in com.trolltech.qt.xml">QDomDocument</A></CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../com/trolltech/qt/xml/QDomNode.html#ownerDocument()">ownerDocument</A></B>()</CODE> <BR> Returns the document to which this node belongs.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> <A HREF="../../../../com/trolltech/qt/xml/QDomNode.html" title="class in com.trolltech.qt.xml">QDomNode</A></CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../com/trolltech/qt/xml/QDomNode.html#parentNode()">parentNode</A></B>()</CODE> <BR> Returns the parent node.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> java.lang.String</CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../com/trolltech/qt/xml/QDomNode.html#prefix()">prefix</A></B>()</CODE> <BR> Returns the namespace prefix of the node or an empty string if the node has no namespace prefix.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> <A HREF="../../../../com/trolltech/qt/xml/QDomNode.html" title="class in com.trolltech.qt.xml">QDomNode</A></CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../com/trolltech/qt/xml/QDomNode.html#previousSibling()">previousSibling</A></B>()</CODE> <BR> Returns the previous sibling in the document tree.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> <A HREF="../../../../com/trolltech/qt/xml/QDomElement.html" title="class in com.trolltech.qt.xml">QDomElement</A></CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../com/trolltech/qt/xml/QDomNode.html#previousSiblingElement()">previousSiblingElement</A></B>()</CODE> <BR> Equivalent to <a href="QDomNode.html#previousSiblingElement(java.lang.String)"><tt>previousSiblingElement</tt></a>(QString()).</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> <A HREF="../../../../com/trolltech/qt/xml/QDomElement.html" title="class in com.trolltech.qt.xml">QDomElement</A></CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../com/trolltech/qt/xml/QDomNode.html#previousSiblingElement(java.lang.String)">previousSiblingElement</A></B>(java.lang.String tagName)</CODE> <BR> Returns the previous sibilng element with tag name <tt>tagName</tt> if <tt>tagName</tt> is non-empty; otherwise returns any previous sibling element.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> <A HREF="../../../../com/trolltech/qt/xml/QDomNode.html" title="class in com.trolltech.qt.xml">QDomNode</A></CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../com/trolltech/qt/xml/QDomNode.html#removeChild(com.trolltech.qt.xml.QDomNode)">removeChild</A></B>(<A HREF="../../../../com/trolltech/qt/xml/QDomNode.html" title="class in com.trolltech.qt.xml">QDomNode</A> oldChild)</CODE> <BR> Removes <tt>oldChild</tt> from the list of children.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> <A HREF="../../../../com/trolltech/qt/xml/QDomNode.html" title="class in com.trolltech.qt.xml">QDomNode</A></CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../com/trolltech/qt/xml/QDomNode.html#replaceChild(com.trolltech.qt.xml.QDomNode, com.trolltech.qt.xml.QDomNode)">replaceChild</A></B>(<A HREF="../../../../com/trolltech/qt/xml/QDomNode.html" title="class in com.trolltech.qt.xml">QDomNode</A> newChild, <A HREF="../../../../com/trolltech/qt/xml/QDomNode.html" title="class in com.trolltech.qt.xml">QDomNode</A> oldChild)</CODE> <BR> Replaces <tt>oldChild</tt> with <tt>newChild</tt>.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> void</CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../com/trolltech/qt/xml/QDomNode.html#save(com.trolltech.qt.core.QTextStream, int)">save</A></B>(<A HREF="../../../../com/trolltech/qt/core/QTextStream.html" title="class in com.trolltech.qt.core">QTextStream</A> arg__1, int arg__2)</CODE> <BR> Writes the XML representation of the node and all its children to the stream <tt>arg__1</tt>.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> void</CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../com/trolltech/qt/xml/QDomNode.html#save(com.trolltech.qt.core.QTextStream, int, com.trolltech.qt.xml.QDomNode.EncodingPolicy)">save</A></B>(<A HREF="../../../../com/trolltech/qt/core/QTextStream.html" title="class in com.trolltech.qt.core">QTextStream</A> arg__1, int arg__2, <A HREF="../../../../com/trolltech/qt/xml/QDomNode.EncodingPolicy.html" title="enum in com.trolltech.qt.xml">QDomNode.EncodingPolicy</A> arg__3)</CODE> <BR> If <tt>arg__3</tt> is QDomNode::EncodingFromDocument, this function behaves as save(<a href="%2E%2E/core/QTextStream.html"><tt>QTextStream</tt></a> &str, int indent).</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> void</CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../com/trolltech/qt/xml/QDomNode.html#setNodeValue(java.lang.String)">setNodeValue</A></B>(java.lang.String arg__1)</CODE> <BR> Sets the node's value to <tt>arg__1</tt>.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> void</CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../com/trolltech/qt/xml/QDomNode.html#setPrefix(java.lang.String)">setPrefix</A></B>(java.lang.String pre)</CODE> <BR> If the node has a namespace prefix, this function changes the namespace prefix of the node to <tt>pre</tt>.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> <A HREF="../../../../com/trolltech/qt/xml/QDomAttr.html" title="class in com.trolltech.qt.xml">QDomAttr</A></CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../com/trolltech/qt/xml/QDomNode.html#toAttr()">toAttr</A></B>()</CODE> <BR> Converts a <a href="QDomNode.html#QDomNode(com.trolltech.qt.xml.QDomNode)"><tt>QDomNode</tt></a> into a <a href="QDomAttr.html"><tt>QDomAttr</tt></a>.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> <A HREF="../../../../com/trolltech/qt/xml/QDomCDATASection.html" title="class in com.trolltech.qt.xml">QDomCDATASection</A></CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../com/trolltech/qt/xml/QDomNode.html#toCDATASection()">toCDATASection</A></B>()</CODE> <BR> Converts a <a href="QDomNode.html#QDomNode(com.trolltech.qt.xml.QDomNode)"><tt>QDomNode</tt></a> into a <a href="QDomCDATASection.html"><tt>QDomCDATASection</tt></a>.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> <A HREF="../../../../com/trolltech/qt/xml/QDomCharacterData.html" title="class in com.trolltech.qt.xml">QDomCharacterData</A></CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../com/trolltech/qt/xml/QDomNode.html#toCharacterData()">toCharacterData</A></B>()</CODE> <BR> Converts a <a href="QDomNode.html#QDomNode(com.trolltech.qt.xml.QDomNode)"><tt>QDomNode</tt></a> into a <a href="QDomCharacterData.html"><tt>QDomCharacterData</tt></a>.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> <A HREF="../../../../com/trolltech/qt/xml/QDomComment.html" title="class in com.trolltech.qt.xml">QDomComment</A></CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../com/trolltech/qt/xml/QDomNode.html#toComment()">toComment</A></B>()</CODE> <BR> Converts a <a href="QDomNode.html#QDomNode(com.trolltech.qt.xml.QDomNode)"><tt>QDomNode</tt></a> into a <a href="QDomComment.html"><tt>QDomComment</tt></a>.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> <A HREF="../../../../com/trolltech/qt/xml/QDomDocument.html" title="class in com.trolltech.qt.xml">QDomDocument</A></CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../com/trolltech/qt/xml/QDomNode.html#toDocument()">toDocument</A></B>()</CODE> <BR> Converts a <a href="QDomNode.html#QDomNode(com.trolltech.qt.xml.QDomNode)"><tt>QDomNode</tt></a> into a <a href="QDomDocument.html"><tt>QDomDocument</tt></a>.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> <A HREF="../../../../com/trolltech/qt/xml/QDomDocumentFragment.html" title="class in com.trolltech.qt.xml">QDomDocumentFragment</A></CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../com/trolltech/qt/xml/QDomNode.html#toDocumentFragment()">toDocumentFragment</A></B>()</CODE> <BR> Converts a <a href="QDomNode.html#QDomNode(com.trolltech.qt.xml.QDomNode)"><tt>QDomNode</tt></a> into a <a href="QDomDocumentFragment.html"><tt>QDomDocumentFragment</tt></a>.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> <A HREF="../../../../com/trolltech/qt/xml/QDomDocumentType.html" title="class in com.trolltech.qt.xml">QDomDocumentType</A></CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../com/trolltech/qt/xml/QDomNode.html#toDocumentType()">toDocumentType</A></B>()</CODE> <BR> Converts a <a href="QDomNode.html#QDomNode(com.trolltech.qt.xml.QDomNode)"><tt>QDomNode</tt></a> into a <a href="QDomDocumentType.html"><tt>QDomDocumentType</tt></a>.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> <A HREF="../../../../com/trolltech/qt/xml/QDomElement.html" title="class in com.trolltech.qt.xml">QDomElement</A></CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../com/trolltech/qt/xml/QDomNode.html#toElement()">toElement</A></B>()</CODE> <BR> Converts a <a href="QDomNode.html#QDomNode(com.trolltech.qt.xml.QDomNode)"><tt>QDomNode</tt></a> into a <a href="QDomElement.html"><tt>QDomElement</tt></a>.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> <A HREF="../../../../com/trolltech/qt/xml/QDomEntity.html" title="class in com.trolltech.qt.xml">QDomEntity</A></CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../com/trolltech/qt/xml/QDomNode.html#toEntity()">toEntity</A></B>()</CODE> <BR> Converts a <a href="QDomNode.html#QDomNode(com.trolltech.qt.xml.QDomNode)"><tt>QDomNode</tt></a> into a <a href="QDomEntity.html"><tt>QDomEntity</tt></a>.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> <A HREF="../../../../com/trolltech/qt/xml/QDomEntityReference.html" title="class in com.trolltech.qt.xml">QDomEntityReference</A></CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../com/trolltech/qt/xml/QDomNode.html#toEntityReference()">toEntityReference</A></B>()</CODE> <BR> Converts a <a href="QDomNode.html#QDomNode(com.trolltech.qt.xml.QDomNode)"><tt>QDomNode</tt></a> into a <a href="QDomEntityReference.html"><tt>QDomEntityReference</tt></a>.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> <A HREF="../../../../com/trolltech/qt/xml/QDomNotation.html" title="class in com.trolltech.qt.xml">QDomNotation</A></CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../com/trolltech/qt/xml/QDomNode.html#toNotation()">toNotation</A></B>()</CODE> <BR> Converts a <a href="QDomNode.html#QDomNode(com.trolltech.qt.xml.QDomNode)"><tt>QDomNode</tt></a> into a <a href="QDomNotation.html"><tt>QDomNotation</tt></a>.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> <A HREF="../../../../com/trolltech/qt/xml/QDomProcessingInstruction.html" title="class in com.trolltech.qt.xml">QDomProcessingInstruction</A></CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../com/trolltech/qt/xml/QDomNode.html#toProcessingInstruction()">toProcessingInstruction</A></B>()</CODE> <BR> Converts a <a href="QDomNode.html#QDomNode(com.trolltech.qt.xml.QDomNode)"><tt>QDomNode</tt></a> into a <a href="QDomProcessingInstruction.html"><tt>QDomProcessingInstruction</tt></a>.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> <A HREF="../../../../com/trolltech/qt/xml/QDomText.html" title="class in com.trolltech.qt.xml">QDomText</A></CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../com/trolltech/qt/xml/QDomNode.html#toText()">toText</A></B>()</CODE> <BR> Converts a <a href="QDomNode.html#QDomNode(com.trolltech.qt.xml.QDomNode)"><tt>QDomNode</tt></a> into a <a href="QDomText.html"><tt>QDomText</tt></a>.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> void</CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../com/trolltech/qt/xml/QDomNode.html#writeTo(com.trolltech.qt.core.QTextStream)">writeTo</A></B>(<A HREF="../../../../com/trolltech/qt/core/QTextStream.html" title="class in com.trolltech.qt.core">QTextStream</A> arg__1)</CODE> <BR> Writes thisQDomNode to arg__1.</TD> </TR> </TABLE> <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> <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> <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, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait</CODE></TD> </TR> </TABLE> <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> <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="QDomNode()"><!-- --></A><H3> QDomNode</H3> <PRE> public <B>QDomNode</B>()</PRE> <DL> <DD><p>Constructs a <a href="QDomNode.html#isNull()">null</tt></a> node.</p> <P> </DL> <HR> <A NAME="QDomNode(com.trolltech.qt.xml.QDomNode)"><!-- --></A><H3> QDomNode</H3> <PRE> public <B>QDomNode</B>(<A HREF="../../../../com/trolltech/qt/xml/QDomNode.html" title="class in com.trolltech.qt.xml">QDomNode</A> arg__1)</PRE> <DL> <DD><p>Constructs a copy of <tt>arg__1</tt>.</p> <p>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 <a href="QDomNode.html#cloneNode(boolean)"><tt>cloneNode</tt></a>.</p> <P> </DL> <!-- ============ METHOD DETAIL ========== --> <A NAME="method_detail"><!-- --></A> <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> <TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2"> <B>Method Detail</B></FONT></TH> </TR> </TABLE> <A NAME="appendChild(com.trolltech.qt.xml.QDomNode)"><!-- --></A><H3> appendChild</H3> <PRE> public final <A HREF="../../../../com/trolltech/qt/xml/QDomNode.html" title="class in com.trolltech.qt.xml">QDomNode</A> <B>appendChild</B>(<A HREF="../../../../com/trolltech/qt/xml/QDomNode.html" title="class in com.trolltech.qt.xml">QDomNode</A> newChild)</PRE> <DL> <DD><p>Appends <tt>newChild</tt> as the node's last child.</p> <p>If <tt>newChild</tt> is the child of another node, it is reparented to this node. If <tt>newChild</tt> is a child of this node, then its position in the list of children is changed.</p> <p>If <tt>newChild</tt> is a <a href="QDomDocumentFragment.html"><tt>QDomDocumentFragment</tt></a>, then the children of the fragment are removed from the fragment and appended.</p> <p>If <tt>newChild</tt> is a <a href="QDomElement.html"><tt>QDomElement</tt></a> and this node is a <a href="QDomDocument.html"><tt>QDomDocument</tt></a> that already has an element node as a child, <tt>newChild</tt> is not added as a child and a null node is returned.</p> <p>Calling this function on a null node(created, for example, with the default constructor) does nothing.</p> <p>The DOM specification disallow inserting attribute nodes, but due to historical reasons QDom accept them nevertheless.</p> <P> <DD><DL> <DT><B>See Also:</B><DD><a href="QDomNode.html#insertBefore(com.trolltech.qt.xml.QDomNode, com.trolltech.qt.xml.QDomNode)"><tt>insertBefore</tt></a>, <a href="QDomNode.html#insertAfter(com.trolltech.qt.xml.QDomNode, com.trolltech.qt.xml.QDomNode)"><tt>insertAfter</tt></a>, <a href="QDomNode.html#replaceChild(com.trolltech.qt.xml.QDomNode, com.trolltech.qt.xml.QDomNode)"><tt>replaceChild</tt></a>, <a href="QDomNode.html#removeChild(com.trolltech.qt.xml.QDomNode)"><tt>removeChild</tt></a></DL> </DD> </DL> <HR> <A NAME="childNodes()"><!-- --></A><H3> childNodes</H3> <PRE> public final <A HREF="../../../../com/trolltech/qt/xml/QDomNodeList.html" title="class in com.trolltech.qt.xml">QDomNodeList</A> <B>childNodes</B>()</PRE> <DL> <DD><p>Returns a list of all direct child nodes.</p> <p>Most often you will call this function on a <a href="QDomElement.html"><tt>QDomElement</tt></a> object.</p> <p>For example, if the XML document looks like this:</p> <pre> <body> <h1>Heading</h1> <p>Hello <b>you</b></p> </body></pre> <p>Then the list of child nodes for the "body"-element will contain the node created by the &lt;h1&gt; tag and the node created by the &lt;p&gt; tag.</p> <p>The nodes in the list are not copied; so changing the nodes in the list will also change the children of this node.</p> <P> <DD><DL> <DT><B>See Also:</B><DD><a href="QDomNode.html#firstChild()"><tt>firstChild</tt></a>, <a href="QDomNode.html#lastChild()"><tt>lastChild</tt></a></DL> </DD> </DL> <HR> <A NAME="clear()"><!-- --></A><H3> clear</H3> <PRE> public final void <B>clear</B>()</PRE> <DL> <DD><p>Converts the node into a null node; if it was not a null node before, its type and contents are deleted.</p> <P> <DD><DL> <DT><B>See Also:</B><DD><a href="QDomNode.html#isNull()"><tt>isNull</tt></a></DL> </DD> </DL> <HR> <A NAME="cloneNode()"><!-- --></A><H3> cloneNode</H3> <PRE> public final <A HREF="../../../../com/trolltech/qt/xml/QDomNode.html" title="class in com.trolltech.qt.xml">QDomNode</A> <B>cloneNode</B>()</PRE> <DL> <DD><p>Equivalent to <a href="QDomNode.html#cloneNode(boolean)"><tt>cloneNode</tt></a>(true). <P> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="cloneNode(boolean)"><!-- --></A><H3> cloneNode</H3> <PRE> public final <A HREF="../../../../com/trolltech/qt/xml/QDomNode.html" title="class in com.trolltech.qt.xml">QDomNode</A> <B>cloneNode</B>(boolean deep)</PRE> <DL> <DD><p>Creates a deep (not shallow) copy of the <a href="QDomNode.html#QDomNode(com.trolltech.qt.xml.QDomNode)"><tt>QDomNode</tt></a>.</p> <p>If <tt>deep</tt> is true, then the cloning is done recursively which means that all the node's children are deep copied too. If <tt>deep</tt> is false only the node itself is copied and the copy will have no child nodes.</p> <P> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="columnNumber()"><!-- --></A><H3> columnNumber</H3> <PRE> public final int <B>columnNumber</B>()</PRE> <DL> <DD><p>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.</p> <P> <DD><DL> <DT><B>See Also:</B><DD><a href="QDomNode.html#lineNumber()"><tt>lineNumber</tt></a>, <tt>QDomDocument::setContent</tt></DL> </DD> </DL> <HR> <A NAME="firstChild()"><!-- --></A><H3> firstChild</H3> <PRE> public final <A HREF="../../../../com/trolltech/qt/xml/QDomNode.html" title="class in com.trolltech.qt.xml">QDomNode</A> <B>firstChild</B>()</PRE> <DL> <DD><p>Returns the first child of the node. If there is no child node, a <a href="QDomNode.html#isNull()">null node</tt></a> is returned. Changing the returned node will also change the node in the document tree.</p> <P> <DD><DL> <DT><B>See Also:</B><DD><a href="QDomNode.html#lastChild()"><tt>lastChild</tt></a>, <a href="QDomNode.html#childNodes()"><tt>childNodes</tt></a></DL> </DD> </DL> <HR> <A NAME="firstChildElement()"><!-- --></A><H3> firstChildElement</H3> <PRE> public final <A HREF="../../../../com/trolltech/qt/xml/QDomElement.html" title="class in com.trolltech.qt.xml">QDomElement</A> <B>firstChildElement</B>()</PRE> <DL> <DD><p>Equivalent to <a href="QDomNode.html#firstChildElement(java.lang.String)"><tt>firstChildElement</tt></a>(QString()). <P> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="firstChildElement(java.lang.String)"><!-- --></A><H3> firstChildElement</H3> <PRE> public final <A HREF="../../../../com/trolltech/qt/xml/QDomElement.html" title="class in com.trolltech.qt.xml">QDomElement</A> <B>firstChildElement</B>(java.lang.String tagName)</PRE> <DL> <DD><p>Returns the first child element with tag name <tt>tagName</tt> if tagName is non-empty; otherwise returns the first child element. Returns a null element if no such child exists.</p> <P> <DD><DL> <DT><B>See Also:</B><DD><a href="QDomNode.html#lastChildElement(java.lang.String)"><tt>lastChildElement</tt></a>, <a href="QDomNode.html#previousSiblingElement(java.lang.String)"><tt>previousSiblingElement</tt></a>, <a href="QDomNode.html#nextSiblingElement(java.lang.String)"><tt>nextSiblingElement</tt></a></DL> </DD> </DL> <HR> <A NAME="hasAttributes()"><!-- --></A><H3> hasAttributes</H3> <PRE> public final boolean <B>hasAttributes</B>()</PRE> <DL> <DD><p>Returns true if the node has attributes; otherwise returns false.</p> <P> <DD><DL> <DT><B>See Also:</B><DD><tt>attributes</tt></DL> </DD> </DL> <HR> <A NAME="hasChildNodes()"><!-- --></A><H3> hasChildNodes</H3> <PRE> public final boolean <B>hasChildNodes</B>()</PRE> <DL> <DD><p>Returns true if the node has one or more children; otherwise returns false.</p> <P> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="insertAfter(com.trolltech.qt.xml.QDomNode, com.trolltech.qt.xml.QDomNode)"><!-- --></A><H3> insertAfter</H3> <PRE> public final <A HREF="../../../../com/trolltech/qt/xml/QDomNode.html" title="class in com.trolltech.qt.xml">QDomNode</A> <B>insertAfter</B>(<A HREF="../../../../com/trolltech/qt/xml/QDomNode.html" title="class in com.trolltech.qt.xml">QDomNode</A> newChild, <A HREF="../../../../com/trolltech/qt/xml/QDomNode.html" title="class in com.trolltech.qt.xml">QDomNode</A> refChild)</PRE> <DL> <DD><p>Inserts the node <tt>newChild</tt> after the child node <tt>refChild</tt>. <tt>refChild</tt> must be a direct child of this node. If <tt>refChild</tt> is <a href="QDomNode.html#isNull()">null</tt></a> then <tt>newChild</tt> is appended as this node's last child.</p> <p>If <tt>newChild</tt> is the child of another node, it is reparented to this node. If <tt>newChild</tt> is a child of this node, then its position in the list of children is changed.</p> <p>If <tt>newChild</tt> is a <a href="QDomDocumentFragment.html"><tt>QDomDocumentFragment</tt></a>, then the children of the fragment are removed from the fragment and inserted after <tt>refChild</tt>.</p> <p>Returns a new reference to <tt>newChild</tt> on success or a <a href="QDomNode.html#isNull()">null node</tt></a> on failure.</p> <p>The DOM specification disallow inserting attribute nodes, but due to historical reasons QDom accept them nevertheless.</p> <P> <DD><DL> <DT><B>See Also:</B><DD><a href="QDomNode.html#insertBefore(com.trolltech.qt.xml.QDomNode, com.trolltech.qt.xml.QDomNode)"><tt>insertBefore</tt></a>, <a href="QDomNode.html#replaceChild(com.trolltech.qt.xml.QDomNode, com.trolltech.qt.xml.QDomNode)"><tt>replaceChild</tt></a>, <a href="QDomNode.html#removeChild(com.trolltech.qt.xml.QDomNode)"><tt>removeChild</tt></a>, <a href="QDomNode.html#appendChild(com.trolltech.qt.xml.QDomNode)"><tt>appendChild</tt></a></DL> </DD> </DL> <HR> <A NAME="insertBefore(com.trolltech.qt.xml.QDomNode, com.trolltech.qt.xml.QDomNode)"><!-- --></A><H3> insertBefore</H3> <PRE> public final <A HREF="../../../../com/trolltech/qt/xml/QDomNode.html" title="class in com.trolltech.qt.xml">QDomNode</A> <B>insertBefore</B>(<A HREF="../../../../com/trolltech/qt/xml/QDomNode.html" title="class in com.trolltech.qt.xml">QDomNode</A> newChild, <A HREF="../../../../com/trolltech/qt/xml/QDomNode.html" title="class in com.trolltech.qt.xml">QDomNode</A> refChild)</PRE> <DL> <DD><p>Inserts the node <tt>newChild</tt> before the child node <tt>refChild</tt>. <tt>refChild</tt> must be a direct child of this node. If <tt>refChild</tt> is <a href="QDomNode.html#isNull()">null</tt></a> then <tt>newChild</tt> is inserted as the node's first child.</p> <p>If <tt>newChild</tt> is the child of another node, it is reparented to this node. If <tt>newChild</tt> is a child of this node, then its position in the list of children is changed.</p> <p>If <tt>newChild</tt> is a <a href="QDomDocumentFragment.html"><tt>QDomDocumentFragment</tt></a>, then the children of the fragment are removed from the fragment and inserted before <tt>refChild</tt>.</p> <p>Returns a new reference to <tt>newChild</tt> on success or a <a href="QDomNode.html#isNull()">null node</tt></a> on failure.</p> <p>The DOM specification disallow inserting attribute nodes, but due to historical reasons QDom accept them nevertheless.</p> <P> <DD><DL> <DT><B>See Also:</B><DD><a href="QDomNode.html#insertAfter(com.trolltech.qt.xml.QDomNode, com.trolltech.qt.xml.QDomNode)"><tt>insertAfter</tt></a>, <a href="QDomNode.html#replaceChild(com.trolltech.qt.xml.QDomNode, com.trolltech.qt.xml.QDomNode)"><tt>replaceChild</tt></a>, <a href="QDomNode.html#removeChild(com.trolltech.qt.xml.QDomNode)"><tt>removeChild</tt></a>, <a href="QDomNode.html#appendChild(com.trolltech.qt.xml.QDomNode)"><tt>appendChild</tt></a></DL> </DD> </DL> <HR> <A NAME="isAttr()"><!-- --></A><H3> isAttr</H3> <PRE> public final boolean <B>isAttr</B>()</PRE> <DL> <DD><p>Returns true if the node is an attribute; otherwise returns false.</p> <p>If this function returns true, it does not imply that this object is a QDomAttribute; you can get the QDomAttribute with toAttribute().</p> <P> <DD><DL> <DT><B>See Also:</B><DD><a href="QDomNode.html#toAttr()"><tt>toAttr</tt></a></DL> </DD> </DL> <HR> <A NAME="isCDATASection()"><!-- --></A><H3> isCDATASection</H3> <PRE> public final boolean <B>isCDATASection</B>()</PRE> <DL> <DD><p>Returns true if the node is a CDATA section; otherwise returns false.</p> <p>If this function returns true, it does not imply that this object is a <a href="QDomCDATASection.html"><tt>QDomCDATASection</tt></a>; you can get the <a href="QDomCDATASection.html"><tt>QDomCDATASection</tt></a> with <a href="QDomNode.html#toCDATASection()"><tt>toCDATASection</tt></a>.</p> <P> <DD><DL> <DT><B>See Also:</B><DD><a href="QDomNode.html#toCDATASection()"><tt>toCDATASection</tt></a></DL> </DD> </DL> <HR> <A NAME="isCharacterData()"><!-- --></A><H3> isCharacterData</H3> <PRE> public final boolean <B>isCharacterData</B>()</PRE> <DL> <DD><p>Returns true if the node is a character data node; otherwise returns false.</p> <p>If this function returns true, it does not imply that this object is a <a href="QDomCharacterData.html"><tt>QDomCharacterData</tt></a>; you can get the <a href="QDomCharacterData.html"><tt>QDomCharacterData</tt></a> with <a href="QDomNode.html#toCharacterData()"><tt>toCharacterData</tt></a>.</p> <P> <DD><DL> <DT><B>See Also:</B><DD><a href="QDomNode.html#toCharacterData()"><tt>toCharacterData</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 the node is a comment; otherwise returns false.</p> <p>If this function returns true, it does not imply that this object is a <a href="QDomComment.html"><tt>QDomComment</tt></a>; you can get the <a href="QDomComment.html"><tt>QDomComment</tt></a> with <a href="QDomNode.html#toComment()"><tt>toComment</tt></a>.</p> <P> <DD><DL> <DT><B>See Also:</B><DD><a href="QDomNode.html#toComment()"><tt>toComment</tt></a></DL> </DD> </DL> <HR> <A NAME="isDocument()"><!-- --></A><H3> isDocument</H3> <PRE> public final boolean <B>isDocument</B>()</PRE> <DL> <DD><p>Returns true if the node is a document; otherwise returns false.</p> <p>If this function returns true, it does not imply that this object is a <a href="QDomDocument.html"><tt>QDomDocument</tt></a>; you can get the <a href="QDomDocument.html"><tt>QDomDocument</tt></a> with <a href="QDomNode.html#toDocument()"><tt>toDocument</tt></a>.</p> <P> <DD><DL> <DT><B>See Also:</B><DD><a href="QDomNode.html#toDocument()"><tt>toDocument</tt></a></DL> </DD> </DL> <HR> <A NAME="isDocumentFragment()"><!-- --></A><H3> isDocumentFragment</H3> <PRE> public final boolean <B>isDocumentFragment</B>()</PRE> <DL> <DD><p>Returns true if the node is a document fragment; otherwise returns false.</p> <p>If this function returns true, it does not imply that this object is a <a href="QDomDocumentFragment.html"><tt>QDomDocumentFragment</tt></a>; you can get the <a href="QDomDocumentFragment.html"><tt>QDomDocumentFragment</tt></a> with <a href="QDomNode.html#toDocumentFragment()"><tt>toDocumentFragment</tt></a>.</p> <P> <DD><DL> <DT><B>See Also:</B><DD><a href="QDomNode.html#toDocumentFragment()"><tt>toDocumentFragment</tt></a></DL> </DD> </DL> <HR> <A NAME="isDocumentType()"><!-- --></A><H3> isDocumentType</H3> <PRE> public final boolean <B>isDocumentType</B>()</PRE> <DL> <DD><p>Returns true if the node is a document type; otherwise returns false.</p> <p>If this function returns true, it does not imply that this object is a <a href="QDomDocumentType.html"><tt>QDomDocumentType</tt></a>; you can get the <a href="QDomDocumentType.html"><tt>QDomDocumentType</tt></a> with <a href="QDomNode.html#toDocumentType()"><tt>toDocumentType</tt></a>.</p> <P> <DD><DL> <DT><B>See Also:</B><DD><a href="QDomNode.html#toDocumentType()"><tt>toDocumentType</tt></a></DL> </DD> </DL> <HR> <A NAME="isElement()"><!-- --></A><H3> isElement</H3> <PRE> public final boolean <B>isElement</B>()</PRE> <DL> <DD><p>Returns true if the node is an element; otherwise returns false.</p> <p>If this function returns true, it does not imply that this object is a <a href="QDomElement.html"><tt>QDomElement</tt></a>; you can get the <a href="QDomElement.html"><tt>QDomElement</tt></a> with <a href="QDomNode.html#toElement()"><tt>toElement</tt></a>.</p> <P> <DD><DL> <DT><B>See Also:</B><DD><a href="QDomNode.html#toElement()"><tt>toElement</tt></a></DL> </DD> </DL> <HR> <A NAME="isEntity()"><!-- --></A><H3> isEntity</H3> <PRE> public final boolean <B>isEntity</B>()</PRE> <DL> <DD><p>Returns true if the node is an entity; otherwise returns false.</p> <p>If this function returns true, it does not imply that this object is a <a href="QDomEntity.html"><tt>QDomEntity</tt></a>; you can get the <a href="QDomEntity.html"><tt>QDomEntity</tt></a> with <a href="QDomNode.html#toEntity()"><tt>toEntity</tt></a>.</p> <P> <DD><DL> <DT><B>See Also:</B><DD><a href="QDomNode.html#toEntity()"><tt>toEntity</tt></a></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 the node is an entity reference; otherwise returns false.</p> <p>If this function returns true, it does not imply that this object is a <a href="QDomEntityReference.html"><tt>QDomEntityReference</tt></a>; you can get the <a href="QDomEntityReference.html"><tt>QDomEntityReference</tt></a> with <a href="QDomNode.html#toEntityReference()"><tt>toEntityReference</tt></a>.</p> <P> <DD><DL> <DT><B>See Also:</B><DD><a href="QDomNode.html#toEntityReference()"><tt>toEntityReference</tt></a></DL> </DD> </DL> <HR> <A NAME="isNotation()"><!-- --></A><H3> isNotation</H3> <PRE> public final boolean <B>isNotation</B>()</PRE> <DL> <DD><p>Returns true if the node is a notation; otherwise returns false.</p> <p>If this function returns true, it does not imply that this object is a <a href="QDomNotation.html"><tt>QDomNotation</tt></a>; you can get the <a href="QDomNotation.html"><tt>QDomNotation</tt></a> with <a href="QDomNode.html#toNotation()"><tt>toNotation</tt></a>.</p> <P> <DD><DL> <DT><B>See Also:</B><DD><a href="QDomNode.html#toNotation()"><tt>toNotation</tt></a></DL> </DD> </DL> <HR> <A NAME="isNull()"><!-- --></A><H3> isNull</H3> <PRE> public final boolean <B>isNull</B>()</PRE> <DL> <DD><p>Returns true if this node is null (i.e. if it has no type or contents); 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 the node is a processing instruction; otherwise returns false.</p> <p>If this function returns true, it does not imply that this object is a <a href="QDomProcessingInstruction.html"><tt>QDomProcessingInstruction</tt></a>; you can get the QProcessingInstruction with <a href="QDomNode.html#toProcessingInstruction()"><tt>toProcessingInstruction</tt></a>.</p> <P> <DD><DL> <DT><B>See Also:</B><DD><a href="QDomNode.html#toProcessingInstruction()"><tt>toProcessingInstruction</tt></a></DL> </DD> </DL> <HR> <A NAME="isSupported(java.lang.String, java.lang.String)"><!-- --></A><H3> isSupported</H3> <PRE> public final boolean <B>isSupported</B>(java.lang.String feature, java.lang.String version)</PRE> <DL> <DD><p>Returns true if the DOM implementation implements the feature <tt>feature</tt> and this feature is supported by this node in the version <tt>version</tt>; otherwise returns false.</p> <P> <DD><DL> <DT><B>See Also:</B><DD><tt>QDomImplementation::hasFeature</tt></DL> </DD> </DL> <HR> <A NAME="isText()"><!-- --></A><H3> isText</H3> <PRE> public final boolean <B>isText</B>()</PRE> <DL> <DD><p>Returns true if the node is a text node; otherwise returns false.</p> <p>If this function returns true, it does not imply that this object is a <a href="QDomText.html"><tt>QDomText</tt></a>; you can get the <a href="QDomText.html"><tt>QDomText</tt></a> with <a href="QDomNode.html#toText()"><tt>toText</tt></a>.</p> <P> <DD><DL> <DT><B>See Also:</B><DD><a href="QDomNode.html#toText()"><tt>toText</tt></a></DL> </DD> </DL> <HR> <A NAME="lastChild()"><!-- --></A><H3> lastChild</H3> <PRE> public final <A HREF="../../../../com/trolltech/qt/xml/QDomNode.html" title="class in com.trolltech.qt.xml">QDomNode</A> <B>lastChild</B>()</PRE> <DL> <DD><p>Returns the last child of the node. If there is no child node, a <a href="QDomNode.html#isNull()">null node</tt></a> is returned. Changing the returned node will also change the node in the document tree.</p> <P> <DD><DL> <DT><B>See Also:</B><DD><a href="QDomNode.html#firstChild()"><tt>firstChild</tt></a>, <a href="QDomNode.html#childNodes()"><tt>childNodes</tt></a></DL> </DD> </DL> <HR> <A NAME="lastChildElement()"><!-- --></A><H3> lastChildElement</H3> <PRE> public final <A HREF="../../../../com/trolltech/qt/xml/QDomElement.html" title="class in com.trolltech.qt.xml">QDomElement</A> <B>lastChildElement</B>()</PRE> <DL> <DD><p>Equivalent to <a href="QDomNode.html#lastChildElement(java.lang.String)"><tt>lastChildElement</tt></a>(QString()). <P> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="lastChildElement(java.lang.String)"><!-- --></A><H3> lastChildElement</H3> <PRE> public final <A HREF="../../../../com/trolltech/qt/xml/QDomElement.html" title="class in com.trolltech.qt.xml">QDomElement</A> <B>lastChildElement</B>(java.lang.String tagName)</PRE> <DL> <DD><p>Returns the last child element with tag name <tt>tagName</tt> if tagName is non-empty; otherwise returns the first child element. Returns a null element if no such child exists.</p> <P> <DD><DL> <DT><B>See Also:</B><DD><a href="QDomNode.html#firstChildElement(java.lang.String)"><tt>firstChildElement</tt></a>, <a href="QDomNode.html#previousSiblingElement(java.lang.String)"><tt>previousSiblingElement</tt></a>, <a href="QDomNode.html#nextSiblingElement(java.lang.String)"><tt>nextSiblingElement</tt></a></DL> </DD> </DL> <HR> <A NAME="lineNumber()"><!-- --></A><H3> lineNumber</H3> <PRE> public final int <B>lineNumber</B>()</PRE> <DL> <DD><p>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.</p> <P> <DD><DL> <DT><B>See Also:</B><DD><a href="QDomNode.html#columnNumber()"><tt>columnNumber</tt></a>, <tt>QDomDocument::setContent</tt></DL> </DD> </DL> <HR> <A NAME="localName()"><!-- --></A><H3> localName</H3> <PRE> public final java.lang.String <B>localName</B>()</PRE> <DL> <DD><p>If the node uses namespaces, this function returns the local name of the node; otherwise it returns an empty string.</p> <p>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.</p> <p>QDomDocument::createAttributeNS()</p> <P> <DD><DL> <DT><B>See Also:</B><DD><a href="QDomNode.html#prefix()"><tt>prefix</tt></a>, <a href="QDomNode.html#namespaceURI()"><tt>namespaceURI</tt></a>, <tt>QDomDocument::createElementNS</tt></DL> </DD> </DL> <HR> <A NAME="namedItem(java.lang.String)"><!-- --></A><H3> namedItem</H3> <PRE> public final <A HREF="../../../../com/trolltech/qt/xml/QDomNode.html" title="class in com.trolltech.qt.xml">QDomNode</A> <B>namedItem</B>(java.lang.String name)</PRE> <DL> <DD><p>Returns the first direct child node for which <a href="QDomNode.html#nodeName()"><tt>nodeName</tt></a> equals <tt>name</tt>.</p> <p>If no such direct child exists, a <a href="QDomNode.html#isNull()">null node</tt></a> is returned.</p> <P> <DD><DL> <DT><B>See Also:</B><DD><a href="QDomNode.html#nodeName()"><tt>nodeName</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 namespace URI of this node or an empty string if the node has no namespace URI.</p> <p>Only nodes of type ElementNode or AttributeNode can have namespaces. A namespace URI must be specified at creation time and cannot be changed later.</p> <p>QDomDocument::createAttributeNS()</p> <P> <DD><DL> <DT><B>See Also:</B><DD><a href="QDomNode.html#prefix()"><tt>prefix</tt></a>, <a href="QDomNode.html#localName()"><tt>localName</tt></a>, <tt>QDomDocument::createElementNS</tt></DL> </DD> </DL> <HR> <A NAME="nextSibling()"><!-- --></A><H3> nextSibling</H3> <PRE> public final <A HREF="../../../../com/trolltech/qt/xml/QDomNode.html" title="class in com.trolltech.qt.xml">QDomNode</A> <B>nextSibling</B>()</PRE> <DL> <DD><p>Returns the next sibling in the document tree. Changing the returned node will also change the node in the document tree.</p> <p>If you have XML like this:</p> <pre> <h1>Heading</h1> <p>The text...</p> <h2>Next heading</h2></pre> <p>and this <a href="QDomNode.html#QDomNode(com.trolltech.qt.xml.QDomNode)"><tt>QDomNode</tt></a> represents the <p> tag, <a href="QDomNode.html#nextSibling()"><tt>nextSibling</tt></a> will return the node representing the <h2> tag.</p> <P> <DD><DL> <DT><B>See Also:</B><DD><a href="QDomNode.html#previousSibling()"><tt>previousSibling</tt></a></DL> </DD> </DL> <HR> <A NAME="nextSiblingElement()"><!-- --></A><H3> nextSiblingElement</H3> <PRE> public final <A HREF="../../../../com/trolltech/qt/xml/QDomElement.html" title="class in com.trolltech.qt.xml">QDomElement</A> <B>nextSiblingElement</B>()</PRE> <DL> <DD><p>Equivalent to <a href="QDomNode.html#nextSiblingElement(java.lang.String)"><tt>nextSiblingElement</tt></a>(QString()). <P> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="nextSiblingElement(java.lang.String)"><!-- --></A><H3> nextSiblingElement</H3> <PRE> public final <A HREF="../../../../com/trolltech/qt/xml/QDomElement.html" title="class in com.trolltech.qt.xml">QDomElement</A> <B>nextSiblingElement</B>(java.lang.String taName)</PRE> <DL> <DD><p>Returns the next sibilng element with tag name <tt>taName</tt> if <tt>taName</tt> is non-empty; otherwise returns any next sibling element. Returns a null element if no such sibling exists.</p> <P> <DD><DL> <DT><B>See Also:</B><DD><a href="QDomNode.html#firstChildElement(java.lang.String)"><tt>firstChildElement</tt></a>, <a href="QDomNode.html#previousSiblingElement(java.lang.String)"><tt>previousSiblingElement</tt></a>, <a href="QDomNode.html#lastChildElement(java.lang.String)"><tt>lastChildElement</tt></a></DL> </DD> </DL> <HR> <A NAME="nodeName()"><!-- --></A><H3> nodeName</H3> <PRE> public final java.lang.String <B>nodeName</B>()</PRE> <DL> <DD><p>Returns the name of the node.</p> <p>The meaning of the name depends on the subclass:</p> <p><table align="center" cellpadding="2" cellspacing="1" border="0"> <thead><tr valign="top" class="qt-style"><th>Name</th><th>Meaning</th></tr></thead> <tr valign="top" class="odd"><td><a href="QDomAttr.html"><tt>QDomAttr</tt></a></td><td>The name of the attribute</td></tr> <tr valign="top" class="even"><td><a href="QDomCDATASection.html"><tt>QDomCDATASection</tt></a></td><td>The string "#cdata-section"</td></tr> <tr valign="top" class="odd"><td><a href="QDomComment.html"><tt>QDomComment</tt></a></td><td>The string "#comment"</td></tr> <tr valign="top" class="even"><td><a href="QDomDocument.html"><tt>QDomDocument</tt></a></td><td>The string "#document"</td></tr> <tr valign="top" class="odd"><td><a href="QDomDocumentFragment.html"><tt>QDomDocumentFragment</tt></a></td><td>The string "#document-fragment"</td></tr> <tr valign="top" class="even"><td><a href="QDomDocumentType.html"><tt>QDomDocumentType</tt></a></td><td>The name of the document type</td></tr> <tr valign="top" class="odd"><td><a href="QDomElement.html"><tt>QDomElement</tt></a></td><td>The tag name</td></tr> <tr valign="top" class="even"><td><a href="QDomEntity.html"><tt>QDomEntity</tt></a></td><td>The name of the entity</td></tr> <tr valign="top" class="odd"><td><a href="QDomEntityReference.html"><tt>QDomEntityReference</tt></a></td><td>The name of the referenced entity</td></tr> <tr valign="top" class="even"><td><a href="QDomNotation.html"><tt>QDomNotation</tt></a></td><td>The name of the notation</td></tr> <tr valign="top" class="odd"><td><a href="QDomProcessingInstruction.html"><tt>QDomProcessingInstruction</tt></a></td><td>The target of the processing instruction</td></tr> <tr valign="top" class="even"><td><a href="QDomText.html"><tt>QDomText</tt></a></td><td>The string "#text"</td></tr> </table></p> <p><b>Note:</b> 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 <a href="QDomNode.html#localName()"><tt>localName</tt></a>; to obtain the namespace prefix, use <a href="QDomNode.html#namespaceURI()"><tt>namespaceURI</tt></a>.</p> <P> <DD><DL> <DT><B>See Also:</B><DD><a href="QDomNode.html#nodeValue()"><tt>nodeValue</tt></a></DL> </DD> </DL> <HR> <A NAME="nodeType()"><!-- --></A><H3> nodeType</H3> <PRE> public final <A HREF="../../../../com/trolltech/qt/xml/QDomNode.NodeType.html" title="enum in com.trolltech.qt.xml">QDomNode.NodeType</A> <B>nodeType</B>()</PRE> <DL> <DD><p>Returns the type of the node.</p> <P> <DD><DL> <DT><B>See Also:</B><DD><a href="QDomNode.html#toAttr()"><tt>toAttr</tt></a>, <a href="QDomNode.html#toCDATASection()"><tt>toCDATASection</tt></a>, <a href="QDomNode.html#toDocumentFragment()"><tt>toDocumentFragment</tt></a>, <a href="QDomNode.html#toDocument()"><tt>toDocument</tt></a>, <a href="QDomNode.html#toDocumentType()"><tt>toDocumentType</tt></a>, <a href="QDomNode.html#toElement()"><tt>toElement</tt></a>, <a href="QDomNode.html#toEntityReference()"><tt>toEntityReference</tt></a>, <a href="QDomNode.html#toText()"><tt>toText</tt></a>, <a href="QDomNode.html#toEntity()"><tt>toEntity</tt></a>, <a href="QDomNode.html#toNotation()"><tt>toNotation</tt></a>, <a href="QDomNode.html#toProcessingInstruction()"><tt>toProcessingInstruction</tt></a>, <a href="QDomNode.html#toCharacterData()"><tt>toCharacterData</tt></a>, <a href="QDomNode.html#toComment()"><tt>toComment</tt></a></DL> </DD> </DL> <HR> <A NAME="nodeValue()"><!-- --></A><H3> nodeValue</H3> <PRE> public final java.lang.String <B>nodeValue</B>()</PRE> <DL> <DD><p>Returns the value of the node.</p> <p>The meaning of the value depends on the subclass:</p> <p><table align="center" cellpadding="2" cellspacing="1" border="0"> <thead><tr valign="top" class="qt-style"><th>Name</th><th>Meaning</th></tr></thead> <tr valign="top" class="odd"><td><a href="QDomAttr.html"><tt>QDomAttr</tt></a></td><td>The attribute value</td></tr> <tr valign="top" class="even"><td><a href="QDomCDATASection.html"><tt>QDomCDATASection</tt></a></td><td>The content of the CDATA section</td></tr> <tr valign="top" class="odd"><td><a href="QDomComment.html"><tt>QDomComment</tt></a></td><td>The comment</td></tr> <tr valign="top" class="even"><td><a href="QDomProcessingInstruction.html"><tt>QDomProcessingInstruction</tt></a></td><td>The data of the processing instruction</td></tr> <tr valign="top" class="odd"><td><a href="QDomText.html"><tt>QDomText</tt></a></td><td>The text</td></tr> </table></p> <p>All the other subclasses do not have a node value and will return an empty string.</p> <P> <DD><DL> <DT><B>See Also:</B><DD><a href="QDomNode.html#setNodeValue(java.lang.String)"><tt>setNodeValue</tt></a>, <a href="QDomNode.html#nodeName()"><tt>nodeName</tt></a></DL> </DD> </DL> <HR> <A NAME="normalize()"><!-- --></A><H3> normalize</H3> <PRE> public final void <B>normalize</B>()</PRE> <DL> <DD><p>Calling <a href="QDomNode.html#normalize()"><tt>normalize</tt></a> on an element converts all its children into a standard form. This means that adjacent <a href="QDomText.html"><tt>QDomText</tt></a> objects will be merged into a single text object (<a href="QDomCDATASection.html"><tt>QDomCDATASection</tt></a> nodes are not merged).</p> <P> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="writeTo(com.trolltech.qt.core.QTextStream)"><!-- --></A><H3> writeTo</H3> <PRE> public final void <B>writeTo</B>(<A HREF="../../../../com/trolltech/qt/core/QTextStream.html" title="class in com.trolltech.qt.core">QTextStream</A> arg__1)</PRE> <DL> <DD>Writes thisQDomNode to arg__1. <P> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="ownerDocument()"><!-- --></A><H3> ownerDocument</H3> <PRE> public final <A HREF="../../../../com/trolltech/qt/xml/QDomDocument.html" title="class in com.trolltech.qt.xml">QDomDocument</A> <B>ownerDocument</B>()</PRE> <DL> <DD><p>Returns the document to which this node belongs.</p> <P> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="parentNode()"><!-- --></A><H3> parentNode</H3> <PRE> public final <A HREF="../../../../com/trolltech/qt/xml/QDomNode.html" title="class in com.trolltech.qt.xml">QDomNode</A> <B>parentNode</B>()</PRE> <DL> <DD><p>Returns the parent node. If this node has no parent, a null node is returned (i.e. a node for which <a href="QDomNode.html#isNull()"><tt>isNull</tt></a> returns true).</p> <P> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="prefix()"><!-- --></A><H3> prefix</H3> <PRE> public final java.lang.String <B>prefix</B>()</PRE> <DL> <DD><p>Returns the namespace prefix of the node or an empty string if the node has no namespace prefix.</p> <p>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 <a href="QDomNode.html#setPrefix(java.lang.String)"><tt>setPrefix</tt></a>.</p> <p>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.</p> <p>QDomDocument::createElementNS() QDomDocument::createAttributeNS()</p> <P> <DD><DL> <DT><B>See Also:</B><DD><a href="QDomNode.html#setPrefix(java.lang.String)"><tt>setPrefix</tt></a>, <a href="QDomNode.html#localName()"><tt>localName</tt></a>, <a href="QDomNode.html#namespaceURI()"><tt>namespaceURI</tt></a></DL> </DD> </DL> <HR> <A NAME="previousSibling()"><!-- --></A><H3> previousSibling</H3> <PRE> public final <A HREF="../../../../com/trolltech/qt/xml/QDomNode.html" title="class in com.trolltech.qt.xml">QDomNode</A> <B>previousSibling</B>()</PRE> <DL> <DD><p>Returns the previous sibling in the document tree. Changing the returned node will also change the node in the document tree.</p> <p>For example, if you have XML like this:</p> <pre> <h1>Heading</h1> <p>The text...</p> <h2>Next heading</h2></pre> <p>and this <a href="QDomNode.html#QDomNode(com.trolltech.qt.xml.QDomNode)"><tt>QDomNode</tt></a> represents the &lt;p&gt; tag, <a href="QDomNode.html#previousSibling()"><tt>previousSibling</tt></a> will return the node representing the &lt;h1&gt; tag.</p> <P> <DD><DL> <DT><B>See Also:</B><DD><a href="QDomNode.html#nextSibling()"><tt>nextSibling</tt></a></DL> </DD> </DL> <HR> <A NAME="previousSiblingElement()"><!-- --></A><H3> previousSiblingElement</H3> <PRE> public final <A HREF="../../../../com/trolltech/qt/xml/QDomElement.html" title="class in com.trolltech.qt.xml">QDomElement</A> <B>previousSiblingElement</B>()</PRE> <DL> <DD><p>Equivalent to <a href="QDomNode.html#previousSiblingElement(java.lang.String)"><tt>previousSiblingElement</tt></a>(QString()). <P> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="previousSiblingElement(java.lang.String)"><!-- --></A><H3> previousSiblingElement</H3> <PRE> public final <A HREF="../../../../com/trolltech/qt/xml/QDomElement.html" title="class in com.trolltech.qt.xml">QDomElement</A> <B>previousSiblingElement</B>(java.lang.String tagName)</PRE> <DL> <DD><p>Returns the previous sibilng element with tag name <tt>tagName</tt> if <tt>tagName</tt> is non-empty; otherwise returns any previous sibling element. Returns a null element if no such sibling exists.</p> <P> <DD><DL> <DT><B>See Also:</B><DD><a href="QDomNode.html#firstChildElement(java.lang.String)"><tt>firstChildElement</tt></a>, <a href="QDomNode.html#nextSiblingElement(java.lang.String)"><tt>nextSiblingElement</tt></a>, <a href="QDomNode.html#lastChildElement(java.lang.String)"><tt>lastChildElement</tt></a></DL> </DD> </DL> <HR> <A NAME="removeChild(com.trolltech.qt.xml.QDomNode)"><!-- --></A><H3> removeChild</H3> <PRE> public final <A HREF="../../../../com/trolltech/qt/xml/QDomNode.html" title="class in com.trolltech.qt.xml">QDomNode</A> <B>removeChild</B>(<A HREF="../../../../com/trolltech/qt/xml/QDomNode.html" title="class in com.trolltech.qt.xml">QDomNode</A> oldChild)</PRE> <DL> <DD><p>Removes <tt>oldChild</tt> from the list of children. <tt>oldChild</tt> must be a direct child of this node.</p> <p>Returns a new reference to <tt>oldChild</tt> on success or a <a href="QDomNode.html#isNull()">null node</tt></a> on failure.</p> <P> <DD><DL> <DT><B>See Also:</B><DD><a href="QDomNode.html#insertBefore(com.trolltech.qt.xml.QDomNode, com.trolltech.qt.xml.QDomNode)"><tt>insertBefore</tt></a>, <a href="QDomNode.html#insertAfter(com.trolltech.qt.xml.QDomNode, com.trolltech.qt.xml.QDomNode)"><tt>insertAfter</tt></a>, <a href="QDomNode.html#replaceChild(com.trolltech.qt.xml.QDomNode, com.trolltech.qt.xml.QDomNode)"><tt>replaceChild</tt></a>, <a href="QDomNode.html#appendChild(com.trolltech.qt.xml.QDomNode)"><tt>appendChild</tt></a></DL> </DD> </DL> <HR> <A NAME="replaceChild(com.trolltech.qt.xml.QDomNode, com.trolltech.qt.xml.QDomNode)"><!-- --></A><H3> replaceChild</H3> <PRE> public final <A HREF="../../../../com/trolltech/qt/xml/QDomNode.html" title="class in com.trolltech.qt.xml">QDomNode</A> <B>replaceChild</B>(<A HREF="../../../../com/trolltech/qt/xml/QDomNode.html" title="class in com.trolltech.qt.xml">QDomNode</A> newChild, <A HREF="../../../../com/trolltech/qt/xml/QDomNode.html" title="class in com.trolltech.qt.xml">QDomNode</A> oldChild)</PRE> <DL> <DD><p>Replaces <tt>oldChild</tt> with <tt>newChild</tt>. <tt>oldChild</tt> must be a direct child of this node.</p> <p>If <tt>newChild</tt> is the child of another node, it is reparented to this node. If <tt>newChild</tt> is a child of this node, then its position in the list of children is changed.</p> <p>If <tt>newChild</tt> is a <a href="QDomDocumentFragment.html"><tt>QDomDocumentFragment</tt></a>, then <tt>oldChild</tt> is replaced by all of the children of the fragment.</p> <p>Returns a new reference to <tt>oldChild</tt> on success or a <a href="QDomNode.html#isNull()">null node</tt></a> an failure.</p> <P> <DD><DL> <DT><B>See Also:</B><DD><a href="QDomNode.html#insertBefore(com.trolltech.qt.xml.QDomNode, com.trolltech.qt.xml.QDomNode)"><tt>insertBefore</tt></a>, <a href="QDomNode.html#insertAfter(com.trolltech.qt.xml.QDomNode, com.trolltech.qt.xml.QDomNode)"><tt>insertAfter</tt></a>, <a href="QDomNode.html#removeChild(com.trolltech.qt.xml.QDomNode)"><tt>removeChild</tt></a>, <a href="QDomNode.html#appendChild(com.trolltech.qt.xml.QDomNode)"><tt>appendChild</tt></a></DL> </DD> </DL> <HR> <A NAME="save(com.trolltech.qt.core.QTextStream, int, com.trolltech.qt.xml.QDomNode.EncodingPolicy)"><!-- --></A><H3> save</H3> <PRE> public final void <B>save</B>(<A HREF="../../../../com/trolltech/qt/core/QTextStream.html" title="class in com.trolltech.qt.core">QTextStream</A> arg__1, int arg__2, <A HREF="../../../../com/trolltech/qt/xml/QDomNode.EncodingPolicy.html" title="enum in com.trolltech.qt.xml">QDomNode.EncodingPolicy</A> arg__3)</PRE> <DL> <DD><p>If <tt>arg__3</tt> is QDomNode::EncodingFromDocument, this function behaves as save(<a href="%2E%2E/core/QTextStream.html"><tt>QTextStream</tt></a> &str, int indent).</p> <p>If <tt>arg__3</tt> is <a href="QDomNode.html#EncodingPolicy-enum"><tt>EncodingFromTextStream</tt></a> and this node is a document node, this function behaves as save(<a href="%2E%2E/core/QTextStream.html"><tt>QTextStream</tt></a> &str, int indent) with the exception that the encoding specified in the text stream <tt>arg__1</tt> is used.</p> <p>If the document contains invalid XML characters or characters that cannot be encoded in the given encoding, the result and behavior is undefined.</p> <P> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="save(com.trolltech.qt.core.QTextStream, int)"><!-- --></A><H3> save</H3> <PRE> public final void <B>save</B>(<A HREF="../../../../com/trolltech/qt/core/QTextStream.html" title="class in com.trolltech.qt.core">QTextStream</A> arg__1, int arg__2)</PRE> <DL> <DD><p>Writes the XML representation of the node and all its children to the stream <tt>arg__1</tt>. This function uses <tt>arg__2</tt> as the amount of space to indent the node.</p> <p>If this node is a document node, the encoding of text stream <tt>arg__1</tt>'s encoding is set by treating a processing instruction by name "xml" 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.</p> <p>If the document contains invalid XML characters or characters that cannot be encoded in the given encoding, the result and behavior is undefined.</p> <P> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="setNodeValue(java.lang.String)"><!-- --></A><H3> setNodeValue</H3> <PRE> public final void <B>setNodeValue</B>(java.lang.String arg__1)</PRE> <DL> <DD><p>Sets the node's value to <tt>arg__1</tt>.</p> <P> <DD><DL> <DT><B>See Also:</B><DD><a href="QDomNode.html#nodeValue()"><tt>nodeValue</tt></a></DL> </DD> </DL> <HR> <A NAME="setPrefix(java.lang.String)"><!-- --></A><H3> setPrefix</H3> <PRE> public final void <B>setPrefix</B>(java.lang.String pre)</PRE> <DL> <DD><p>If the node has a namespace prefix, this function changes the namespace prefix of the node to <tt>pre</tt>. Otherwise this function does nothing.</p> <p>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.</p> <p>QDomDocument::createElementNS() QDomDocument::createAttributeNS()</p> <P> <DD><DL> <DT><B>See Also:</B><DD><a href="QDomNode.html#prefix()"><tt>prefix</tt></a>, <a href="QDomNode.html#localName()"><tt>localName</tt></a>, <a href="QDomNode.html#namespaceURI()"><tt>namespaceURI</tt></a></DL> </DD> </DL> <HR> <A NAME="toAttr()"><!-- --></A><H3> toAttr</H3> <PRE> public final <A HREF="../../../../com/trolltech/qt/xml/QDomAttr.html" title="class in com.trolltech.qt.xml">QDomAttr</A> <B>toAttr</B>()</PRE> <DL> <DD><p>Converts a <a href="QDomNode.html#QDomNode(com.trolltech.qt.xml.QDomNode)"><tt>QDomNode</tt></a> into a <a href="QDomAttr.html"><tt>QDomAttr</tt></a>. If the node is not an attribute, the returned object will be null</tt>.</p> <P> <DD><DL> <DT><B>See Also:</B><DD><a href="QDomNode.html#isAttr()"><tt>isAttr</tt></a></DL> </DD> </DL> <HR> <A NAME="toCDATASection()"><!-- --></A><H3> toCDATASection</H3> <PRE> public final <A HREF="../../../../com/trolltech/qt/xml/QDomCDATASection.html" title="class in com.trolltech.qt.xml">QDomCDATASection</A> <B>toCDATASection</B>()</PRE> <DL> <DD><p>Converts a <a href="QDomNode.html#QDomNode(com.trolltech.qt.xml.QDomNode)"><tt>QDomNode</tt></a> into a <a href="QDomCDATASection.html"><tt>QDomCDATASection</tt></a>. If the node is not a CDATA section, the returned object will be null</tt>.</p> <P> <DD><DL> <DT><B>See Also:</B><DD><a href="QDomNode.html#isCDATASection()"><tt>isCDATASection</tt></a></DL> </DD> </DL> <HR> <A NAME="toCharacterData()"><!-- --></A><H3> toCharacterData</H3> <PRE> public final <A HREF="../../../../com/trolltech/qt/xml/QDomCharacterData.html" title="class in com.trolltech.qt.xml">QDomCharacterData</A> <B>toCharacterData</B>()</PRE> <DL> <DD><p>Converts a <a href="QDomNode.html#QDomNode(com.trolltech.qt.xml.QDomNode)"><tt>QDomNode</tt></a> into a <a href="QDomCharacterData.html"><tt>QDomCharacterData</tt></a>. If the node is not a character data node the returned object will be null</tt>.</p> <P> <DD><DL> <DT><B>See Also:</B><DD><a href="QDomNode.html#isCharacterData()"><tt>isCharacterData</tt></a></DL> </DD> </DL> <HR> <A NAME="toComment()"><!-- --></A><H3> toComment</H3> <PRE> public final <A HREF="../../../../com/trolltech/qt/xml/QDomComment.html" title="class in com.trolltech.qt.xml">QDomComment</A> <B>toComment</B>()</PRE> <DL> <DD><p>Converts a <a href="QDomNode.html#QDomNode(com.trolltech.qt.xml.QDomNode)"><tt>QDomNode</tt></a> into a <a href="QDomComment.html"><tt>QDomComment</tt></a>. If the node is not a comment the returned object will be null</tt>.</p> <P> <DD><DL> <DT><B>See Also:</B><DD><a href="QDomNode.html#isComment()"><tt>isComment</tt></a></DL> </DD> </DL> <HR> <A NAME="toDocument()"><!-- --></A><H3> toDocument</H3> <PRE> public final <A HREF="../../../../com/trolltech/qt/xml/QDomDocument.html" title="class in com.trolltech.qt.xml">QDomDocument</A> <B>toDocument</B>()</PRE> <DL> <DD><p>Converts a <a href="QDomNode.html#QDomNode(com.trolltech.qt.xml.QDomNode)"><tt>QDomNode</tt></a> into a <a href="QDomDocument.html"><tt>QDomDocument</tt></a>. If the node is not a document the returned object will be null</tt>.</p> <P> <DD><DL> <DT><B>See Also:</B><DD><a href="QDomNode.html#isDocument()"><tt>isDocument</tt></a></DL> </DD> </DL> <HR> <A NAME="toDocumentFragment()"><!-- --></A><H3> toDocumentFragment</H3> <PRE> public final <A HREF="../../../../com/trolltech/qt/xml/QDomDocumentFragment.html" title="class in com.trolltech.qt.xml">QDomDocumentFragment</A> <B>toDocumentFragment</B>()</PRE> <DL> <DD><p>Converts a <a href="QDomNode.html#QDomNode(com.trolltech.qt.xml.QDomNode)"><tt>QDomNode</tt></a> into a <a href="QDomDocumentFragment.html"><tt>QDomDocumentFragment</tt></a>. If the node is not a document fragment the returned object will be null</tt>.</p> <P> <DD><DL> <DT><B>See Also:</B><DD><a href="QDomNode.html#isDocumentFragment()"><tt>isDocumentFragment</tt></a></DL> </DD> </DL> <HR> <A NAME="toDocumentType()"><!-- --></A><H3> toDocumentType</H3> <PRE> public final <A HREF="../../../../com/trolltech/qt/xml/QDomDocumentType.html" title="class in com.trolltech.qt.xml">QDomDocumentType</A> <B>toDocumentType</B>()</PRE> <DL> <DD><p>Converts a <a href="QDomNode.html#QDomNode(com.trolltech.qt.xml.QDomNode)"><tt>QDomNode</tt></a> into a <a href="QDomDocumentType.html"><tt>QDomDocumentType</tt></a>. If the node is not a document type the returned object will be null</tt>.</p> <P> <DD><DL> <DT><B>See Also:</B><DD><a href="QDomNode.html#isDocumentType()"><tt>isDocumentType</tt></a></DL> </DD> </DL> <HR> <A NAME="toElement()"><!-- --></A><H3> toElement</H3> <PRE> public final <A HREF="../../../../com/trolltech/qt/xml/QDomElement.html" title="class in com.trolltech.qt.xml">QDomElement</A> <B>toElement</B>()</PRE> <DL> <DD><p>Converts a <a href="QDomNode.html#QDomNode(com.trolltech.qt.xml.QDomNode)"><tt>QDomNode</tt></a> into a <a href="QDomElement.html"><tt>QDomElement</tt></a>. If the node is not an element the returned object will be null</tt>.</p> <P> <DD><DL> <DT><B>See Also:</B><DD><a href="QDomNode.html#isElement()"><tt>isElement</tt></a></DL> </DD> </DL> <HR> <A NAME="toEntity()"><!-- --></A><H3> toEntity</H3> <PRE> public final <A HREF="../../../../com/trolltech/qt/xml/QDomEntity.html" title="class in com.trolltech.qt.xml">QDomEntity</A> <B>toEntity</B>()</PRE> <DL> <DD><p>Converts a <a href="QDomNode.html#QDomNode(com.trolltech.qt.xml.QDomNode)"><tt>QDomNode</tt></a> into a <a href="QDomEntity.html"><tt>QDomEntity</tt></a>. If the node is not an entity the returned object will be null</tt>.</p> <P> <DD><DL> <DT><B>See Also:</B><DD><a href="QDomNode.html#isEntity()"><tt>isEntity</tt></a></DL> </DD> </DL> <HR> <A NAME="toEntityReference()"><!-- --></A><H3> toEntityReference</H3> <PRE> public final <A HREF="../../../../com/trolltech/qt/xml/QDomEntityReference.html" title="class in com.trolltech.qt.xml">QDomEntityReference</A> <B>toEntityReference</B>()</PRE> <DL> <DD><p>Converts a <a href="QDomNode.html#QDomNode(com.trolltech.qt.xml.QDomNode)"><tt>QDomNode</tt></a> into a <a href="QDomEntityReference.html"><tt>QDomEntityReference</tt></a>. If the node is not an entity reference, the returned object will be null</tt>.</p> <P> <DD><DL> <DT><B>See Also:</B><DD><a href="QDomNode.html#isEntityReference()"><tt>isEntityReference</tt></a></DL> </DD> </DL> <HR> <A NAME="toNotation()"><!-- --></A><H3> toNotation</H3> <PRE> public final <A HREF="../../../../com/trolltech/qt/xml/QDomNotation.html" title="class in com.trolltech.qt.xml">QDomNotation</A> <B>toNotation</B>()</PRE> <DL> <DD><p>Converts a <a href="QDomNode.html#QDomNode(com.trolltech.qt.xml.QDomNode)"><tt>QDomNode</tt></a> into a <a href="QDomNotation.html"><tt>QDomNotation</tt></a>. If the node is not a notation the returned object will be null</tt>.</p> <P> <DD><DL> <DT><B>See Also:</B><DD><a href="QDomNode.html#isNotation()"><tt>isNotation</tt></a></DL> </DD> </DL> <HR> <A NAME="toProcessingInstruction()"><!-- --></A><H3> toProcessingInstruction</H3> <PRE> public final <A HREF="../../../../com/trolltech/qt/xml/QDomProcessingInstruction.html" title="class in com.trolltech.qt.xml">QDomProcessingInstruction</A> <B>toProcessingInstruction</B>()</PRE> <DL> <DD><p>Converts a <a href="QDomNode.html#QDomNode(com.trolltech.qt.xml.QDomNode)"><tt>QDomNode</tt></a> into a <a href="QDomProcessingInstruction.html"><tt>QDomProcessingInstruction</tt></a>. If the node is not a processing instruction the returned object will be null</tt>.</p> <P> <DD><DL> <DT><B>See Also:</B><DD><a href="QDomNode.html#isProcessingInstruction()"><tt>isProcessingInstruction</tt></a></DL> </DD> </DL> <HR> <A NAME="toText()"><!-- --></A><H3> toText</H3> <PRE> public final <A HREF="../../../../com/trolltech/qt/xml/QDomText.html" title="class in com.trolltech.qt.xml">QDomText</A> <B>toText</B>()</PRE> <DL> <DD><p>Converts a <a href="QDomNode.html#QDomNode(com.trolltech.qt.xml.QDomNode)"><tt>QDomNode</tt></a> into a <a href="QDomText.html"><tt>QDomText</tt></a>. If the node is not a text, the returned object will be null</tt>.</p> <P> <DD><DL> <DT><B>See Also:</B><DD><a href="QDomNode.html#isText()"><tt>isText</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/QDomNode.html" title="class in com.trolltech.qt.xml">QDomNode</A> <B>fromNativePointer</B>(<A HREF="../../../../com/trolltech/qt/QNativePointer.html" title="class in com.trolltech.qt">QNativePointer</A> nativePointer)</PRE> <DL> <DD>This function returns the QDomNode 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> <HR> <A NAME="nativePointerArray(com.trolltech.qt.xml.QDomNode[])"><!-- --></A><H3> nativePointerArray</H3> <PRE> public static <A HREF="../../../../com/trolltech/qt/QNativePointer.html" title="class in com.trolltech.qt">QNativePointer</A> <B>nativePointerArray</B>(<A HREF="../../../../com/trolltech/qt/xml/QDomNode.html" title="class in com.trolltech.qt.xml">QDomNode</A>[] array)</PRE> <DL> <DD>This function returns a QNativePointer that is pointing to the specified QDomNode array. <P> <DD><DL> <DT><B>Parameters:</B><DD><CODE>array</CODE> - the array that the returned pointer will point to. <DT><B>Returns:</B><DD>a QNativePointer that is pointing to the specified array.</DL> </DD> </DL> <HR> <A NAME="equals(java.lang.Object)"><!-- --></A><H3> equals</H3> <PRE> public boolean <B>equals</B>(java.lang.Object other)</PRE> <DL> <DD> <P> <DD><DL> <DT><B>Overrides:</B><DD><CODE>equals</CODE> in class <CODE>java.lang.Object</CODE></DL> </DD> <DD><DL> </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> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD> <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD> </TR> </TABLE> </TD> <TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM> </EM> </TD> </TR> <TR> <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> <A HREF="../../../../com/trolltech/qt/xml/QDomNamedNodeMap.html" title="class in com.trolltech.qt.xml"><B>PREV CLASS</B></A> <A HREF="../../../../com/trolltech/qt/xml/QDomNode.EncodingPolicy.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/QDomNode.html" target="_top"><B>FRAMES</B></A> <A HREF="QDomNode.html" target="_top"><B>NO FRAMES</B></A> <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: <A HREF="#nested_class_summary">NESTED</A> | FIELD | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD> <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> DETAIL: FIELD | <A HREF="#constructor_detail">CONSTR</A> | <A HREF="#method_detail">METHOD</A></FONT></TD> </TR> </TABLE> <A NAME="skip-navbar_bottom"></A> <!-- ======== END OF BOTTOM NAVBAR ======= --> <HR> </BODY> </HTML>