You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

205 lines
11 KiB

  1. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  2. <html xmlns="http://www.w3.org/1999/xhtml">
  3. <head>
  4. <meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
  5. <meta http-equiv="X-UA-Compatible" content="IE=9"/>
  6. <meta name="generator" content="Doxygen 1.8.9.1"/>
  7. <title>Xerces-C++: DOMNodeList Class Reference</title>
  8. <link href="tabs.css" rel="stylesheet" type="text/css"/>
  9. <script type="text/javascript" src="jquery.js"></script>
  10. <script type="text/javascript" src="dynsections.js"></script>
  11. <link href="doxygen.css" rel="stylesheet" type="text/css" />
  12. </head>
  13. <body>
  14. <div id="top"><!-- do not remove this div, it is closed by doxygen! -->
  15. <div id="titlearea">
  16. <table cellspacing="0" cellpadding="0">
  17. <tbody>
  18. <tr style="height: 56px;">
  19. <td style="padding-left: 0.5em;">
  20. <div id="projectname">Xerces-C++
  21. &#160;<span id="projectnumber">3.1.2</span>
  22. </div>
  23. </td>
  24. </tr>
  25. </tbody>
  26. </table>
  27. </div>
  28. <!-- end header part -->
  29. <!-- Generated by Doxygen 1.8.9.1 -->
  30. <div id="navrow1" class="tabs">
  31. <ul class="tablist">
  32. <li><a href="index.html"><span>Main&#160;Page</span></a></li>
  33. <li><a href="pages.html"><span>Related&#160;Pages</span></a></li>
  34. <li class="current"><a href="annotated.html"><span>Classes</span></a></li>
  35. <li><a href="files.html"><span>Files</span></a></li>
  36. </ul>
  37. </div>
  38. <div id="navrow2" class="tabs2">
  39. <ul class="tablist">
  40. <li><a href="annotated.html"><span>Class&#160;List</span></a></li>
  41. <li><a href="classes.html"><span>Class&#160;Index</span></a></li>
  42. <li><a href="hierarchy.html"><span>Class&#160;Hierarchy</span></a></li>
  43. <li><a href="functions.html"><span>Class&#160;Members</span></a></li>
  44. </ul>
  45. </div>
  46. </div><!-- top -->
  47. <div class="header">
  48. <div class="summary">
  49. <a href="classDOMNodeList-members.html">List of all members</a> </div>
  50. <div class="headertitle">
  51. <div class="title">DOMNodeList Class Reference<span class="mlabels"><span class="mlabel">abstract</span></span></div> </div>
  52. </div><!--header-->
  53. <div class="contents">
  54. <p>The <code><a class="el" href="classDOMNodeList.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.
  55. <a href="classDOMNodeList.html#details">More...</a></p>
  56. <table class="memberdecls">
  57. <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
  58. Public Member Functions</h2></td></tr>
  59. <tr><td colspan="2"><div class="groupHeader">Destructor</div></td></tr>
  60. <tr class="memitem:a8018231aa636563948c87543ddc7cc68"><td class="memItemLeft" align="right" valign="top">virtual&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classDOMNodeList.html#a8018231aa636563948c87543ddc7cc68">~DOMNodeList</a> ()</td></tr>
  61. <tr class="memdesc:a8018231aa636563948c87543ddc7cc68"><td class="mdescLeft">&#160;</td><td class="mdescRight">Destructor. <a href="#a8018231aa636563948c87543ddc7cc68">More...</a><br /></td></tr>
  62. <tr class="separator:a8018231aa636563948c87543ddc7cc68"><td class="memSeparator" colspan="2">&#160;</td></tr>
  63. <tr><td colspan="2"><div class="groupHeader">Functions introduced in DOM Level 1</div></td></tr>
  64. <tr class="memitem:a41daa56559b89ecf672657b2e576fa95"><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="classDOMNode.html">DOMNode</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classDOMNodeList.html#a41daa56559b89ecf672657b2e576fa95">item</a> (<a class="el" href="Xerces__autoconf__config_8borland_8hpp.html#ac0f7e36996cd03eb43bcee10321f77cd">XMLSize_t</a> index) const =0</td></tr>
  65. <tr class="memdesc:a41daa56559b89ecf672657b2e576fa95"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns the <code>index</code> item in the collection. <a href="#a41daa56559b89ecf672657b2e576fa95">More...</a><br /></td></tr>
  66. <tr class="separator:a41daa56559b89ecf672657b2e576fa95"><td class="memSeparator" colspan="2">&#160;</td></tr>
  67. <tr class="memitem:a3c0bae7c8cf84cdb9d61e1c1fdcbdcc2"><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="Xerces__autoconf__config_8borland_8hpp.html#ac0f7e36996cd03eb43bcee10321f77cd">XMLSize_t</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classDOMNodeList.html#a3c0bae7c8cf84cdb9d61e1c1fdcbdcc2">getLength</a> () const =0</td></tr>
  68. <tr class="memdesc:a3c0bae7c8cf84cdb9d61e1c1fdcbdcc2"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns the number of nodes in the list. <a href="#a3c0bae7c8cf84cdb9d61e1c1fdcbdcc2">More...</a><br /></td></tr>
  69. <tr class="separator:a3c0bae7c8cf84cdb9d61e1c1fdcbdcc2"><td class="memSeparator" colspan="2">&#160;</td></tr>
  70. </table><table class="memberdecls">
  71. <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pro-methods"></a>
  72. Protected Member Functions</h2></td></tr>
  73. <tr><td colspan="2"><div class="groupHeader">Hidden constructors</div></td></tr>
  74. <tr class="memitem:a22cfe4e6b2d6060ab56e376df840ba28"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classDOMNodeList.html#a22cfe4e6b2d6060ab56e376df840ba28">DOMNodeList</a> ()</td></tr>
  75. <tr class="separator:a22cfe4e6b2d6060ab56e376df840ba28"><td class="memSeparator" colspan="2">&#160;</td></tr>
  76. </table>
  77. <a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
  78. <div class="textblock"><p>The <code><a class="el" href="classDOMNodeList.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>
  79. <p>DOMNodeLists are created by <a class="el" href="classDOMDocument.html#a4caab53f01e6489e2bc1cf9e96d748bd" 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="classDOMNode.html#a28990e120a00edb3cd40cb92be962a5f" title="Gets a DOMNodeList that contains all children of this node. ">DOMNode::getChildNodes()</a>,</p>
  80. <p>The items in the <code><a class="el" href="classDOMNodeList.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>
  81. <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>
  82. </div><h2 class="groupheader">Constructor &amp; Destructor Documentation</h2>
  83. <a class="anchor" id="a22cfe4e6b2d6060ab56e376df840ba28"></a>
  84. <div class="memitem">
  85. <div class="memproto">
  86. <table class="mlabels">
  87. <tr>
  88. <td class="mlabels-left">
  89. <table class="memname">
  90. <tr>
  91. <td class="memname">DOMNodeList::DOMNodeList </td>
  92. <td>(</td>
  93. <td class="paramname"></td><td>)</td>
  94. <td></td>
  95. </tr>
  96. </table>
  97. </td>
  98. <td class="mlabels-right">
  99. <span class="mlabels"><span class="mlabel">protected</span></span> </td>
  100. </tr>
  101. </table>
  102. </div><div class="memdoc">
  103. </div>
  104. </div>
  105. <a class="anchor" id="a8018231aa636563948c87543ddc7cc68"></a>
  106. <div class="memitem">
  107. <div class="memproto">
  108. <table class="mlabels">
  109. <tr>
  110. <td class="mlabels-left">
  111. <table class="memname">
  112. <tr>
  113. <td class="memname">virtual DOMNodeList::~DOMNodeList </td>
  114. <td>(</td>
  115. <td class="paramname"></td><td>)</td>
  116. <td></td>
  117. </tr>
  118. </table>
  119. </td>
  120. <td class="mlabels-right">
  121. <span class="mlabels"><span class="mlabel">virtual</span></span> </td>
  122. </tr>
  123. </table>
  124. </div><div class="memdoc">
  125. <p>Destructor. </p>
  126. </div>
  127. </div>
  128. <h2 class="groupheader">Member Function Documentation</h2>
  129. <a class="anchor" id="a3c0bae7c8cf84cdb9d61e1c1fdcbdcc2"></a>
  130. <div class="memitem">
  131. <div class="memproto">
  132. <table class="mlabels">
  133. <tr>
  134. <td class="mlabels-left">
  135. <table class="memname">
  136. <tr>
  137. <td class="memname">virtual <a class="el" href="Xerces__autoconf__config_8borland_8hpp.html#ac0f7e36996cd03eb43bcee10321f77cd">XMLSize_t</a> DOMNodeList::getLength </td>
  138. <td>(</td>
  139. <td class="paramname"></td><td>)</td>
  140. <td> const</td>
  141. </tr>
  142. </table>
  143. </td>
  144. <td class="mlabels-right">
  145. <span class="mlabels"><span class="mlabel">pure virtual</span></span> </td>
  146. </tr>
  147. </table>
  148. </div><div class="memdoc">
  149. <p>Returns the number of nodes in the list. </p>
  150. <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>
  151. </div>
  152. </div>
  153. <a class="anchor" id="a41daa56559b89ecf672657b2e576fa95"></a>
  154. <div class="memitem">
  155. <div class="memproto">
  156. <table class="mlabels">
  157. <tr>
  158. <td class="mlabels-left">
  159. <table class="memname">
  160. <tr>
  161. <td class="memname">virtual <a class="el" href="classDOMNode.html">DOMNode</a>* DOMNodeList::item </td>
  162. <td>(</td>
  163. <td class="paramtype"><a class="el" href="Xerces__autoconf__config_8borland_8hpp.html#ac0f7e36996cd03eb43bcee10321f77cd">XMLSize_t</a>&#160;</td>
  164. <td class="paramname"><em>index</em></td><td>)</td>
  165. <td> const</td>
  166. </tr>
  167. </table>
  168. </td>
  169. <td class="mlabels-right">
  170. <span class="mlabels"><span class="mlabel">pure virtual</span></span> </td>
  171. </tr>
  172. </table>
  173. </div><div class="memdoc">
  174. <p>Returns the <code>index</code> item in the collection. </p>
  175. <p>If <code>index</code> is greater than or equal to the number of nodes in the list, this returns <code>null</code>.</p>
  176. <dl class="params"><dt>Parameters</dt><dd>
  177. <table class="params">
  178. <tr><td class="paramname">index</td><td>Index into the collection. </td></tr>
  179. </table>
  180. </dd>
  181. </dl>
  182. <dl class="section return"><dt>Returns</dt><dd>The node at the <code>index</code>th position in the <code><a class="el" href="classDOMNodeList.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>
  183. <dl class="section since"><dt>Since</dt><dd>DOM Level 1 </dd></dl>
  184. </div>
  185. </div>
  186. <hr/>The documentation for this class was generated from the following file:<ul>
  187. <li><a class="el" href="DOMNodeList_8hpp_source.html">DOMNodeList.hpp</a></li>
  188. </ul>
  189. </div><!-- contents -->
  190. <!-- start footer part -->
  191. <hr class="footer"/><address class="footer"><small>
  192. Generated on Wed Mar 18 2015 10:43:38 for Xerces-C++ by &#160;<a href="http://www.doxygen.org/index.html">
  193. <img class="footer" src="doxygen.png" alt="doxygen"/>
  194. </a> 1.8.9.1
  195. </small></address>
  196. </body>
  197. </html>