XQuilla/docs/dom3-api/classxercesc_1_1DOMNodeList.html
2020-02-17 22:13:50 +01:00

188 lines
8.8 KiB
HTML

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1">
<title>XQilla DOM3 API Documentation</title>
<link href="doxygen.css" rel="stylesheet" type="text/css">
<link href="tabs.css" rel="stylesheet" type="text/css">
</head><body>
<a style="float:right;" href="http://sourceforge.net/projects/xqilla"><img src="http://sflogo.sourceforge.net/sflogo.php?group_id=152021&amp;type=2" border="0" alt="SourceForge.net Logo" /></a>
<!-- Generated by Doxygen 1.5.1 -->
<div class="tabs">
<ul>
<li><a href="index.html"><span>Main&nbsp;Page</span></a></li>
<li><a href="namespaces.html"><span>Namespaces</span></a></li>
<li id="current"><a href="classes.html"><span>Classes</span></a></li>
<li><a href="files.html"><span>Files</span></a></li>
</ul></div>
<div class="tabs">
<ul>
<li><a href="classes.html"><span>Alphabetical&nbsp;List</span></a></li>
<li><a href="annotated.html"><span>Class&nbsp;List</span></a></li>
<li><a href="hierarchy.html"><span>Class&nbsp;Hierarchy</span></a></li>
<li><a href="functions.html"><span>Class&nbsp;Members</span></a></li>
</ul></div>
<div class="nav">
<a class="el" href="namespacexercesc.html">xercesc</a>::<a class="el" href="classxercesc_1_1DOMNodeList.html">DOMNodeList</a></div>
<h1>xercesc::DOMNodeList Class Reference</h1><!-- doxytag: class="xercesc::DOMNodeList" -->The <code><a class="el" href="classxercesc_1_1DOMNodeList.html">DOMNodeList</a></code> interface provides the abstraction of an ordered collection of nodes.
<a href="#_details">More...</a>
<p>
<code>#include &lt;<a class="el" href="DOMNodeList_8hpp-source.html">DOMNodeList.hpp</a>&gt;</code>
<p>
<a href="classxercesc_1_1DOMNodeList-members.html">List of all members.</a><table border="0" cellpadding="0" cellspacing="0">
<tr><td></td></tr>
<tr><td colspan="2"><br><h2>Public Member Functions</h2></td></tr>
<tr><td colspan="2"><div class="groupHeader">Functions introduced in DOM Level 1</div></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual <a class="el" href="classxercesc_1_1DOMNode.html">DOMNode</a> *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classxercesc_1_1DOMNodeList.html#b6255ce0da052070672c96a2e6237fe4">item</a> (XMLSize_t index) const=0</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Returns the <code>index</code> item in the collection. <a href="#b6255ce0da052070672c96a2e6237fe4"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual XMLSize_t&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classxercesc_1_1DOMNodeList.html#4619e2efc506595a87e7b308dc443ce6">getLength</a> () const=0</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Returns the number of nodes in the list. <a href="#4619e2efc506595a87e7b308dc443ce6"></a><br></td></tr>
</table>
<hr><a name="_details"></a><h2>Detailed Description</h2>
The <code><a class="el" href="classxercesc_1_1DOMNodeList.html">DOMNodeList</a></code> interface provides the abstraction of an ordered collection of nodes.
<p>
DOMNodeLists are created by <a class="el" href="classxercesc_1_1DOMDocument.html#af893c3414d8c80270a31e5079bb6912">DOMDocument::getElementsByTagName()</a>, <a class="el" href="classxercesc_1_1DOMNode.html#705593d2273ff592ef800f1bba35be47">DOMNode::getChildNodes()</a>,<p>
The items in the <code><a class="el" href="classxercesc_1_1DOMNodeList.html">DOMNodeList</a></code> are accessible via an integral index, starting from 0.<p>
DOMNodeLists are "live", in that any changes to the document tree are immediately reflected in any DOMNodeLists that may have been created for that tree.
<p>
<hr><h2>Constructor &amp; Destructor Documentation</h2>
<a class="anchor" name="2f003459defa460fcdb98a2e6ed3372a"></a><!-- doxytag: member="xercesc::DOMNodeList::DOMNodeList" ref="2f003459defa460fcdb98a2e6ed3372a" args="()" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">xercesc::DOMNodeList::DOMNodeList </td>
<td>(</td>
<td class="paramname"> </td>
<td>&nbsp;)&nbsp;</td>
<td width="100%"><code> [inline, protected]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
</div>
</div><p>
<a class="anchor" name="ff0ee902aa9926da91956f2a3d7da05a"></a><!-- doxytag: member="xercesc::DOMNodeList::~DOMNodeList" ref="ff0ee902aa9926da91956f2a3d7da05a" args="()" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">virtual xercesc::DOMNodeList::~DOMNodeList </td>
<td>(</td>
<td class="paramname"> </td>
<td>&nbsp;)&nbsp;</td>
<td width="100%"><code> [inline, virtual]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
Destructor.
<p>
</div>
</div><p>
<a class="anchor" name="2f003459defa460fcdb98a2e6ed3372a"></a><!-- doxytag: member="xercesc::DOMNodeList::DOMNodeList" ref="2f003459defa460fcdb98a2e6ed3372a" args="()" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">xercesc::DOMNodeList::DOMNodeList </td>
<td>(</td>
<td class="paramname"> </td>
<td>&nbsp;)&nbsp;</td>
<td width="100%"><code> [inline, protected]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
</div>
</div><p>
<a class="anchor" name="ff0ee902aa9926da91956f2a3d7da05a"></a><!-- doxytag: member="xercesc::DOMNodeList::~DOMNodeList" ref="ff0ee902aa9926da91956f2a3d7da05a" args="()" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">virtual xercesc::DOMNodeList::~DOMNodeList </td>
<td>(</td>
<td class="paramname"> </td>
<td>&nbsp;)&nbsp;</td>
<td width="100%"><code> [inline, virtual]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
Destructor.
<p>
</div>
</div><p>
<hr><h2>Member Function Documentation</h2>
<a class="anchor" name="b6255ce0da052070672c96a2e6237fe4"></a><!-- doxytag: member="xercesc::DOMNodeList::item" ref="b6255ce0da052070672c96a2e6237fe4" args="(XMLSize_t index) const=0" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">virtual <a class="el" href="classxercesc_1_1DOMNode.html">DOMNode</a>* xercesc::DOMNodeList::item </td>
<td>(</td>
<td class="paramtype">XMLSize_t&nbsp;</td>
<td class="paramname"> <em>index</em> </td>
<td>&nbsp;)&nbsp;</td>
<td width="100%"> const<code> [pure virtual]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
Returns the <code>index</code> item in the collection.
<p>
If <code>index</code> is greater than or equal to the number of nodes in the list, this returns <code>null</code>.<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
<table border="0" cellspacing="2" cellpadding="0">
<tr><td valign="top"></td><td valign="top"><em>index</em>&nbsp;</td><td>Index into the collection. </td></tr>
</table>
</dl>
<dl class="return" compact><dt><b>Returns:</b></dt><dd>The node at the <code>index</code>th position in the <code><a class="el" href="classxercesc_1_1DOMNodeList.html">DOMNodeList</a></code>, or <code>null</code> if that is not a valid index. </dd></dl>
<dl class="since" compact><dt><b>Since:</b></dt><dd>DOM Level 1 </dd></dl>
</div>
</div><p>
<a class="anchor" name="4619e2efc506595a87e7b308dc443ce6"></a><!-- doxytag: member="xercesc::DOMNodeList::getLength" ref="4619e2efc506595a87e7b308dc443ce6" args="() const=0" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">virtual XMLSize_t xercesc::DOMNodeList::getLength </td>
<td>(</td>
<td class="paramname"> </td>
<td>&nbsp;)&nbsp;</td>
<td width="100%"> const<code> [pure virtual]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
Returns the number of nodes in the list.
<p>
The range of valid child node indices is 0 to <code>length-1</code> inclusive. <dl class="since" compact><dt><b>Since:</b></dt><dd>DOM Level 1 </dd></dl>
</div>
</div><p>
<hr>The documentation for this class was generated from the following file:<ul>
<li><a class="el" href="DOMNodeList_8hpp-source.html">DOMNodeList.hpp</a></ul>
<hr size="1"><address style="align: right;"><small>Generated on Tue Apr 8 14:29:46 2008 for XQilla DOM Level 3 API by&nbsp;
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.1 </small></address>
</body>
</html>