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

192 lines
10 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.8.5 -->
<div id="navrow1" class="tabs">
<ul class="tablist">
<li><a href="index.html"><span>Main&#160;Page</span></a></li>
<li><a href="namespaces.html"><span>Namespaces</span></a></li>
<li class="current"><a href="annotated.html"><span>Classes</span></a></li>
<li><a href="files.html"><span>Files</span></a></li>
<li><a href="examples.html"><span>Examples</span></a></li>
</ul>
</div>
<div id="navrow2" class="tabs2">
<ul class="tablist">
<li><a href="annotated.html"><span>Class&#160;List</span></a></li>
<li><a href="classes.html"><span>Class&#160;Index</span></a></li>
<li><a href="inherits.html"><span>Class&#160;Hierarchy</span></a></li>
<li><a href="functions.html"><span>Class&#160;Members</span></a></li>
</ul>
</div>
<div id="nav-path" class="navpath">
<ul>
<li class="navelem"><a class="el" href="namespacexercesc.html">xercesc</a></li><li class="navelem"><a class="el" href="classxercesc_1_1DOMNodeList.html">DOMNodeList</a></li> </ul>
</div>
</div><!-- top -->
<div class="header">
<div class="summary">
<a href="classxercesc_1_1DOMNodeList-members.html">List of all members</a> </div>
<div class="headertitle">
<div class="title">xercesc::DOMNodeList Class Reference<span class="mlabels"><span class="mlabel">abstract</span></span></div> </div>
</div><!--header-->
<div class="contents">
<p>The <code><a class="el" href="classxercesc_1_1DOMNodeList.html" title="The DOMNodeList interface provides the abstraction of an ordered collection of nodes. ">DOMNodeList</a></code> interface provides the abstraction of an ordered collection of nodes.
<a href="classxercesc_1_1DOMNodeList.html#details">More...</a></p>
<p><code>#include &lt;<a class="el" href="DOMNodeList_8hpp_source.html">DOMNodeList.hpp</a>&gt;</code></p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr><td colspan="2"><div class="groupHeader">Destructor</div></td></tr>
<tr class="memitem:aff0ee902aa9926da91956f2a3d7da05a"><td class="memItemLeft" align="right" valign="top">virtual&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classxercesc_1_1DOMNodeList.html#aff0ee902aa9926da91956f2a3d7da05a">~DOMNodeList</a> ()</td></tr>
<tr class="memdesc:aff0ee902aa9926da91956f2a3d7da05a"><td class="mdescLeft">&#160;</td><td class="mdescRight">Destructor. <a href="#aff0ee902aa9926da91956f2a3d7da05a">More...</a><br/></td></tr>
<tr class="separator:aff0ee902aa9926da91956f2a3d7da05a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr><td colspan="2"><div class="groupHeader">Functions introduced in DOM Level 1</div></td></tr>
<tr class="memitem:ab51d5f2bccd476d91e36eec2fa7c4cbb"><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="classxercesc_1_1DOMNode.html">DOMNode</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classxercesc_1_1DOMNodeList.html#ab51d5f2bccd476d91e36eec2fa7c4cbb">item</a> (XMLSize_t index) const =0</td></tr>
<tr class="memdesc:ab51d5f2bccd476d91e36eec2fa7c4cbb"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns the <code>index</code> item in the collection. <a href="#ab51d5f2bccd476d91e36eec2fa7c4cbb">More...</a><br/></td></tr>
<tr class="separator:ab51d5f2bccd476d91e36eec2fa7c4cbb"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a5a21c605c5bf54af6f741448bea02f65"><td class="memItemLeft" align="right" valign="top">virtual XMLSize_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classxercesc_1_1DOMNodeList.html#a5a21c605c5bf54af6f741448bea02f65">getLength</a> () const =0</td></tr>
<tr class="memdesc:a5a21c605c5bf54af6f741448bea02f65"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns the number of nodes in the list. <a href="#a5a21c605c5bf54af6f741448bea02f65">More...</a><br/></td></tr>
<tr class="separator:a5a21c605c5bf54af6f741448bea02f65"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pro-methods"></a>
Protected Member Functions</h2></td></tr>
<tr><td colspan="2"><div class="groupHeader">Hidden constructors</div></td></tr>
<tr class="memitem:a2f003459defa460fcdb98a2e6ed3372a"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classxercesc_1_1DOMNodeList.html#a2f003459defa460fcdb98a2e6ed3372a">DOMNodeList</a> ()</td></tr>
<tr class="separator:a2f003459defa460fcdb98a2e6ed3372a"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><p>The <code><a class="el" href="classxercesc_1_1DOMNodeList.html" title="The DOMNodeList interface provides the abstraction of an ordered collection of nodes. ">DOMNodeList</a></code> interface provides the abstraction of an ordered collection of nodes. </p>
<p>DOMNodeLists are created by <a class="el" href="classxercesc_1_1DOMDocument.html#aaf893c3414d8c80270a31e5079bb6912" title="Returns a DOMNodeList of all the DOMElement(s) with a given tag name in the order in which they are e...">DOMDocument::getElementsByTagName()</a>, <a class="el" href="classxercesc_1_1DOMNode.html#a5606d1504a6e5e34b8323c9c03bf0871" title="Gets a DOMNodeList that contains all children of this node. ">DOMNode::getChildNodes()</a>,</p>
<p>The items in the <code><a class="el" href="classxercesc_1_1DOMNodeList.html" title="The DOMNodeList interface provides the abstraction of an ordered collection of nodes. ">DOMNodeList</a></code> are accessible via an integral index, starting from 0.</p>
<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>
</div><h2 class="groupheader">Constructor &amp; Destructor Documentation</h2>
<a class="anchor" id="a2f003459defa460fcdb98a2e6ed3372a"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">xercesc::DOMNodeList::DOMNodeList </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">protected</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
</div>
</div>
<a class="anchor" id="aff0ee902aa9926da91956f2a3d7da05a"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">virtual xercesc::DOMNodeList::~DOMNodeList </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">virtual</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Destructor. </p>
</div>
</div>
<h2 class="groupheader">Member Function Documentation</h2>
<a class="anchor" id="a5a21c605c5bf54af6f741448bea02f65"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">virtual XMLSize_t xercesc::DOMNodeList::getLength </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td> const</td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">pure virtual</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Returns the number of nodes in the list. </p>
<p>The range of valid child node indices is 0 to <code>length-1</code> inclusive. </p>
<dl class="section since"><dt>Since</dt><dd>DOM Level 1 </dd></dl>
</div>
</div>
<a class="anchor" id="ab51d5f2bccd476d91e36eec2fa7c4cbb"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<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&#160;</td>
<td class="paramname"><em>index</em></td><td>)</td>
<td> const</td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">pure virtual</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Returns the <code>index</code> item in the collection. </p>
<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 class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">index</td><td>Index into the collection. </td></tr>
</table>
</dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>The node at the <code>index</code>th position in the <code><a class="el" href="classxercesc_1_1DOMNodeList.html" title="The DOMNodeList interface provides the abstraction of an ordered collection of nodes. ">DOMNodeList</a></code>, or <code>null</code> if that is not a valid index. </dd></dl>
<dl class="section since"><dt>Since</dt><dd>DOM Level 1 </dd></dl>
</div>
</div>
<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></li>
</ul>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.5
</small></address>
</body>
</html>