<class name="QDomNodeList" doc="/** <p>The <a href="QDomNodeList.html#QDomNodeList(com.trolltech.qt.xml.QDomNodeList)"><tt>QDomNodeList</tt></a> class is a list of <a href="QDomNode.html"><tt>QDomNode</tt></a> objects.</p> <p>Lists can be obtained by QDomDocument::elementsByTagName() and QDomNode::childNodes(). The Document Object Model (DOM) requires these lists to be &quot;live&quot;: whenever you change the underlying document, the contents of the list will get updated.</p> <p>You can get a particular node from the list with <a href="QDomNodeList.html#item(int)"><tt>item</tt></a>. The number of items in the list is returned by <a href="QDomNodeList.html#length()"><tt>length</tt></a>.</p> <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> @see <tt>QDomNode::childNodes</tt> @see <tt>QDomDocument::elementsByTagName</tt> */"> <method name="public QDomNodeList()" doc="/** <p>Creates an empty node list.</p> */"/> <method name="public QDomNodeList(com.trolltech.qt.xml.QDomNodeList arg__1)" doc="/** <p>Constructs a copy of <tt>arg__1</tt>.</p> */"/> <method name="public final com.trolltech.qt.xml.QDomNode at(int index)" doc="/** <p>This function is provided for Qt API consistency. It is equivalent to <a href="QDomNodeList.html#item(int)"><tt>item</tt></a>.</p> <p>If <tt>index</tt> is negative or if <tt>index</tt> &gt;= <a href="QDomNodeList.html#length()"><tt>length</tt></a> then a null node is returned (i.e&#x2e; a node for which QDomNode::isNull() returns true).</p> */"/> <method name="public final int count()" doc="/** <p>This function is provided for Qt API consistency. It is equivalent to <a href="QDomNodeList.html#length()"><tt>length</tt></a>.</p> */"/> <method name="public final boolean isEmpty()" doc="/** <p>Returns true if the list contains no items; otherwise returns false. This function is provided for Qt API consistency.</p> */"/> <method name="public final com.trolltech.qt.xml.QDomNode item(int index)" doc="/** <p>Returns the node at position <tt>index</tt>.</p> <p>If <tt>index</tt> is negative or if <tt>index</tt> &gt;= <a href="QDomNodeList.html#length()"><tt>length</tt></a> then a null node is returned (i.e&#x2e; a node for which QDomNode::isNull() returns true).</p> @see <a href="QDomNodeList.html#length()"><tt>length</tt></a> */"/> <method name="public final int length()" doc="/** <p>Returns the number of nodes in the list.</p> */"/> <method name="public final int size()" doc="/** <p>This function is provided for Qt API consistency. It is equivalent to <a href="QDomNodeList.html#length()"><tt>length</tt></a>.</p> */"/> </class>