<!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:37 CEST 2007 --> <TITLE> QDomElement </TITLE> <META NAME="keywords" CONTENT="com.trolltech.qt.xml.QDomElement class"> <LINK REL ="stylesheet" TYPE="text/css" HREF="../../../../stylesheet.css" TITLE="Style"> <SCRIPT type="text/javascript"> function windowTitle() { parent.document.title="QDomElement"; } </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/QDomDocumentType.html" title="class in com.trolltech.qt.xml"><B>PREV CLASS</B></A> <A HREF="../../../../com/trolltech/qt/xml/QDomEntity.html" title="class in com.trolltech.qt.xml"><B>NEXT CLASS</B></A></FONT></TD> <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> <A HREF="../../../../index.html?com/trolltech/qt/xml/QDomElement.html" target="_top"><B>FRAMES</B></A> <A HREF="QDomElement.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_classes_inherited_from_class_com.trolltech.qt.xml.QDomNode">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 QDomElement</H2> <PRE> java.lang.Object <IMG SRC="../../../../resources/inherit.gif" ALT="extended by "><A HREF="../../../../com/trolltech/qt/QSignalEmitter.html" title="class in com.trolltech.qt">com.trolltech.qt.QSignalEmitter</A> <IMG SRC="../../../../resources/inherit.gif" ALT="extended by "><A HREF="../../../../com/trolltech/qt/QtJambiObject.html" title="class in com.trolltech.qt">com.trolltech.qt.QtJambiObject</A> <IMG SRC="../../../../resources/inherit.gif" ALT="extended by "><A HREF="../../../../com/trolltech/qt/xml/QDomNode.html" title="class in com.trolltech.qt.xml">com.trolltech.qt.xml.QDomNode</A> <IMG SRC="../../../../resources/inherit.gif" ALT="extended by "><B>com.trolltech.qt.xml.QDomElement</B> </PRE> <DL> <DT><B>All Implemented Interfaces:</B> <DD><A HREF="../../../../com/trolltech/qt/QtJambiInterface.html" title="interface in com.trolltech.qt">QtJambiInterface</A></DD> </DL> <HR> <DL> <DT><PRE>public class <B>QDomElement</B><DT>extends <A HREF="../../../../com/trolltech/qt/xml/QDomNode.html" title="class in com.trolltech.qt.xml">QDomNode</A></DL> </PRE> <P> <p>The <a href="QDomElement.html#QDomElement(com.trolltech.qt.xml.QDomElement)"><tt>QDomElement</tt></a> class represents one element in the DOM tree.</p> <p>Elements have a <a href="QDomElement.html#tagName()"><tt>tagName</tt></a> and zero or more attributes associated with them. The tag name can be changed with <a href="QDomElement.html#setTagName(java.lang.String)"><tt>setTagName</tt></a>.</p> <p>Element attributes are represented by <a href="QDomAttr.html"><tt>QDomAttr</tt></a> objects that can be queried using the <a href="QDomElement.html#attribute(java.lang.String, java.lang.String)"><tt>attribute</tt></a> and <a href="QDomElement.html#attributeNode(java.lang.String)"><tt>attributeNode</tt></a> functions. You can set attributes with the <a href="QDomElement.html#setAttribute(java.lang.String, long)"><tt>setAttribute</tt></a> and <a href="QDomElement.html#setAttributeNode(com.trolltech.qt.xml.QDomAttr)"><tt>setAttributeNode</tt></a> functions. Attributes can be removed with <a href="QDomElement.html#removeAttribute(java.lang.String)"><tt>removeAttribute</tt></a>. There are namespace-aware equivalents to these functions, i.e. <a href="QDomElement.html#setAttributeNS(java.lang.String, java.lang.String, long)"><tt>setAttributeNS</tt></a>, <a href="QDomElement.html#setAttributeNodeNS(com.trolltech.qt.xml.QDomAttr)"><tt>setAttributeNodeNS</tt></a> and <a href="QDomElement.html#removeAttributeNS(java.lang.String, java.lang.String)"><tt>removeAttributeNS</tt></a>.</p> <p>If you want to access the text of a node use <a href="QDomElement.html#text()"><tt>text</tt></a>, e.g.</p> <pre> QDomElement e = <span class="comment">//...</span> <span class="comment"> //...</span> QString s = e.text()</pre> <p>The <a href="QDomElement.html#text()"><tt>text</tt></a> function operates recursively to find the text (since not all elements contain text). If you want to find all the text in all of a node's children, iterate over the children looking for <a href="QDomText.html"><tt>QDomText</tt></a> nodes, e.g.</p> <pre> QString text; QDomElement element = doc.documentElement(); for(QDomNode n = element.firstChild(); !n.isNull(); n = n.nextSibling()) { QDomText t = n.toText(); if (!t.isNull()) text += t.data(); }</pre> <p>Note that we attempt to convert each node to a text node and use <a href="QDomElement.html#text()"><tt>text</tt></a> rather than using <a href="QDomNode.html#firstChild()"><tt>firstChild</tt></a>.<a href="QDomNode.html#toText()"><tt>toText</tt></a>.data() or n.<a href="QDomNode.html#toText()"><tt>toText</tt></a>.data() directly on the node, because the node may not be a text element.</p> <p>You can get a list of all the decendents of an element which have a specified tag name with <a href="QDomElement.html#elementsByTagName(java.lang.String)"><tt>elementsByTagName</tt></a> or <a href="QDomElement.html#elementsByTagNameNS(java.lang.String, java.lang.String)"><tt>elementsByTagNameNS</tt></a>.</p> <p>To browse the elements of a dom document use <a href="QDomNode.html#firstChildElement(java.lang.String)"><tt>firstChildElement</tt></a>, <a href="QDomNode.html#lastChildElement(java.lang.String)"><tt>lastChildElement</tt></a>, <a href="QDomNode.html#nextSiblingElement(java.lang.String)"><tt>nextSiblingElement</tt></a> and <a href="QDomNode.html#previousSiblingElement(java.lang.String)"><tt>previousSiblingElement</tt></a>. For example, to iterate over all child elements called "entry" in a root element called "database", you can use:</p> <pre> QDomDocument doc = <span class="comment">// ...</span> QDomElement root = doc.firstChildElement("database"); QDomElement elt = root.firstChildElement("entry"); for (; !elt.isNull(); elt = elt.nextSiblingElelement("entry")) { <span class="comment">// ...</span> }</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> </TABLE> <A NAME="nested_classes_inherited_from_class_com.trolltech.qt.xml.QDomNode"><!-- --></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.xml.<A HREF="../../../../com/trolltech/qt/xml/QDomNode.html" title="class in com.trolltech.qt.xml">QDomNode</A></B></TH> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD><CODE><A HREF="../../../../com/trolltech/qt/xml/QDomNode.EncodingPolicy.html" title="enum in com.trolltech.qt.xml">QDomNode.EncodingPolicy</A>, <A HREF="../../../../com/trolltech/qt/xml/QDomNode.NodeType.html" title="enum in com.trolltech.qt.xml">QDomNode.NodeType</A></CODE></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/QDomElement.html#QDomElement()">QDomElement</A></B>()</CODE> <BR> Constructs an empty element.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD><CODE><B><A HREF="../../../../com/trolltech/qt/xml/QDomElement.html#QDomElement(com.trolltech.qt.xml.QDomElement)">QDomElement</A></B>(<A HREF="../../../../com/trolltech/qt/xml/QDomElement.html" title="class in com.trolltech.qt.xml">QDomElement</A> x)</CODE> <BR> Constructs a copy of <tt>x</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> java.lang.String</CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../com/trolltech/qt/xml/QDomElement.html#attribute(java.lang.String)">attribute</A></B>(java.lang.String name)</CODE> <BR> Equivalent to <a href="QDomElement.html#attribute(java.lang.String, java.lang.String)">attribute</tt></a>(<tt>name</tt>, QString()).</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/QDomElement.html#attribute(java.lang.String, java.lang.String)">attribute</A></B>(java.lang.String name, java.lang.String defValue)</CODE> <BR> Returns the attribute called <tt>name</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/QDomElement.html#attributeNode(java.lang.String)">attributeNode</A></B>(java.lang.String name)</CODE> <BR> Returns the <a href="QDomAttr.html"><tt>QDomAttr</tt></a> object that corresponds to the attribute called <tt>name</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/QDomElement.html#attributeNodeNS(java.lang.String, java.lang.String)">attributeNodeNS</A></B>(java.lang.String nsURI, java.lang.String localName)</CODE> <BR> Returns the <a href="QDomAttr.html"><tt>QDomAttr</tt></a> object that corresponds to the attribute with the local name <tt>localName</tt> and the namespace URI <tt>nsURI</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/QDomElement.html#attributeNS(java.lang.String, java.lang.String)">attributeNS</A></B>(java.lang.String nsURI, java.lang.String localName)</CODE> <BR> Equivalent to <a href="QDomElement.html#attributeNS(java.lang.String, java.lang.String, java.lang.String)"><tt>attributeNS</tt></a>(<tt>nsURI</tt>, <tt>localName</tt>, QString()).</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/QDomElement.html#attributeNS(java.lang.String, java.lang.String, java.lang.String)">attributeNS</A></B>(java.lang.String nsURI, java.lang.String localName, java.lang.String defValue)</CODE> <BR> Returns the attribute with the local name <tt>localName</tt> and the namespace URI <tt>nsURI</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/QDomNamedNodeMap.html" title="class in com.trolltech.qt.xml">QDomNamedNodeMap</A></CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../com/trolltech/qt/xml/QDomElement.html#attributes()">attributes</A></B>()</CODE> <BR> Returns a <a href="QDomNamedNodeMap.html"><tt>QDomNamedNodeMap</tt></a> containing all this element's attributes.</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/QDomElement.html#elementsByTagName(java.lang.String)">elementsByTagName</A></B>(java.lang.String tagname)</CODE> <BR> Returns a <a href="QDomNodeList.html"><tt>QDomNodeList</tt></a> containing all descendent elements of this element that are called <tt>tagname</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/QDomNodeList.html" title="class in com.trolltech.qt.xml">QDomNodeList</A></CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../com/trolltech/qt/xml/QDomElement.html#elementsByTagNameNS(java.lang.String, java.lang.String)">elementsByTagNameNS</A></B>(java.lang.String nsURI, java.lang.String localName)</CODE> <BR> Returns a <a href="QDomNodeList.html"><tt>QDomNodeList</tt></a> containing all the descendent elements of this element with the local name <tt>localName</tt> and the namespace URI <tt>nsURI</tt>.</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/QDomElement.html" title="class in com.trolltech.qt.xml">QDomElement</A></CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../com/trolltech/qt/xml/QDomElement.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 QDomElement 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/QDomElement.html#hasAttribute(java.lang.String)">hasAttribute</A></B>(java.lang.String name)</CODE> <BR> Returns true if this element has an attribute called <tt>name</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/QDomElement.html#hasAttributeNS(java.lang.String, java.lang.String)">hasAttributeNS</A></B>(java.lang.String nsURI, java.lang.String localName)</CODE> <BR> Returns true if this element has an attribute with the local name <tt>localName</tt> and the namespace URI <tt>nsURI</tt>; otherwise returns false.</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/QDomElement.html#nativePointerArray(com.trolltech.qt.xml.QDomElement[])">nativePointerArray</A></B>(<A HREF="../../../../com/trolltech/qt/xml/QDomElement.html" title="class in com.trolltech.qt.xml">QDomElement</A>[] array)</CODE> <BR> This function returns a QNativePointer that is pointing to the specified QDomElement array.</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/QDomElement.html#removeAttribute(java.lang.String)">removeAttribute</A></B>(java.lang.String name)</CODE> <BR> Removes the attribute called name <tt>name</tt> from this 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/QDomAttr.html" title="class in com.trolltech.qt.xml">QDomAttr</A></CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../com/trolltech/qt/xml/QDomElement.html#removeAttributeNode(com.trolltech.qt.xml.QDomAttr)">removeAttributeNode</A></B>(<A HREF="../../../../com/trolltech/qt/xml/QDomAttr.html" title="class in com.trolltech.qt.xml">QDomAttr</A> oldAttr)</CODE> <BR> Removes the attribute <tt>oldAttr</tt> from the element and returns it.</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/QDomElement.html#removeAttributeNS(java.lang.String, java.lang.String)">removeAttributeNS</A></B>(java.lang.String nsURI, java.lang.String localName)</CODE> <BR> Removes the attribute with the local name <tt>localName</tt> and the namespace URI <tt>nsURI</tt> from this element.</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/QDomElement.html#setAttribute(java.lang.String, double)">setAttribute</A></B>(java.lang.String name, double value)</CODE> <BR> This is an overloaded method provided for convenience.</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/QDomElement.html#setAttribute(java.lang.String, float)">setAttribute</A></B>(java.lang.String name, float value)</CODE> <BR> This is an overloaded method provided for convenience.</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/QDomElement.html#setAttribute(java.lang.String, int)">setAttribute</A></B>(java.lang.String name, int value)</CODE> <BR> This is an overloaded method provided for convenience.</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/QDomElement.html#setAttribute(java.lang.String, long)">setAttribute</A></B>(java.lang.String name, long value)</CODE> <BR> This is an overloaded method provided for convenience.</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/QDomElement.html#setAttribute(java.lang.String, java.lang.String)">setAttribute</A></B>(java.lang.String name, java.lang.String value)</CODE> <BR> Adds an attribute called <tt>name</tt> with value <tt>value</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/QDomElement.html#setAttributeNode(com.trolltech.qt.xml.QDomAttr)">setAttributeNode</A></B>(<A HREF="../../../../com/trolltech/qt/xml/QDomAttr.html" title="class in com.trolltech.qt.xml">QDomAttr</A> newAttr)</CODE> <BR> Adds the attribute <tt>newAttr</tt> to this 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/QDomAttr.html" title="class in com.trolltech.qt.xml">QDomAttr</A></CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../com/trolltech/qt/xml/QDomElement.html#setAttributeNodeNS(com.trolltech.qt.xml.QDomAttr)">setAttributeNodeNS</A></B>(<A HREF="../../../../com/trolltech/qt/xml/QDomAttr.html" title="class in com.trolltech.qt.xml">QDomAttr</A> newAttr)</CODE> <BR> Adds the attribute <tt>newAttr</tt> to this element.</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/QDomElement.html#setAttributeNS(java.lang.String, java.lang.String, double)">setAttributeNS</A></B>(java.lang.String nsURI, java.lang.String qName, double value)</CODE> <BR> This is an overloaded method provided for convenience.</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/QDomElement.html#setAttributeNS(java.lang.String, java.lang.String, int)">setAttributeNS</A></B>(java.lang.String nsURI, java.lang.String qName, int value)</CODE> <BR> This is an overloaded method provided for convenience.</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/QDomElement.html#setAttributeNS(java.lang.String, java.lang.String, long)">setAttributeNS</A></B>(java.lang.String nsURI, java.lang.String qName, long value)</CODE> <BR> This is an overloaded method provided for convenience.</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/QDomElement.html#setAttributeNS(java.lang.String, java.lang.String, java.lang.String)">setAttributeNS</A></B>(java.lang.String nsURI, java.lang.String qName, java.lang.String value)</CODE> <BR> Adds an attribute with the qualified name <tt>qName</tt> and the namespace URI <tt>nsURI</tt> with the value <tt>value</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/QDomElement.html#setTagName(java.lang.String)">setTagName</A></B>(java.lang.String name)</CODE> <BR> Sets this element's tag name to <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/QDomElement.html#tagName()">tagName</A></B>()</CODE> <BR> Returns the tag name of this 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/QDomElement.html#text()">text</A></B>()</CODE> <BR> Returns the element's text or an empty string.</TD> </TR> </TABLE> <A NAME="methods_inherited_from_class_com.trolltech.qt.xml.QDomNode"><!-- --></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.xml.<A HREF="../../../../com/trolltech/qt/xml/QDomNode.html" title="class in com.trolltech.qt.xml">QDomNode</A></B></TH> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD><CODE><A HREF="../../../../com/trolltech/qt/xml/QDomNode.html#appendChild(com.trolltech.qt.xml.QDomNode)">appendChild</A>, <A HREF="../../../../com/trolltech/qt/xml/QDomNode.html#childNodes()">childNodes</A>, <A HREF="../../../../com/trolltech/qt/xml/QDomNode.html#clear()">clear</A>, <A HREF="../../../../com/trolltech/qt/xml/QDomNode.html#cloneNode()">cloneNode</A>, <A HREF="../../../../com/trolltech/qt/xml/QDomNode.html#cloneNode(boolean)">cloneNode</A>, <A HREF="../../../../com/trolltech/qt/xml/QDomNode.html#columnNumber()">columnNumber</A>, <A HREF="../../../../com/trolltech/qt/xml/QDomNode.html#equals(java.lang.Object)">equals</A>, <A HREF="../../../../com/trolltech/qt/xml/QDomNode.html#firstChild()">firstChild</A>, <A HREF="../../../../com/trolltech/qt/xml/QDomNode.html#firstChildElement()">firstChildElement</A>, <A HREF="../../../../com/trolltech/qt/xml/QDomNode.html#firstChildElement(java.lang.String)">firstChildElement</A>, <A HREF="../../../../com/trolltech/qt/xml/QDomNode.html#hasAttributes()">hasAttributes</A>, <A HREF="../../../../com/trolltech/qt/xml/QDomNode.html#hasChildNodes()">hasChildNodes</A>, <A HREF="../../../../com/trolltech/qt/xml/QDomNode.html#insertAfter(com.trolltech.qt.xml.QDomNode, com.trolltech.qt.xml.QDomNode)">insertAfter</A>, <A HREF="../../../../com/trolltech/qt/xml/QDomNode.html#insertBefore(com.trolltech.qt.xml.QDomNode, com.trolltech.qt.xml.QDomNode)">insertBefore</A>, <A HREF="../../../../com/trolltech/qt/xml/QDomNode.html#isAttr()">isAttr</A>, <A HREF="../../../../com/trolltech/qt/xml/QDomNode.html#isCDATASection()">isCDATASection</A>, <A HREF="../../../../com/trolltech/qt/xml/QDomNode.html#isCharacterData()">isCharacterData</A>, <A HREF="../../../../com/trolltech/qt/xml/QDomNode.html#isComment()">isComment</A>, <A HREF="../../../../com/trolltech/qt/xml/QDomNode.html#isDocument()">isDocument</A>, <A HREF="../../../../com/trolltech/qt/xml/QDomNode.html#isDocumentFragment()">isDocumentFragment</A>, <A HREF="../../../../com/trolltech/qt/xml/QDomNode.html#isDocumentType()">isDocumentType</A>, <A HREF="../../../../com/trolltech/qt/xml/QDomNode.html#isElement()">isElement</A>, <A HREF="../../../../com/trolltech/qt/xml/QDomNode.html#isEntity()">isEntity</A>, <A HREF="../../../../com/trolltech/qt/xml/QDomNode.html#isEntityReference()">isEntityReference</A>, <A HREF="../../../../com/trolltech/qt/xml/QDomNode.html#isNotation()">isNotation</A>, <A HREF="../../../../com/trolltech/qt/xml/QDomNode.html#isNull()">isNull</A>, <A HREF="../../../../com/trolltech/qt/xml/QDomNode.html#isProcessingInstruction()">isProcessingInstruction</A>, <A HREF="../../../../com/trolltech/qt/xml/QDomNode.html#isSupported(java.lang.String, java.lang.String)">isSupported</A>, <A HREF="../../../../com/trolltech/qt/xml/QDomNode.html#isText()">isText</A>, <A HREF="../../../../com/trolltech/qt/xml/QDomNode.html#lastChild()">lastChild</A>, <A HREF="../../../../com/trolltech/qt/xml/QDomNode.html#lastChildElement()">lastChildElement</A>, <A HREF="../../../../com/trolltech/qt/xml/QDomNode.html#lastChildElement(java.lang.String)">lastChildElement</A>, <A HREF="../../../../com/trolltech/qt/xml/QDomNode.html#lineNumber()">lineNumber</A>, <A HREF="../../../../com/trolltech/qt/xml/QDomNode.html#localName()">localName</A>, <A HREF="../../../../com/trolltech/qt/xml/QDomNode.html#namedItem(java.lang.String)">namedItem</A>, <A HREF="../../../../com/trolltech/qt/xml/QDomNode.html#namespaceURI()">namespaceURI</A>, <A HREF="../../../../com/trolltech/qt/xml/QDomNode.html#nativePointerArray(com.trolltech.qt.xml.QDomNode[])">nativePointerArray</A>, <A HREF="../../../../com/trolltech/qt/xml/QDomNode.html#nextSibling()">nextSibling</A>, <A HREF="../../../../com/trolltech/qt/xml/QDomNode.html#nextSiblingElement()">nextSiblingElement</A>, <A HREF="../../../../com/trolltech/qt/xml/QDomNode.html#nextSiblingElement(java.lang.String)">nextSiblingElement</A>, <A HREF="../../../../com/trolltech/qt/xml/QDomNode.html#nodeName()">nodeName</A>, <A HREF="../../../../com/trolltech/qt/xml/QDomNode.html#nodeType()">nodeType</A>, <A HREF="../../../../com/trolltech/qt/xml/QDomNode.html#nodeValue()">nodeValue</A>, <A HREF="../../../../com/trolltech/qt/xml/QDomNode.html#normalize()">normalize</A>, <A HREF="../../../../com/trolltech/qt/xml/QDomNode.html#ownerDocument()">ownerDocument</A>, <A HREF="../../../../com/trolltech/qt/xml/QDomNode.html#parentNode()">parentNode</A>, <A HREF="../../../../com/trolltech/qt/xml/QDomNode.html#prefix()">prefix</A>, <A HREF="../../../../com/trolltech/qt/xml/QDomNode.html#previousSibling()">previousSibling</A>, <A HREF="../../../../com/trolltech/qt/xml/QDomNode.html#previousSiblingElement()">previousSiblingElement</A>, <A HREF="../../../../com/trolltech/qt/xml/QDomNode.html#previousSiblingElement(java.lang.String)">previousSiblingElement</A>, <A HREF="../../../../com/trolltech/qt/xml/QDomNode.html#removeChild(com.trolltech.qt.xml.QDomNode)">removeChild</A>, <A HREF="../../../../com/trolltech/qt/xml/QDomNode.html#replaceChild(com.trolltech.qt.xml.QDomNode, com.trolltech.qt.xml.QDomNode)">replaceChild</A>, <A HREF="../../../../com/trolltech/qt/xml/QDomNode.html#save(com.trolltech.qt.core.QTextStream, int)">save</A>, <A HREF="../../../../com/trolltech/qt/xml/QDomNode.html#save(com.trolltech.qt.core.QTextStream, int, com.trolltech.qt.xml.QDomNode.EncodingPolicy)">save</A>, <A HREF="../../../../com/trolltech/qt/xml/QDomNode.html#setNodeValue(java.lang.String)">setNodeValue</A>, <A HREF="../../../../com/trolltech/qt/xml/QDomNode.html#setPrefix(java.lang.String)">setPrefix</A>, <A HREF="../../../../com/trolltech/qt/xml/QDomNode.html#toAttr()">toAttr</A>, <A HREF="../../../../com/trolltech/qt/xml/QDomNode.html#toCDATASection()">toCDATASection</A>, <A HREF="../../../../com/trolltech/qt/xml/QDomNode.html#toCharacterData()">toCharacterData</A>, <A HREF="../../../../com/trolltech/qt/xml/QDomNode.html#toComment()">toComment</A>, <A HREF="../../../../com/trolltech/qt/xml/QDomNode.html#toDocument()">toDocument</A>, <A HREF="../../../../com/trolltech/qt/xml/QDomNode.html#toDocumentFragment()">toDocumentFragment</A>, <A HREF="../../../../com/trolltech/qt/xml/QDomNode.html#toDocumentType()">toDocumentType</A>, <A HREF="../../../../com/trolltech/qt/xml/QDomNode.html#toElement()">toElement</A>, <A HREF="../../../../com/trolltech/qt/xml/QDomNode.html#toEntity()">toEntity</A>, <A HREF="../../../../com/trolltech/qt/xml/QDomNode.html#toEntityReference()">toEntityReference</A>, <A HREF="../../../../com/trolltech/qt/xml/QDomNode.html#toNotation()">toNotation</A>, <A HREF="../../../../com/trolltech/qt/xml/QDomNode.html#toProcessingInstruction()">toProcessingInstruction</A>, <A HREF="../../../../com/trolltech/qt/xml/QDomNode.html#toText()">toText</A>, <A HREF="../../../../com/trolltech/qt/xml/QDomNode.html#writeTo(com.trolltech.qt.core.QTextStream)">writeTo</A></CODE></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="QDomElement()"><!-- --></A><H3> QDomElement</H3> <PRE> public <B>QDomElement</B>()</PRE> <DL> <DD><p>Constructs an empty element. Use the QDomDocument::createElement() function to construct elements with content.</p> <P> </DL> <HR> <A NAME="QDomElement(com.trolltech.qt.xml.QDomElement)"><!-- --></A><H3> QDomElement</H3> <PRE> public <B>QDomElement</B>(<A HREF="../../../../com/trolltech/qt/xml/QDomElement.html" title="class in com.trolltech.qt.xml">QDomElement</A> x)</PRE> <DL> <DD><p>Constructs a copy of <tt>x</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="attribute(java.lang.String)"><!-- --></A><H3> attribute</H3> <PRE> public final java.lang.String <B>attribute</B>(java.lang.String name)</PRE> <DL> <DD><p>Equivalent to <a href="QDomElement.html#attribute(java.lang.String, java.lang.String)">attribute</tt></a>(<tt>name</tt>, QString()). <P> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="attribute(java.lang.String, java.lang.String)"><!-- --></A><H3> attribute</H3> <PRE> public final java.lang.String <B>attribute</B>(java.lang.String name, java.lang.String defValue)</PRE> <DL> <DD><p>Returns the attribute called <tt>name</tt>. If the attribute does not exist <tt>defValue</tt> is returned.</p> <P> <DD><DL> <DT><B>See Also:</B><DD><a href="QDomElement.html#setAttribute(java.lang.String, long)"><tt>setAttribute</tt></a>, <a href="QDomElement.html#attributeNode(java.lang.String)"><tt>attributeNode</tt></a>, <a href="QDomElement.html#setAttributeNode(com.trolltech.qt.xml.QDomAttr)"><tt>setAttributeNode</tt></a>, <a href="QDomElement.html#attributeNS(java.lang.String, java.lang.String, java.lang.String)"><tt>attributeNS</tt></a></DL> </DD> </DL> <HR> <A NAME="attributeNS(java.lang.String, java.lang.String)"><!-- --></A><H3> attributeNS</H3> <PRE> public final java.lang.String <B>attributeNS</B>(java.lang.String nsURI, java.lang.String localName)</PRE> <DL> <DD><p>Equivalent to <a href="QDomElement.html#attributeNS(java.lang.String, java.lang.String, java.lang.String)"><tt>attributeNS</tt></a>(<tt>nsURI</tt>, <tt>localName</tt>, QString()). <P> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="attributeNS(java.lang.String, java.lang.String, java.lang.String)"><!-- --></A><H3> attributeNS</H3> <PRE> public final java.lang.String <B>attributeNS</B>(java.lang.String nsURI, java.lang.String localName, java.lang.String defValue)</PRE> <DL> <DD><p>Returns the attribute with the local name <tt>localName</tt> and the namespace URI <tt>nsURI</tt>. If the attribute does not exist <tt>defValue</tt> is returned.</p> <P> <DD><DL> <DT><B>See Also:</B><DD><a href="QDomElement.html#setAttributeNS(java.lang.String, java.lang.String, long)"><tt>setAttributeNS</tt></a>, <a href="QDomElement.html#attributeNodeNS(java.lang.String, java.lang.String)"><tt>attributeNodeNS</tt></a>, <a href="QDomElement.html#setAttributeNodeNS(com.trolltech.qt.xml.QDomAttr)"><tt>setAttributeNodeNS</tt></a>, <a href="QDomElement.html#attribute(java.lang.String, java.lang.String)"><tt>attribute</tt></a></DL> </DD> </DL> <HR> <A NAME="attributeNode(java.lang.String)"><!-- --></A><H3> attributeNode</H3> <PRE> public final <A HREF="../../../../com/trolltech/qt/xml/QDomAttr.html" title="class in com.trolltech.qt.xml">QDomAttr</A> <B>attributeNode</B>(java.lang.String name)</PRE> <DL> <DD><p>Returns the <a href="QDomAttr.html"><tt>QDomAttr</tt></a> object that corresponds to the attribute called <tt>name</tt>. If no such attribute exists a null attribute</tt> is returned.</p> <P> <DD><DL> <DT><B>See Also:</B><DD><a href="QDomElement.html#setAttributeNode(com.trolltech.qt.xml.QDomAttr)"><tt>setAttributeNode</tt></a>, <a href="QDomElement.html#attribute(java.lang.String, java.lang.String)"><tt>attribute</tt></a>, <a href="QDomElement.html#setAttribute(java.lang.String, long)"><tt>setAttribute</tt></a>, <a href="QDomElement.html#attributeNodeNS(java.lang.String, java.lang.String)"><tt>attributeNodeNS</tt></a></DL> </DD> </DL> <HR> <A NAME="attributeNodeNS(java.lang.String, java.lang.String)"><!-- --></A><H3> attributeNodeNS</H3> <PRE> public final <A HREF="../../../../com/trolltech/qt/xml/QDomAttr.html" title="class in com.trolltech.qt.xml">QDomAttr</A> <B>attributeNodeNS</B>(java.lang.String nsURI, java.lang.String localName)</PRE> <DL> <DD><p>Returns the <a href="QDomAttr.html"><tt>QDomAttr</tt></a> object that corresponds to the attribute with the local name <tt>localName</tt> and the namespace URI <tt>nsURI</tt>. If no such attribute exists a null attribute</tt> is returned.</p> <P> <DD><DL> <DT><B>See Also:</B><DD><a href="QDomElement.html#setAttributeNodeNS(com.trolltech.qt.xml.QDomAttr)"><tt>setAttributeNodeNS</tt></a>, <a href="QDomElement.html#setAttributeNode(com.trolltech.qt.xml.QDomAttr)"><tt>setAttributeNode</tt></a>, <a href="QDomElement.html#attribute(java.lang.String, java.lang.String)"><tt>attribute</tt></a>, <a href="QDomElement.html#setAttribute(java.lang.String, long)"><tt>setAttribute</tt></a></DL> </DD> </DL> <HR> <A NAME="attributes()"><!-- --></A><H3> attributes</H3> <PRE> public final <A HREF="../../../../com/trolltech/qt/xml/QDomNamedNodeMap.html" title="class in com.trolltech.qt.xml">QDomNamedNodeMap</A> <B>attributes</B>()</PRE> <DL> <DD><p>Returns a <a href="QDomNamedNodeMap.html"><tt>QDomNamedNodeMap</tt></a> containing all this element's attributes.</p> <P> <DD><DL> <DT><B>See Also:</B><DD><a href="QDomElement.html#attribute(java.lang.String, java.lang.String)"><tt>attribute</tt></a>, <a href="QDomElement.html#setAttribute(java.lang.String, long)"><tt>setAttribute</tt></a>, <a href="QDomElement.html#attributeNode(java.lang.String)"><tt>attributeNode</tt></a>, <a href="QDomElement.html#setAttributeNode(com.trolltech.qt.xml.QDomAttr)"><tt>setAttributeNode</tt></a></DL> </DD> </DL> <HR> <A NAME="elementsByTagName(java.lang.String)"><!-- --></A><H3> elementsByTagName</H3> <PRE> public final <A HREF="../../../../com/trolltech/qt/xml/QDomNodeList.html" title="class in com.trolltech.qt.xml">QDomNodeList</A> <B>elementsByTagName</B>(java.lang.String tagname)</PRE> <DL> <DD><p>Returns a <a href="QDomNodeList.html"><tt>QDomNodeList</tt></a> containing all descendent elements of this element that are called <tt>tagname</tt>. The order they are in the node list is the order they are encountered in a preorder traversal of the element tree.</p> <P> <DD><DL> <DT><B>See Also:</B><DD><a href="QDomElement.html#elementsByTagNameNS(java.lang.String, java.lang.String)"><tt>elementsByTagNameNS</tt></a>, <tt>QDomDocument::elementsByTagName</tt></DL> </DD> </DL> <HR> <A NAME="elementsByTagNameNS(java.lang.String, java.lang.String)"><!-- --></A><H3> elementsByTagNameNS</H3> <PRE> public final <A HREF="../../../../com/trolltech/qt/xml/QDomNodeList.html" title="class in com.trolltech.qt.xml">QDomNodeList</A> <B>elementsByTagNameNS</B>(java.lang.String nsURI, java.lang.String localName)</PRE> <DL> <DD><p>Returns a <a href="QDomNodeList.html"><tt>QDomNodeList</tt></a> containing all the descendent elements of this element with the local name <tt>localName</tt> and the namespace URI <tt>nsURI</tt>. The order they are in the node list is the order they are encountered in a preorder traversal of the element tree.</p> <P> <DD><DL> <DT><B>See Also:</B><DD><a href="QDomElement.html#elementsByTagName(java.lang.String)"><tt>elementsByTagName</tt></a>, <tt>QDomDocument::elementsByTagNameNS</tt></DL> </DD> </DL> <HR> <A NAME="hasAttribute(java.lang.String)"><!-- --></A><H3> hasAttribute</H3> <PRE> public final boolean <B>hasAttribute</B>(java.lang.String name)</PRE> <DL> <DD><p>Returns true if this element has an attribute called <tt>name</tt>; otherwise returns false.</p> <p><b>Note:</b> This function does not take the presence of namespaces into account. As a result, the specified name will be tested against fully-qualified attribute names that include any namespace prefixes that may be present.</p> <p>Use <a href="QDomElement.html#hasAttributeNS(java.lang.String, java.lang.String)"><tt>hasAttributeNS</tt></a> to explicitly test for attributes with specific namespaces and names.</p> <P> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="hasAttributeNS(java.lang.String, java.lang.String)"><!-- --></A><H3> hasAttributeNS</H3> <PRE> public final boolean <B>hasAttributeNS</B>(java.lang.String nsURI, java.lang.String localName)</PRE> <DL> <DD><p>Returns true if this element has an attribute with the local name <tt>localName</tt> and the namespace URI <tt>nsURI</tt>; otherwise returns false.</p> <P> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="removeAttribute(java.lang.String)"><!-- --></A><H3> removeAttribute</H3> <PRE> public final void <B>removeAttribute</B>(java.lang.String name)</PRE> <DL> <DD><p>Removes the attribute called name <tt>name</tt> from this element.</p> <P> <DD><DL> <DT><B>See Also:</B><DD><a href="QDomElement.html#setAttribute(java.lang.String, long)"><tt>setAttribute</tt></a>, <a href="QDomElement.html#attribute(java.lang.String, java.lang.String)"><tt>attribute</tt></a>, <a href="QDomElement.html#removeAttributeNS(java.lang.String, java.lang.String)"><tt>removeAttributeNS</tt></a></DL> </DD> </DL> <HR> <A NAME="removeAttributeNS(java.lang.String, java.lang.String)"><!-- --></A><H3> removeAttributeNS</H3> <PRE> public final void <B>removeAttributeNS</B>(java.lang.String nsURI, java.lang.String localName)</PRE> <DL> <DD><p>Removes the attribute with the local name <tt>localName</tt> and the namespace URI <tt>nsURI</tt> from this element.</p> <P> <DD><DL> <DT><B>See Also:</B><DD><a href="QDomElement.html#setAttributeNS(java.lang.String, java.lang.String, long)"><tt>setAttributeNS</tt></a>, <a href="QDomElement.html#attributeNS(java.lang.String, java.lang.String, java.lang.String)"><tt>attributeNS</tt></a>, <a href="QDomElement.html#removeAttribute(java.lang.String)"><tt>removeAttribute</tt></a></DL> </DD> </DL> <HR> <A NAME="removeAttributeNode(com.trolltech.qt.xml.QDomAttr)"><!-- --></A><H3> removeAttributeNode</H3> <PRE> public final <A HREF="../../../../com/trolltech/qt/xml/QDomAttr.html" title="class in com.trolltech.qt.xml">QDomAttr</A> <B>removeAttributeNode</B>(<A HREF="../../../../com/trolltech/qt/xml/QDomAttr.html" title="class in com.trolltech.qt.xml">QDomAttr</A> oldAttr)</PRE> <DL> <DD><p>Removes the attribute <tt>oldAttr</tt> from the element and returns it.</p> <P> <DD><DL> <DT><B>See Also:</B><DD><a href="QDomElement.html#attributeNode(java.lang.String)"><tt>attributeNode</tt></a>, <a href="QDomElement.html#setAttributeNode(com.trolltech.qt.xml.QDomAttr)"><tt>setAttributeNode</tt></a></DL> </DD> </DL> <HR> <A NAME="setAttribute(java.lang.String, float)"><!-- --></A><H3> setAttribute</H3> <PRE> public final void <B>setAttribute</B>(java.lang.String name, float value)</PRE> <DL> <DD>This is an overloaded method provided for convenience. <P> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="setAttribute(java.lang.String, double)"><!-- --></A><H3> setAttribute</H3> <PRE> public final void <B>setAttribute</B>(java.lang.String name, double value)</PRE> <DL> <DD>This is an overloaded method provided for convenience. <P> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="setAttribute(java.lang.String, long)"><!-- --></A><H3> setAttribute</H3> <PRE> public final void <B>setAttribute</B>(java.lang.String name, long value)</PRE> <DL> <DD>This is an overloaded method provided for convenience. <P> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="setAttribute(java.lang.String, int)"><!-- --></A><H3> setAttribute</H3> <PRE> public final void <B>setAttribute</B>(java.lang.String name, int value)</PRE> <DL> <DD>This is an overloaded method provided for convenience. <P> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="setAttribute(java.lang.String, java.lang.String)"><!-- --></A><H3> setAttribute</H3> <PRE> public final void <B>setAttribute</B>(java.lang.String name, java.lang.String value)</PRE> <DL> <DD><p>Adds an attribute called <tt>name</tt> with value <tt>value</tt>. If an attribute with the same name exists, its value is replaced by <tt>value</tt>.</p> <P> <DD><DL> <DT><B>See Also:</B><DD><a href="QDomElement.html#attribute(java.lang.String, java.lang.String)"><tt>attribute</tt></a>, <a href="QDomElement.html#setAttributeNode(com.trolltech.qt.xml.QDomAttr)"><tt>setAttributeNode</tt></a>, <a href="QDomElement.html#setAttributeNS(java.lang.String, java.lang.String, long)"><tt>setAttributeNS</tt></a></DL> </DD> </DL> <HR> <A NAME="setAttributeNS(java.lang.String, java.lang.String, java.lang.String)"><!-- --></A><H3> setAttributeNS</H3> <PRE> public final void <B>setAttributeNS</B>(java.lang.String nsURI, java.lang.String qName, java.lang.String value)</PRE> <DL> <DD><p>Adds an attribute with the qualified name <tt>qName</tt> and the namespace URI <tt>nsURI</tt> with the value <tt>value</tt>. If an attribute with the same local name and namespace URI exists, its prefix is replaced by the prefix of <tt>qName</tt> and its value is repaced by <tt>value</tt>.</p> <p>Although <tt>qName</tt> is the qualified name, the local name is used to decide if an existing attribute's value should be replaced.</p> <P> <DD><DL> <DT><B>See Also:</B><DD><a href="QDomElement.html#attributeNS(java.lang.String, java.lang.String, java.lang.String)"><tt>attributeNS</tt></a>, <a href="QDomElement.html#setAttributeNodeNS(com.trolltech.qt.xml.QDomAttr)"><tt>setAttributeNodeNS</tt></a>, <a href="QDomElement.html#setAttribute(java.lang.String, long)"><tt>setAttribute</tt></a></DL> </DD> </DL> <HR> <A NAME="setAttributeNS(java.lang.String, java.lang.String, int)"><!-- --></A><H3> setAttributeNS</H3> <PRE> public final void <B>setAttributeNS</B>(java.lang.String nsURI, java.lang.String qName, int value)</PRE> <DL> <DD>This is an overloaded method provided for convenience. <P> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="setAttributeNS(java.lang.String, java.lang.String, double)"><!-- --></A><H3> setAttributeNS</H3> <PRE> public final void <B>setAttributeNS</B>(java.lang.String nsURI, java.lang.String qName, double value)</PRE> <DL> <DD>This is an overloaded method provided for convenience. <P> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="setAttributeNS(java.lang.String, java.lang.String, long)"><!-- --></A><H3> setAttributeNS</H3> <PRE> public final void <B>setAttributeNS</B>(java.lang.String nsURI, java.lang.String qName, long value)</PRE> <DL> <DD>This is an overloaded method provided for convenience. <P> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="setAttributeNode(com.trolltech.qt.xml.QDomAttr)"><!-- --></A><H3> setAttributeNode</H3> <PRE> public final <A HREF="../../../../com/trolltech/qt/xml/QDomAttr.html" title="class in com.trolltech.qt.xml">QDomAttr</A> <B>setAttributeNode</B>(<A HREF="../../../../com/trolltech/qt/xml/QDomAttr.html" title="class in com.trolltech.qt.xml">QDomAttr</A> newAttr)</PRE> <DL> <DD><p>Adds the attribute <tt>newAttr</tt> to this element.</p> <p>If the element has another attribute that has the same name as <tt>newAttr</tt>, this function replaces that attribute and returns it; otherwise the function returns a null attribute</tt>.</p> <P> <DD><DL> <DT><B>See Also:</B><DD><a href="QDomElement.html#attributeNode(java.lang.String)"><tt>attributeNode</tt></a>, <a href="QDomElement.html#setAttribute(java.lang.String, long)"><tt>setAttribute</tt></a>, <a href="QDomElement.html#setAttributeNodeNS(com.trolltech.qt.xml.QDomAttr)"><tt>setAttributeNodeNS</tt></a></DL> </DD> </DL> <HR> <A NAME="setAttributeNodeNS(com.trolltech.qt.xml.QDomAttr)"><!-- --></A><H3> setAttributeNodeNS</H3> <PRE> public final <A HREF="../../../../com/trolltech/qt/xml/QDomAttr.html" title="class in com.trolltech.qt.xml">QDomAttr</A> <B>setAttributeNodeNS</B>(<A HREF="../../../../com/trolltech/qt/xml/QDomAttr.html" title="class in com.trolltech.qt.xml">QDomAttr</A> newAttr)</PRE> <DL> <DD><p>Adds the attribute <tt>newAttr</tt> to this element.</p> <p>If the element has another attribute that has the same local name and namespace URI as <tt>newAttr</tt>, this function replaces that attribute and returns it; otherwise the function returns a null attribute</tt>.</p> <P> <DD><DL> <DT><B>See Also:</B><DD><a href="QDomElement.html#attributeNodeNS(java.lang.String, java.lang.String)"><tt>attributeNodeNS</tt></a>, <a href="QDomElement.html#setAttributeNS(java.lang.String, java.lang.String, long)"><tt>setAttributeNS</tt></a>, <a href="QDomElement.html#setAttributeNode(com.trolltech.qt.xml.QDomAttr)"><tt>setAttributeNode</tt></a></DL> </DD> </DL> <HR> <A NAME="setTagName(java.lang.String)"><!-- --></A><H3> setTagName</H3> <PRE> public final void <B>setTagName</B>(java.lang.String name)</PRE> <DL> <DD><p>Sets this element's tag name to <tt>name</tt>.</p> <P> <DD><DL> <DT><B>See Also:</B><DD><a href="QDomElement.html#tagName()"><tt>tagName</tt></a></DL> </DD> </DL> <HR> <A NAME="tagName()"><!-- --></A><H3> tagName</H3> <PRE> public final java.lang.String <B>tagName</B>()</PRE> <DL> <DD><p>Returns the tag name of this element. For an XML element like this:</p> <pre> <img src="myimg.png"></pre> <p>the tagname would return "img".</p> <P> <DD><DL> <DT><B>See Also:</B><DD><a href="QDomElement.html#setTagName(java.lang.String)"><tt>setTagName</tt></a></DL> </DD> </DL> <HR> <A NAME="text()"><!-- --></A><H3> text</H3> <PRE> public final java.lang.String <B>text</B>()</PRE> <DL> <DD><p>Returns the element's text or an empty string.</p> <p>Example:</p> <pre> <h1>Hello <b>Qt</b> <![CDATA[<xml is cool>]]></h1></pre> <p>The function <a href="QDomElement.html#text()"><tt>text</tt></a> of the <a href="QDomElement.html#QDomElement(com.trolltech.qt.xml.QDomElement)"><tt>QDomElement</tt></a> for the <tt><h1></tt> tag, will return the following text:</p> <pre> Hello Qt &lt;xml is cool&gt;</pre> <p>Comments are ignored by this function. It only evaluates <a href="QDomText.html"><tt>QDomText</tt></a> and <a href="QDomCDATASection.html"><tt>QDomCDATASection</tt></a> objects.</p> <P> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="fromNativePointer(com.trolltech.qt.QNativePointer)"><!-- --></A><H3> fromNativePointer</H3> <PRE> public static <A HREF="../../../../com/trolltech/qt/xml/QDomElement.html" title="class in com.trolltech.qt.xml">QDomElement</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 QDomElement 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.QDomElement[])"><!-- --></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/QDomElement.html" title="class in com.trolltech.qt.xml">QDomElement</A>[] array)</PRE> <DL> <DD>This function returns a QNativePointer that is pointing to the specified QDomElement 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> <!-- ========= 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/QDomDocumentType.html" title="class in com.trolltech.qt.xml"><B>PREV CLASS</B></A> <A HREF="../../../../com/trolltech/qt/xml/QDomEntity.html" title="class in com.trolltech.qt.xml"><B>NEXT CLASS</B></A></FONT></TD> <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> <A HREF="../../../../index.html?com/trolltech/qt/xml/QDomElement.html" target="_top"><B>FRAMES</B></A> <A HREF="QDomElement.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_classes_inherited_from_class_com.trolltech.qt.xml.QDomNode">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>