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.

414 lines
26 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++: DOMNodeIterator 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="classDOMNodeIterator-members.html">List of all members</a> </div>
  50. <div class="headertitle">
  51. <div class="title">DOMNodeIterator Class Reference<span class="mlabels"><span class="mlabel">abstract</span></span></div> </div>
  52. </div><!--header-->
  53. <div class="contents">
  54. <p><code>DOMNodeIterators</code> are used to step through a set of nodes, e.g.
  55. <a href="classDOMNodeIterator.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:afff63c093ecfb3875e1745799528215b"><td class="memItemLeft" align="right" valign="top">virtual&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classDOMNodeIterator.html#afff63c093ecfb3875e1745799528215b">~DOMNodeIterator</a> ()</td></tr>
  61. <tr class="memdesc:afff63c093ecfb3875e1745799528215b"><td class="mdescLeft">&#160;</td><td class="mdescRight">Destructor. <a href="#afff63c093ecfb3875e1745799528215b">More...</a><br /></td></tr>
  62. <tr class="separator:afff63c093ecfb3875e1745799528215b"><td class="memSeparator" colspan="2">&#160;</td></tr>
  63. <tr><td colspan="2"><div class="groupHeader">Functions introduced in DOM Level 2</div></td></tr>
  64. <tr class="memitem:ae0d9e45b67db8611aef943caee6b3be0"><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="classDOMNodeIterator.html#ae0d9e45b67db8611aef943caee6b3be0">getRoot</a> ()=0</td></tr>
  65. <tr class="memdesc:ae0d9e45b67db8611aef943caee6b3be0"><td class="mdescLeft">&#160;</td><td class="mdescRight">The <code>root</code> node of the <code><a class="el" href="classDOMNodeIterator.html" title="DOMNodeIterators are used to step through a set of nodes, e.g. ">DOMNodeIterator</a></code>, as specified when it was created. <a href="#ae0d9e45b67db8611aef943caee6b3be0">More...</a><br /></td></tr>
  66. <tr class="separator:ae0d9e45b67db8611aef943caee6b3be0"><td class="memSeparator" colspan="2">&#160;</td></tr>
  67. <tr class="memitem:afe169486fe286cc9e532f005b09a3dcd"><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="classDOMNodeFilter.html#ac1946b252d8fa2ef980280cd94790bf3">DOMNodeFilter::ShowType</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classDOMNodeIterator.html#afe169486fe286cc9e532f005b09a3dcd">getWhatToShow</a> ()=0</td></tr>
  68. <tr class="memdesc:afe169486fe286cc9e532f005b09a3dcd"><td class="mdescLeft">&#160;</td><td class="mdescRight">Return which node types are presented via the iterator. <a href="#afe169486fe286cc9e532f005b09a3dcd">More...</a><br /></td></tr>
  69. <tr class="separator:afe169486fe286cc9e532f005b09a3dcd"><td class="memSeparator" colspan="2">&#160;</td></tr>
  70. <tr class="memitem:af1ca0dcbf2ce5ab9396f6f35d2769dff"><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="classDOMNodeFilter.html">DOMNodeFilter</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classDOMNodeIterator.html#af1ca0dcbf2ce5ab9396f6f35d2769dff">getFilter</a> ()=0</td></tr>
  71. <tr class="memdesc:af1ca0dcbf2ce5ab9396f6f35d2769dff"><td class="mdescLeft">&#160;</td><td class="mdescRight">The <code><a class="el" href="classDOMNodeFilter.html" title="Filters are objects that know how to &quot;filter out&quot; nodes. ">DOMNodeFilter</a></code> used to screen nodes. <a href="#af1ca0dcbf2ce5ab9396f6f35d2769dff">More...</a><br /></td></tr>
  72. <tr class="separator:af1ca0dcbf2ce5ab9396f6f35d2769dff"><td class="memSeparator" colspan="2">&#160;</td></tr>
  73. <tr class="memitem:ab588cd981c8402be330f07f0e6b8002e"><td class="memItemLeft" align="right" valign="top">virtual bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classDOMNodeIterator.html#ab588cd981c8402be330f07f0e6b8002e">getExpandEntityReferences</a> ()=0</td></tr>
  74. <tr class="memdesc:ab588cd981c8402be330f07f0e6b8002e"><td class="mdescLeft">&#160;</td><td class="mdescRight">Return the expandEntityReferences flag. <a href="#ab588cd981c8402be330f07f0e6b8002e">More...</a><br /></td></tr>
  75. <tr class="separator:ab588cd981c8402be330f07f0e6b8002e"><td class="memSeparator" colspan="2">&#160;</td></tr>
  76. <tr class="memitem:aa745a93c0dae8cda260a3e93473da8ad"><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="classDOMNodeIterator.html#aa745a93c0dae8cda260a3e93473da8ad">nextNode</a> ()=0</td></tr>
  77. <tr class="memdesc:aa745a93c0dae8cda260a3e93473da8ad"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns the next node in the set and advances the position of the <code><a class="el" href="classDOMNodeIterator.html" title="DOMNodeIterators are used to step through a set of nodes, e.g. ">DOMNodeIterator</a></code> in the set. <a href="#aa745a93c0dae8cda260a3e93473da8ad">More...</a><br /></td></tr>
  78. <tr class="separator:aa745a93c0dae8cda260a3e93473da8ad"><td class="memSeparator" colspan="2">&#160;</td></tr>
  79. <tr class="memitem:a1d3b3311004f9a8ed65ae576afe50deb"><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="classDOMNodeIterator.html#a1d3b3311004f9a8ed65ae576afe50deb">previousNode</a> ()=0</td></tr>
  80. <tr class="memdesc:a1d3b3311004f9a8ed65ae576afe50deb"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns the previous node in the set and moves the position of the <code><a class="el" href="classDOMNodeIterator.html" title="DOMNodeIterators are used to step through a set of nodes, e.g. ">DOMNodeIterator</a></code> backwards in the set. <a href="#a1d3b3311004f9a8ed65ae576afe50deb">More...</a><br /></td></tr>
  81. <tr class="separator:a1d3b3311004f9a8ed65ae576afe50deb"><td class="memSeparator" colspan="2">&#160;</td></tr>
  82. <tr class="memitem:a8bd215b2a079de9ee273eb8ba36301ca"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classDOMNodeIterator.html#a8bd215b2a079de9ee273eb8ba36301ca">detach</a> ()=0</td></tr>
  83. <tr class="memdesc:a8bd215b2a079de9ee273eb8ba36301ca"><td class="mdescLeft">&#160;</td><td class="mdescRight">Detaches the <code><a class="el" href="classDOMNodeIterator.html" title="DOMNodeIterators are used to step through a set of nodes, e.g. ">DOMNodeIterator</a></code> from the set which it iterated over, releasing any computational resources and placing the <code><a class="el" href="classDOMNodeIterator.html" title="DOMNodeIterators are used to step through a set of nodes, e.g. ">DOMNodeIterator</a></code> in the INVALID state. <a href="#a8bd215b2a079de9ee273eb8ba36301ca">More...</a><br /></td></tr>
  84. <tr class="separator:a8bd215b2a079de9ee273eb8ba36301ca"><td class="memSeparator" colspan="2">&#160;</td></tr>
  85. <tr><td colspan="2"><div class="groupHeader">Non-standard Extension</div></td></tr>
  86. <tr class="memitem:a5f695123d979adf4b02473f1a854d7ad"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classDOMNodeIterator.html#a5f695123d979adf4b02473f1a854d7ad">release</a> ()=0</td></tr>
  87. <tr class="memdesc:a5f695123d979adf4b02473f1a854d7ad"><td class="mdescLeft">&#160;</td><td class="mdescRight">Called to indicate that this NodeIterator is no longer in use and that the implementation may relinquish any resources associated with it. <a href="#a5f695123d979adf4b02473f1a854d7ad">More...</a><br /></td></tr>
  88. <tr class="separator:a5f695123d979adf4b02473f1a854d7ad"><td class="memSeparator" colspan="2">&#160;</td></tr>
  89. </table><table class="memberdecls">
  90. <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pro-methods"></a>
  91. Protected Member Functions</h2></td></tr>
  92. <tr><td colspan="2"><div class="groupHeader">Hidden constructors</div></td></tr>
  93. <tr class="memitem:a863cbd96220a85aac998d89753738cd1"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classDOMNodeIterator.html#a863cbd96220a85aac998d89753738cd1">DOMNodeIterator</a> ()</td></tr>
  94. <tr class="separator:a863cbd96220a85aac998d89753738cd1"><td class="memSeparator" colspan="2">&#160;</td></tr>
  95. <tr class="memitem:af3e7073806964d4129d31a7d2d390f85"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classDOMNodeIterator.html#af3e7073806964d4129d31a7d2d390f85">DOMNodeIterator</a> (const <a class="el" href="classDOMNodeIterator.html">DOMNodeIterator</a> &amp;)</td></tr>
  96. <tr class="separator:af3e7073806964d4129d31a7d2d390f85"><td class="memSeparator" colspan="2">&#160;</td></tr>
  97. </table>
  98. <a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
  99. <div class="textblock"><p><code>DOMNodeIterators</code> are used to step through a set of nodes, e.g. </p>
  100. <p>the set of nodes in a <code><a class="el" href="classDOMNodeList.html" title="The DOMNodeList interface provides the abstraction of an ordered collection of nodes. ">DOMNodeList</a></code>, the document subtree governed by a particular <code><a class="el" href="classDOMNode.html" title="The DOMNode interface is the primary datatype for the entire Document Object Model. ">DOMNode</a></code>, the results of a query, or any other set of nodes. The set of nodes to be iterated is determined by the implementation of the <code><a class="el" href="classDOMNodeIterator.html" title="DOMNodeIterators are used to step through a set of nodes, e.g. ">DOMNodeIterator</a></code>. DOM Level 2 specifies a single <code><a class="el" href="classDOMNodeIterator.html" title="DOMNodeIterators are used to step through a set of nodes, e.g. ">DOMNodeIterator</a></code> implementation for document-order traversal of a document subtree. Instances of these <code>DOMNodeIterators</code> are created by calling <code><a class="el" href="classDOMDocumentTraversal.html" title="DOMDocumentTraversal contains methods that create DOMNodeIterators and DOMTreeWalkers to traverse a n...">DOMDocumentTraversal</a></code><code>.createNodeIterator()</code>. </p>
  101. <p>See also the <a href="http://www.w3.org/TR/2000/REC-DOM-Level-2-Traversal-Range-20001113">Document Object Model (DOM) Level 2 Traversal and Range Specification</a>. </p><dl class="section since"><dt>Since</dt><dd>DOM Level 2 </dd></dl>
  102. </div><h2 class="groupheader">Constructor &amp; Destructor Documentation</h2>
  103. <a class="anchor" id="a863cbd96220a85aac998d89753738cd1"></a>
  104. <div class="memitem">
  105. <div class="memproto">
  106. <table class="mlabels">
  107. <tr>
  108. <td class="mlabels-left">
  109. <table class="memname">
  110. <tr>
  111. <td class="memname">DOMNodeIterator::DOMNodeIterator </td>
  112. <td>(</td>
  113. <td class="paramname"></td><td>)</td>
  114. <td></td>
  115. </tr>
  116. </table>
  117. </td>
  118. <td class="mlabels-right">
  119. <span class="mlabels"><span class="mlabel">protected</span></span> </td>
  120. </tr>
  121. </table>
  122. </div><div class="memdoc">
  123. </div>
  124. </div>
  125. <a class="anchor" id="af3e7073806964d4129d31a7d2d390f85"></a>
  126. <div class="memitem">
  127. <div class="memproto">
  128. <table class="mlabels">
  129. <tr>
  130. <td class="mlabels-left">
  131. <table class="memname">
  132. <tr>
  133. <td class="memname">DOMNodeIterator::DOMNodeIterator </td>
  134. <td>(</td>
  135. <td class="paramtype">const <a class="el" href="classDOMNodeIterator.html">DOMNodeIterator</a> &amp;&#160;</td>
  136. <td class="paramname"></td><td>)</td>
  137. <td></td>
  138. </tr>
  139. </table>
  140. </td>
  141. <td class="mlabels-right">
  142. <span class="mlabels"><span class="mlabel">protected</span></span> </td>
  143. </tr>
  144. </table>
  145. </div><div class="memdoc">
  146. </div>
  147. </div>
  148. <a class="anchor" id="afff63c093ecfb3875e1745799528215b"></a>
  149. <div class="memitem">
  150. <div class="memproto">
  151. <table class="mlabels">
  152. <tr>
  153. <td class="mlabels-left">
  154. <table class="memname">
  155. <tr>
  156. <td class="memname">virtual DOMNodeIterator::~DOMNodeIterator </td>
  157. <td>(</td>
  158. <td class="paramname"></td><td>)</td>
  159. <td></td>
  160. </tr>
  161. </table>
  162. </td>
  163. <td class="mlabels-right">
  164. <span class="mlabels"><span class="mlabel">virtual</span></span> </td>
  165. </tr>
  166. </table>
  167. </div><div class="memdoc">
  168. <p>Destructor. </p>
  169. </div>
  170. </div>
  171. <h2 class="groupheader">Member Function Documentation</h2>
  172. <a class="anchor" id="a8bd215b2a079de9ee273eb8ba36301ca"></a>
  173. <div class="memitem">
  174. <div class="memproto">
  175. <table class="mlabels">
  176. <tr>
  177. <td class="mlabels-left">
  178. <table class="memname">
  179. <tr>
  180. <td class="memname">virtual void DOMNodeIterator::detach </td>
  181. <td>(</td>
  182. <td class="paramname"></td><td>)</td>
  183. <td></td>
  184. </tr>
  185. </table>
  186. </td>
  187. <td class="mlabels-right">
  188. <span class="mlabels"><span class="mlabel">pure virtual</span></span> </td>
  189. </tr>
  190. </table>
  191. </div><div class="memdoc">
  192. <p>Detaches the <code><a class="el" href="classDOMNodeIterator.html" title="DOMNodeIterators are used to step through a set of nodes, e.g. ">DOMNodeIterator</a></code> from the set which it iterated over, releasing any computational resources and placing the <code><a class="el" href="classDOMNodeIterator.html" title="DOMNodeIterators are used to step through a set of nodes, e.g. ">DOMNodeIterator</a></code> in the INVALID state. </p>
  193. <p>After <code>detach</code> has been invoked, calls to <code>nextNode</code> or <code>previousNode</code> will raise the exception INVALID_STATE_ERR. </p><dl class="section since"><dt>Since</dt><dd>DOM Level 2 </dd></dl>
  194. </div>
  195. </div>
  196. <a class="anchor" id="ab588cd981c8402be330f07f0e6b8002e"></a>
  197. <div class="memitem">
  198. <div class="memproto">
  199. <table class="mlabels">
  200. <tr>
  201. <td class="mlabels-left">
  202. <table class="memname">
  203. <tr>
  204. <td class="memname">virtual bool DOMNodeIterator::getExpandEntityReferences </td>
  205. <td>(</td>
  206. <td class="paramname"></td><td>)</td>
  207. <td></td>
  208. </tr>
  209. </table>
  210. </td>
  211. <td class="mlabels-right">
  212. <span class="mlabels"><span class="mlabel">pure virtual</span></span> </td>
  213. </tr>
  214. </table>
  215. </div><div class="memdoc">
  216. <p>Return the expandEntityReferences flag. </p>
  217. <p>The value of this flag determines whether the children of entity reference nodes are visible to the <code><a class="el" href="classDOMNodeIterator.html" title="DOMNodeIterators are used to step through a set of nodes, e.g. ">DOMNodeIterator</a></code>. If false, these children and their descendants will be rejected. Note that this rejection takes precedence over <code>whatToShow</code> and the filter. Also note that this is currently the only situation where <code>DOMNodeIterators</code> may reject a complete subtree rather than skipping individual nodes. <br />
  218. <br />
  219. To produce a view of the document that has entity references expanded and does not expose the entity reference node itself, use the <code>whatToShow</code> flags to hide the entity reference node and set <code>expandEntityReferences</code> to true when creating the <code><a class="el" href="classDOMNodeIterator.html" title="DOMNodeIterators are used to step through a set of nodes, e.g. ">DOMNodeIterator</a></code>. To produce a view of the document that has entity reference nodes but no entity expansion, use the <code>whatToShow</code> flags to show the entity reference node and set <code>expandEntityReferences</code> to false.</p>
  220. <dl class="section since"><dt>Since</dt><dd>DOM Level 2 </dd></dl>
  221. </div>
  222. </div>
  223. <a class="anchor" id="af1ca0dcbf2ce5ab9396f6f35d2769dff"></a>
  224. <div class="memitem">
  225. <div class="memproto">
  226. <table class="mlabels">
  227. <tr>
  228. <td class="mlabels-left">
  229. <table class="memname">
  230. <tr>
  231. <td class="memname">virtual <a class="el" href="classDOMNodeFilter.html">DOMNodeFilter</a>* DOMNodeIterator::getFilter </td>
  232. <td>(</td>
  233. <td class="paramname"></td><td>)</td>
  234. <td></td>
  235. </tr>
  236. </table>
  237. </td>
  238. <td class="mlabels-right">
  239. <span class="mlabels"><span class="mlabel">pure virtual</span></span> </td>
  240. </tr>
  241. </table>
  242. </div><div class="memdoc">
  243. <p>The <code><a class="el" href="classDOMNodeFilter.html" title="Filters are objects that know how to &quot;filter out&quot; nodes. ">DOMNodeFilter</a></code> used to screen nodes. </p>
  244. <dl class="section since"><dt>Since</dt><dd>DOM Level 2 </dd></dl>
  245. </div>
  246. </div>
  247. <a class="anchor" id="ae0d9e45b67db8611aef943caee6b3be0"></a>
  248. <div class="memitem">
  249. <div class="memproto">
  250. <table class="mlabels">
  251. <tr>
  252. <td class="mlabels-left">
  253. <table class="memname">
  254. <tr>
  255. <td class="memname">virtual <a class="el" href="classDOMNode.html">DOMNode</a>* DOMNodeIterator::getRoot </td>
  256. <td>(</td>
  257. <td class="paramname"></td><td>)</td>
  258. <td></td>
  259. </tr>
  260. </table>
  261. </td>
  262. <td class="mlabels-right">
  263. <span class="mlabels"><span class="mlabel">pure virtual</span></span> </td>
  264. </tr>
  265. </table>
  266. </div><div class="memdoc">
  267. <p>The <code>root</code> node of the <code><a class="el" href="classDOMNodeIterator.html" title="DOMNodeIterators are used to step through a set of nodes, e.g. ">DOMNodeIterator</a></code>, as specified when it was created. </p>
  268. <dl class="section since"><dt>Since</dt><dd>DOM Level 2 </dd></dl>
  269. </div>
  270. </div>
  271. <a class="anchor" id="afe169486fe286cc9e532f005b09a3dcd"></a>
  272. <div class="memitem">
  273. <div class="memproto">
  274. <table class="mlabels">
  275. <tr>
  276. <td class="mlabels-left">
  277. <table class="memname">
  278. <tr>
  279. <td class="memname">virtual <a class="el" href="classDOMNodeFilter.html#ac1946b252d8fa2ef980280cd94790bf3">DOMNodeFilter::ShowType</a> DOMNodeIterator::getWhatToShow </td>
  280. <td>(</td>
  281. <td class="paramname"></td><td>)</td>
  282. <td></td>
  283. </tr>
  284. </table>
  285. </td>
  286. <td class="mlabels-right">
  287. <span class="mlabels"><span class="mlabel">pure virtual</span></span> </td>
  288. </tr>
  289. </table>
  290. </div><div class="memdoc">
  291. <p>Return which node types are presented via the iterator. </p>
  292. <p>This attribute determines which node types are presented via the <code><a class="el" href="classDOMNodeIterator.html" title="DOMNodeIterators are used to step through a set of nodes, e.g. ">DOMNodeIterator</a></code>. The available set of constants is defined in the <code><a class="el" href="classDOMNodeFilter.html" title="Filters are objects that know how to &quot;filter out&quot; nodes. ">DOMNodeFilter</a></code> interface. Nodes not accepted by <code>whatToShow</code> will be skipped, but their children may still be considered. Note that this skip takes precedence over the filter, if any. </p><dl class="section since"><dt>Since</dt><dd>DOM Level 2 </dd></dl>
  293. </div>
  294. </div>
  295. <a class="anchor" id="aa745a93c0dae8cda260a3e93473da8ad"></a>
  296. <div class="memitem">
  297. <div class="memproto">
  298. <table class="mlabels">
  299. <tr>
  300. <td class="mlabels-left">
  301. <table class="memname">
  302. <tr>
  303. <td class="memname">virtual <a class="el" href="classDOMNode.html">DOMNode</a>* DOMNodeIterator::nextNode </td>
  304. <td>(</td>
  305. <td class="paramname"></td><td>)</td>
  306. <td></td>
  307. </tr>
  308. </table>
  309. </td>
  310. <td class="mlabels-right">
  311. <span class="mlabels"><span class="mlabel">pure virtual</span></span> </td>
  312. </tr>
  313. </table>
  314. </div><div class="memdoc">
  315. <p>Returns the next node in the set and advances the position of the <code><a class="el" href="classDOMNodeIterator.html" title="DOMNodeIterators are used to step through a set of nodes, e.g. ">DOMNodeIterator</a></code> in the set. </p>
  316. <p>After a <code><a class="el" href="classDOMNodeIterator.html" title="DOMNodeIterators are used to step through a set of nodes, e.g. ">DOMNodeIterator</a></code> is created, the first call to <code><a class="el" href="classDOMNodeIterator.html#aa745a93c0dae8cda260a3e93473da8ad" title="Returns the next node in the set and advances the position of the DOMNodeIterator in the set...">nextNode()</a></code> returns the first node in the set. </p><dl class="section return"><dt>Returns</dt><dd>The next <code><a class="el" href="classDOMNode.html" title="The DOMNode interface is the primary datatype for the entire Document Object Model. ">DOMNode</a></code> in the set being iterated over, or <code>null</code> if there are no more members in that set. </dd></dl>
  317. <dl class="exception"><dt>Exceptions</dt><dd>
  318. <table class="exception">
  319. <tr><td class="paramname"><a class="el" href="classDOMException.html">DOMException</a></td><td>INVALID_STATE_ERR: Raised if this method is called after the <code>detach</code> method was invoked. </td></tr>
  320. </table>
  321. </dd>
  322. </dl>
  323. <dl class="section since"><dt>Since</dt><dd>DOM Level 2 </dd></dl>
  324. </div>
  325. </div>
  326. <a class="anchor" id="a1d3b3311004f9a8ed65ae576afe50deb"></a>
  327. <div class="memitem">
  328. <div class="memproto">
  329. <table class="mlabels">
  330. <tr>
  331. <td class="mlabels-left">
  332. <table class="memname">
  333. <tr>
  334. <td class="memname">virtual <a class="el" href="classDOMNode.html">DOMNode</a>* DOMNodeIterator::previousNode </td>
  335. <td>(</td>
  336. <td class="paramname"></td><td>)</td>
  337. <td></td>
  338. </tr>
  339. </table>
  340. </td>
  341. <td class="mlabels-right">
  342. <span class="mlabels"><span class="mlabel">pure virtual</span></span> </td>
  343. </tr>
  344. </table>
  345. </div><div class="memdoc">
  346. <p>Returns the previous node in the set and moves the position of the <code><a class="el" href="classDOMNodeIterator.html" title="DOMNodeIterators are used to step through a set of nodes, e.g. ">DOMNodeIterator</a></code> backwards in the set. </p>
  347. <dl class="section return"><dt>Returns</dt><dd>The previous <code><a class="el" href="classDOMNode.html" title="The DOMNode interface is the primary datatype for the entire Document Object Model. ">DOMNode</a></code> in the set being iterated over, or <code>null</code> if there are no more members in that set. </dd></dl>
  348. <dl class="exception"><dt>Exceptions</dt><dd>
  349. <table class="exception">
  350. <tr><td class="paramname"><a class="el" href="classDOMException.html">DOMException</a></td><td>INVALID_STATE_ERR: Raised if this method is called after the <code>detach</code> method was invoked. </td></tr>
  351. </table>
  352. </dd>
  353. </dl>
  354. <dl class="section since"><dt>Since</dt><dd>DOM Level 2 </dd></dl>
  355. </div>
  356. </div>
  357. <a class="anchor" id="a5f695123d979adf4b02473f1a854d7ad"></a>
  358. <div class="memitem">
  359. <div class="memproto">
  360. <table class="mlabels">
  361. <tr>
  362. <td class="mlabels-left">
  363. <table class="memname">
  364. <tr>
  365. <td class="memname">virtual void DOMNodeIterator::release </td>
  366. <td>(</td>
  367. <td class="paramname"></td><td>)</td>
  368. <td></td>
  369. </tr>
  370. </table>
  371. </td>
  372. <td class="mlabels-right">
  373. <span class="mlabels"><span class="mlabel">pure virtual</span></span> </td>
  374. </tr>
  375. </table>
  376. </div><div class="memdoc">
  377. <p>Called to indicate that this NodeIterator is no longer in use and that the implementation may relinquish any resources associated with it. </p>
  378. <p>(<a class="el" href="classDOMNodeIterator.html#a5f695123d979adf4b02473f1a854d7ad" title="Called to indicate that this NodeIterator is no longer in use and that the implementation may relinqu...">release()</a> will call <a class="el" href="classDOMNodeIterator.html#a8bd215b2a079de9ee273eb8ba36301ca" title="Detaches the DOMNodeIterator from the set which it iterated over, releasing any computational resourc...">detach()</a> where appropriate)</p>
  379. <p>Access to a released object will lead to unexpected result. </p>
  380. </div>
  381. </div>
  382. <hr/>The documentation for this class was generated from the following file:<ul>
  383. <li><a class="el" href="DOMNodeIterator_8hpp_source.html">DOMNodeIterator.hpp</a></li>
  384. </ul>
  385. </div><!-- contents -->
  386. <!-- start footer part -->
  387. <hr class="footer"/><address class="footer"><small>
  388. Generated on Wed Mar 18 2015 10:43:38 for Xerces-C++ by &#160;<a href="http://www.doxygen.org/index.html">
  389. <img class="footer" src="doxygen.png" alt="doxygen"/>
  390. </a> 1.8.9.1
  391. </small></address>
  392. </body>
  393. </html>