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.

1242 lines
85 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++: DOMRange 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="classDOMRange-members.html">List of all members</a> </div>
  50. <div class="headertitle">
  51. <div class="title">DOMRange Class Reference<span class="mlabels"><span class="mlabel">abstract</span></span></div> </div>
  52. </div><!--header-->
  53. <div class="contents">
  54. <table class="memberdecls">
  55. <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-types"></a>
  56. Public Types</h2></td></tr>
  57. <tr><td colspan="2"><div class="groupHeader">Public Constants</div></td></tr>
  58. <tr class="memitem:a1459ada3b7cbdd517b4104fa8a8af0a9"><td class="memItemLeft" align="right" valign="top">enum &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classDOMRange.html#a1459ada3b7cbdd517b4104fa8a8af0a9">CompareHow</a> { <a class="el" href="classDOMRange.html#a1459ada3b7cbdd517b4104fa8a8af0a9a09a7df9afce10d0a9f6ae07a96183833">START_TO_START</a> = 0,
  59. <a class="el" href="classDOMRange.html#a1459ada3b7cbdd517b4104fa8a8af0a9aa002ea522f96d72c9c99f86269e9176a">START_TO_END</a> = 1,
  60. <a class="el" href="classDOMRange.html#a1459ada3b7cbdd517b4104fa8a8af0a9aaf3b7f157d490024baf1b7b4736db134">END_TO_END</a> = 2,
  61. <a class="el" href="classDOMRange.html#a1459ada3b7cbdd517b4104fa8a8af0a9ae8f27dbcc33d9113cc55bc4b4255b287">END_TO_START</a> = 3
  62. }</td></tr>
  63. <tr class="memdesc:a1459ada3b7cbdd517b4104fa8a8af0a9"><td class="mdescLeft">&#160;</td><td class="mdescRight">Constants CompareHow. <a href="classDOMRange.html#a1459ada3b7cbdd517b4104fa8a8af0a9">More...</a><br /></td></tr>
  64. <tr class="separator:a1459ada3b7cbdd517b4104fa8a8af0a9"><td class="memSeparator" colspan="2">&#160;</td></tr>
  65. </table><table class="memberdecls">
  66. <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
  67. Public Member Functions</h2></td></tr>
  68. <tr><td colspan="2"><div class="groupHeader">Destructor</div></td></tr>
  69. <tr class="memitem:afc4bac82009e31a64a9cb892769f241b"><td class="memItemLeft" align="right" valign="top">virtual&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classDOMRange.html#afc4bac82009e31a64a9cb892769f241b">~DOMRange</a> ()</td></tr>
  70. <tr class="memdesc:afc4bac82009e31a64a9cb892769f241b"><td class="mdescLeft">&#160;</td><td class="mdescRight">Destructor. <a href="#afc4bac82009e31a64a9cb892769f241b">More...</a><br /></td></tr>
  71. <tr class="separator:afc4bac82009e31a64a9cb892769f241b"><td class="memSeparator" colspan="2">&#160;</td></tr>
  72. <tr><td colspan="2"><div class="groupHeader">Functions introduced in DOM Level 2</div></td></tr>
  73. <tr class="memitem:af4db1a7e3566b625edc162a281e735d2"><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="classDOMRange.html#af4db1a7e3566b625edc162a281e735d2">getStartContainer</a> () const =0</td></tr>
  74. <tr class="memdesc:af4db1a7e3566b625edc162a281e735d2"><td class="mdescLeft">&#160;</td><td class="mdescRight"><a class="el" href="classDOMNode.html" title="The DOMNode interface is the primary datatype for the entire Document Object Model. ">DOMNode</a> within which the Range begins </p><dl class="exception"><dt>Exceptions</dt><dd>
  75. <table class="exception">
  76. <tr><td class="paramname"><a class="el" href="classDOMException.html">DOMException</a></td><td>INVALID_STATE_ERR: Raised if <code><a class="el" href="classDOMRange.html#ac7b3e797ad3f681f081a07836e369e3a" title="Called to indicate that the Range is no longer in use and that the implementation may relinquish any ...">detach()</a></code> has already been invoked on this object. </td></tr>
  77. </table>
  78. </dd>
  79. </dl>
  80. <a href="#af4db1a7e3566b625edc162a281e735d2">More...</a><br /></td></tr>
  81. <tr class="separator:af4db1a7e3566b625edc162a281e735d2"><td class="memSeparator" colspan="2">&#160;</td></tr>
  82. <tr class="memitem:a3f1f2dccaefcc2686c3c527a82f5f0fd"><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="classDOMRange.html#a3f1f2dccaefcc2686c3c527a82f5f0fd">getStartOffset</a> () const =0</td></tr>
  83. <tr class="memdesc:a3f1f2dccaefcc2686c3c527a82f5f0fd"><td class="mdescLeft">&#160;</td><td class="mdescRight">Offset within the starting node of the Range. <a href="#a3f1f2dccaefcc2686c3c527a82f5f0fd">More...</a><br /></td></tr>
  84. <tr class="separator:a3f1f2dccaefcc2686c3c527a82f5f0fd"><td class="memSeparator" colspan="2">&#160;</td></tr>
  85. <tr class="memitem:a1be5b6cb356ca847a8e1eb5a9131c4ed"><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="classDOMRange.html#a1be5b6cb356ca847a8e1eb5a9131c4ed">getEndContainer</a> () const =0</td></tr>
  86. <tr class="memdesc:a1be5b6cb356ca847a8e1eb5a9131c4ed"><td class="mdescLeft">&#160;</td><td class="mdescRight"><a class="el" href="classDOMNode.html" title="The DOMNode interface is the primary datatype for the entire Document Object Model. ">DOMNode</a> within which the Range ends </p><dl class="exception"><dt>Exceptions</dt><dd>
  87. <table class="exception">
  88. <tr><td class="paramname"><a class="el" href="classDOMException.html">DOMException</a></td><td>INVALID_STATE_ERR: Raised if <code><a class="el" href="classDOMRange.html#ac7b3e797ad3f681f081a07836e369e3a" title="Called to indicate that the Range is no longer in use and that the implementation may relinquish any ...">detach()</a></code> has already been invoked on this object. </td></tr>
  89. </table>
  90. </dd>
  91. </dl>
  92. <a href="#a1be5b6cb356ca847a8e1eb5a9131c4ed">More...</a><br /></td></tr>
  93. <tr class="separator:a1be5b6cb356ca847a8e1eb5a9131c4ed"><td class="memSeparator" colspan="2">&#160;</td></tr>
  94. <tr class="memitem:acafa27c9b763b71951088a545111c84b"><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="classDOMRange.html#acafa27c9b763b71951088a545111c84b">getEndOffset</a> () const =0</td></tr>
  95. <tr class="memdesc:acafa27c9b763b71951088a545111c84b"><td class="mdescLeft">&#160;</td><td class="mdescRight">Offset within the ending node of the Range. <a href="#acafa27c9b763b71951088a545111c84b">More...</a><br /></td></tr>
  96. <tr class="separator:acafa27c9b763b71951088a545111c84b"><td class="memSeparator" colspan="2">&#160;</td></tr>
  97. <tr class="memitem:a654c1d89653bd03d39c6891130a0ee99"><td class="memItemLeft" align="right" valign="top">virtual bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classDOMRange.html#a654c1d89653bd03d39c6891130a0ee99">getCollapsed</a> () const =0</td></tr>
  98. <tr class="memdesc:a654c1d89653bd03d39c6891130a0ee99"><td class="mdescLeft">&#160;</td><td class="mdescRight">TRUE if the Range is collapsed </p><dl class="exception"><dt>Exceptions</dt><dd>
  99. <table class="exception">
  100. <tr><td class="paramname"><a class="el" href="classDOMException.html">DOMException</a></td><td>INVALID_STATE_ERR: Raised if <code><a class="el" href="classDOMRange.html#ac7b3e797ad3f681f081a07836e369e3a" title="Called to indicate that the Range is no longer in use and that the implementation may relinquish any ...">detach()</a></code> has already been invoked on this object. </td></tr>
  101. </table>
  102. </dd>
  103. </dl>
  104. <a href="#a654c1d89653bd03d39c6891130a0ee99">More...</a><br /></td></tr>
  105. <tr class="separator:a654c1d89653bd03d39c6891130a0ee99"><td class="memSeparator" colspan="2">&#160;</td></tr>
  106. <tr class="memitem:a1e978223e6dce5643f6dd4489c5ef286"><td class="memItemLeft" align="right" valign="top">virtual const <a class="el" href="classDOMNode.html">DOMNode</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classDOMRange.html#a1e978223e6dce5643f6dd4489c5ef286">getCommonAncestorContainer</a> () const =0</td></tr>
  107. <tr class="memdesc:a1e978223e6dce5643f6dd4489c5ef286"><td class="mdescLeft">&#160;</td><td class="mdescRight">The deepest common ancestor container of the Range's two boundary-points. <a href="#a1e978223e6dce5643f6dd4489c5ef286">More...</a><br /></td></tr>
  108. <tr class="separator:a1e978223e6dce5643f6dd4489c5ef286"><td class="memSeparator" colspan="2">&#160;</td></tr>
  109. <tr class="memitem:af25ec2bf59cbc16925c8e1931c953b33"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classDOMRange.html#af25ec2bf59cbc16925c8e1931c953b33">setStart</a> (const <a class="el" href="classDOMNode.html">DOMNode</a> *refNode, <a class="el" href="Xerces__autoconf__config_8borland_8hpp.html#ac0f7e36996cd03eb43bcee10321f77cd">XMLSize_t</a> offset)=0</td></tr>
  110. <tr class="memdesc:af25ec2bf59cbc16925c8e1931c953b33"><td class="mdescLeft">&#160;</td><td class="mdescRight">Sets the attributes describing the start of the Range. <a href="#af25ec2bf59cbc16925c8e1931c953b33">More...</a><br /></td></tr>
  111. <tr class="separator:af25ec2bf59cbc16925c8e1931c953b33"><td class="memSeparator" colspan="2">&#160;</td></tr>
  112. <tr class="memitem:afd237c4bb732ccac0d04c4a85128ec6e"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classDOMRange.html#afd237c4bb732ccac0d04c4a85128ec6e">setEnd</a> (const <a class="el" href="classDOMNode.html">DOMNode</a> *refNode, <a class="el" href="Xerces__autoconf__config_8borland_8hpp.html#ac0f7e36996cd03eb43bcee10321f77cd">XMLSize_t</a> offset)=0</td></tr>
  113. <tr class="memdesc:afd237c4bb732ccac0d04c4a85128ec6e"><td class="mdescLeft">&#160;</td><td class="mdescRight">Sets the attributes describing the end of a Range. <a href="#afd237c4bb732ccac0d04c4a85128ec6e">More...</a><br /></td></tr>
  114. <tr class="separator:afd237c4bb732ccac0d04c4a85128ec6e"><td class="memSeparator" colspan="2">&#160;</td></tr>
  115. <tr class="memitem:ab109475fe2ecbf83596ffe6522bec541"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classDOMRange.html#ab109475fe2ecbf83596ffe6522bec541">setStartBefore</a> (const <a class="el" href="classDOMNode.html">DOMNode</a> *refNode)=0</td></tr>
  116. <tr class="memdesc:ab109475fe2ecbf83596ffe6522bec541"><td class="mdescLeft">&#160;</td><td class="mdescRight">Sets the start position to be before a node. <a href="#ab109475fe2ecbf83596ffe6522bec541">More...</a><br /></td></tr>
  117. <tr class="separator:ab109475fe2ecbf83596ffe6522bec541"><td class="memSeparator" colspan="2">&#160;</td></tr>
  118. <tr class="memitem:a5188aa5fcdb9641a5ed8cfd52f5fd324"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classDOMRange.html#a5188aa5fcdb9641a5ed8cfd52f5fd324">setStartAfter</a> (const <a class="el" href="classDOMNode.html">DOMNode</a> *refNode)=0</td></tr>
  119. <tr class="memdesc:a5188aa5fcdb9641a5ed8cfd52f5fd324"><td class="mdescLeft">&#160;</td><td class="mdescRight">Sets the start position to be after a node. <a href="#a5188aa5fcdb9641a5ed8cfd52f5fd324">More...</a><br /></td></tr>
  120. <tr class="separator:a5188aa5fcdb9641a5ed8cfd52f5fd324"><td class="memSeparator" colspan="2">&#160;</td></tr>
  121. <tr class="memitem:a136cb62f6bbea91d59e6bf6b2ff9a71b"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classDOMRange.html#a136cb62f6bbea91d59e6bf6b2ff9a71b">setEndBefore</a> (const <a class="el" href="classDOMNode.html">DOMNode</a> *refNode)=0</td></tr>
  122. <tr class="memdesc:a136cb62f6bbea91d59e6bf6b2ff9a71b"><td class="mdescLeft">&#160;</td><td class="mdescRight">Sets the end position to be before a node. <a href="#a136cb62f6bbea91d59e6bf6b2ff9a71b">More...</a><br /></td></tr>
  123. <tr class="separator:a136cb62f6bbea91d59e6bf6b2ff9a71b"><td class="memSeparator" colspan="2">&#160;</td></tr>
  124. <tr class="memitem:aea76fe2447ffeb6866a944b7132b45c7"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classDOMRange.html#aea76fe2447ffeb6866a944b7132b45c7">setEndAfter</a> (const <a class="el" href="classDOMNode.html">DOMNode</a> *refNode)=0</td></tr>
  125. <tr class="memdesc:aea76fe2447ffeb6866a944b7132b45c7"><td class="mdescLeft">&#160;</td><td class="mdescRight">Sets the end of a Range to be after a node. <a href="#aea76fe2447ffeb6866a944b7132b45c7">More...</a><br /></td></tr>
  126. <tr class="separator:aea76fe2447ffeb6866a944b7132b45c7"><td class="memSeparator" colspan="2">&#160;</td></tr>
  127. <tr class="memitem:a54ceca8b36504f808f0948ffd8e3e8ac"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classDOMRange.html#a54ceca8b36504f808f0948ffd8e3e8ac">collapse</a> (bool toStart)=0</td></tr>
  128. <tr class="memdesc:a54ceca8b36504f808f0948ffd8e3e8ac"><td class="mdescLeft">&#160;</td><td class="mdescRight">Collapse a Range onto one of its boundary-points. <a href="#a54ceca8b36504f808f0948ffd8e3e8ac">More...</a><br /></td></tr>
  129. <tr class="separator:a54ceca8b36504f808f0948ffd8e3e8ac"><td class="memSeparator" colspan="2">&#160;</td></tr>
  130. <tr class="memitem:a6c7e35df7eb6f376ca77db2cd31cc1c6"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classDOMRange.html#a6c7e35df7eb6f376ca77db2cd31cc1c6">selectNode</a> (const <a class="el" href="classDOMNode.html">DOMNode</a> *refNode)=0</td></tr>
  131. <tr class="memdesc:a6c7e35df7eb6f376ca77db2cd31cc1c6"><td class="mdescLeft">&#160;</td><td class="mdescRight">Select a node and its contents. <a href="#a6c7e35df7eb6f376ca77db2cd31cc1c6">More...</a><br /></td></tr>
  132. <tr class="separator:a6c7e35df7eb6f376ca77db2cd31cc1c6"><td class="memSeparator" colspan="2">&#160;</td></tr>
  133. <tr class="memitem:aa659d982cbaadd0574d564be5659843a"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classDOMRange.html#aa659d982cbaadd0574d564be5659843a">selectNodeContents</a> (const <a class="el" href="classDOMNode.html">DOMNode</a> *refNode)=0</td></tr>
  134. <tr class="memdesc:aa659d982cbaadd0574d564be5659843a"><td class="mdescLeft">&#160;</td><td class="mdescRight">Select the contents within a node. <a href="#aa659d982cbaadd0574d564be5659843a">More...</a><br /></td></tr>
  135. <tr class="separator:aa659d982cbaadd0574d564be5659843a"><td class="memSeparator" colspan="2">&#160;</td></tr>
  136. <tr class="memitem:a775c42cb06ad3ff2d88bd101ea56ee99"><td class="memItemLeft" align="right" valign="top">virtual short&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classDOMRange.html#a775c42cb06ad3ff2d88bd101ea56ee99">compareBoundaryPoints</a> (<a class="el" href="classDOMRange.html#a1459ada3b7cbdd517b4104fa8a8af0a9">CompareHow</a> how, const <a class="el" href="classDOMRange.html">DOMRange</a> *sourceRange) const =0</td></tr>
  137. <tr class="memdesc:a775c42cb06ad3ff2d88bd101ea56ee99"><td class="mdescLeft">&#160;</td><td class="mdescRight">Compare the boundary-points of two Ranges in a document. <a href="#a775c42cb06ad3ff2d88bd101ea56ee99">More...</a><br /></td></tr>
  138. <tr class="separator:a775c42cb06ad3ff2d88bd101ea56ee99"><td class="memSeparator" colspan="2">&#160;</td></tr>
  139. <tr class="memitem:af4fb2266db144e548b0da9f9877e684a"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classDOMRange.html#af4fb2266db144e548b0da9f9877e684a">deleteContents</a> ()=0</td></tr>
  140. <tr class="memdesc:af4fb2266db144e548b0da9f9877e684a"><td class="mdescLeft">&#160;</td><td class="mdescRight">Removes the contents of a Range from the containing document or document fragment without returning a reference to the removed content. <a href="#af4fb2266db144e548b0da9f9877e684a">More...</a><br /></td></tr>
  141. <tr class="separator:af4fb2266db144e548b0da9f9877e684a"><td class="memSeparator" colspan="2">&#160;</td></tr>
  142. <tr class="memitem:ae45136427cdc1dd1ac4c8580a4fd6b29"><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="classDOMDocumentFragment.html">DOMDocumentFragment</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classDOMRange.html#ae45136427cdc1dd1ac4c8580a4fd6b29">extractContents</a> ()=0</td></tr>
  143. <tr class="memdesc:ae45136427cdc1dd1ac4c8580a4fd6b29"><td class="mdescLeft">&#160;</td><td class="mdescRight">Moves the contents of a Range from the containing document or document fragment to a new <a class="el" href="classDOMDocumentFragment.html" title="DOMDocumentFragment is a &quot;lightweight&quot; or &quot;minimal&quot; DOMDocument object. ">DOMDocumentFragment</a>. <a href="#ae45136427cdc1dd1ac4c8580a4fd6b29">More...</a><br /></td></tr>
  144. <tr class="separator:ae45136427cdc1dd1ac4c8580a4fd6b29"><td class="memSeparator" colspan="2">&#160;</td></tr>
  145. <tr class="memitem:a7dc35150107908c60499e850b8ee2233"><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="classDOMDocumentFragment.html">DOMDocumentFragment</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classDOMRange.html#a7dc35150107908c60499e850b8ee2233">cloneContents</a> () const =0</td></tr>
  146. <tr class="memdesc:a7dc35150107908c60499e850b8ee2233"><td class="mdescLeft">&#160;</td><td class="mdescRight">Duplicates the contents of a Range. <a href="#a7dc35150107908c60499e850b8ee2233">More...</a><br /></td></tr>
  147. <tr class="separator:a7dc35150107908c60499e850b8ee2233"><td class="memSeparator" colspan="2">&#160;</td></tr>
  148. <tr class="memitem:ab23067cbb829d88ffefa610aa4c2a9ee"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classDOMRange.html#ab23067cbb829d88ffefa610aa4c2a9ee">insertNode</a> (<a class="el" href="classDOMNode.html">DOMNode</a> *newNode)=0</td></tr>
  149. <tr class="memdesc:ab23067cbb829d88ffefa610aa4c2a9ee"><td class="mdescLeft">&#160;</td><td class="mdescRight">Inserts a node into the <a class="el" href="classDOMDocument.html" title="The DOMDocument interface represents the entire XML document. ">DOMDocument</a> or <a class="el" href="classDOMDocumentFragment.html" title="DOMDocumentFragment is a &quot;lightweight&quot; or &quot;minimal&quot; DOMDocument object. ">DOMDocumentFragment</a> at the start of the Range. <a href="#ab23067cbb829d88ffefa610aa4c2a9ee">More...</a><br /></td></tr>
  150. <tr class="separator:ab23067cbb829d88ffefa610aa4c2a9ee"><td class="memSeparator" colspan="2">&#160;</td></tr>
  151. <tr class="memitem:a8e064aedbe31b4d6a1e14e1f8209923f"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classDOMRange.html#a8e064aedbe31b4d6a1e14e1f8209923f">surroundContents</a> (<a class="el" href="classDOMNode.html">DOMNode</a> *newParent)=0</td></tr>
  152. <tr class="memdesc:a8e064aedbe31b4d6a1e14e1f8209923f"><td class="mdescLeft">&#160;</td><td class="mdescRight">Reparents the contents of the Range to the given node and inserts the node at the position of the start of the Range. <a href="#a8e064aedbe31b4d6a1e14e1f8209923f">More...</a><br /></td></tr>
  153. <tr class="separator:a8e064aedbe31b4d6a1e14e1f8209923f"><td class="memSeparator" colspan="2">&#160;</td></tr>
  154. <tr class="memitem:a81ccdc2d93423697180c7b98a6019267"><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="classDOMRange.html">DOMRange</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classDOMRange.html#a81ccdc2d93423697180c7b98a6019267">cloneRange</a> () const =0</td></tr>
  155. <tr class="memdesc:a81ccdc2d93423697180c7b98a6019267"><td class="mdescLeft">&#160;</td><td class="mdescRight">Produces a new Range whose boundary-points are equal to the boundary-points of the Range. <a href="#a81ccdc2d93423697180c7b98a6019267">More...</a><br /></td></tr>
  156. <tr class="separator:a81ccdc2d93423697180c7b98a6019267"><td class="memSeparator" colspan="2">&#160;</td></tr>
  157. <tr class="memitem:a110663e653e493c1a6784422e117b1aa"><td class="memItemLeft" align="right" valign="top">virtual const <a class="el" href="Xerces__autoconf__config_8borland_8hpp.html#a8cb107980a360c490ad7661f5d27cc0e">XMLCh</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classDOMRange.html#a110663e653e493c1a6784422e117b1aa">toString</a> () const =0</td></tr>
  158. <tr class="memdesc:a110663e653e493c1a6784422e117b1aa"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns the contents of a Range as a string. <a href="#a110663e653e493c1a6784422e117b1aa">More...</a><br /></td></tr>
  159. <tr class="separator:a110663e653e493c1a6784422e117b1aa"><td class="memSeparator" colspan="2">&#160;</td></tr>
  160. <tr class="memitem:ac7b3e797ad3f681f081a07836e369e3a"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classDOMRange.html#ac7b3e797ad3f681f081a07836e369e3a">detach</a> ()=0</td></tr>
  161. <tr class="memdesc:ac7b3e797ad3f681f081a07836e369e3a"><td class="mdescLeft">&#160;</td><td class="mdescRight">Called to indicate that the Range is no longer in use and that the implementation may relinquish any resources associated with this Range. <a href="#ac7b3e797ad3f681f081a07836e369e3a">More...</a><br /></td></tr>
  162. <tr class="separator:ac7b3e797ad3f681f081a07836e369e3a"><td class="memSeparator" colspan="2">&#160;</td></tr>
  163. <tr><td colspan="2"><div class="groupHeader">Non-standard Extension</div></td></tr>
  164. <tr class="memitem:a9a82e63c7b43806b67b048ff0323cf89"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classDOMRange.html#a9a82e63c7b43806b67b048ff0323cf89">release</a> ()=0</td></tr>
  165. <tr class="memdesc:a9a82e63c7b43806b67b048ff0323cf89"><td class="mdescLeft">&#160;</td><td class="mdescRight">Called to indicate that this Range is no longer in use and that the implementation may relinquish any resources associated with it. <a href="#a9a82e63c7b43806b67b048ff0323cf89">More...</a><br /></td></tr>
  166. <tr class="separator:a9a82e63c7b43806b67b048ff0323cf89"><td class="memSeparator" colspan="2">&#160;</td></tr>
  167. </table><table class="memberdecls">
  168. <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pro-methods"></a>
  169. Protected Member Functions</h2></td></tr>
  170. <tr><td colspan="2"><div class="groupHeader">Hidden constructors</div></td></tr>
  171. <tr class="memitem:a6e6606503a2023af378a32c90be021bf"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classDOMRange.html#a6e6606503a2023af378a32c90be021bf">DOMRange</a> ()</td></tr>
  172. <tr class="separator:a6e6606503a2023af378a32c90be021bf"><td class="memSeparator" colspan="2">&#160;</td></tr>
  173. <tr class="memitem:af8ec07eb322835f364d18ce0836c98d8"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classDOMRange.html#af8ec07eb322835f364d18ce0836c98d8">DOMRange</a> (const <a class="el" href="classDOMRange.html">DOMRange</a> &amp;)</td></tr>
  174. <tr class="separator:af8ec07eb322835f364d18ce0836c98d8"><td class="memSeparator" colspan="2">&#160;</td></tr>
  175. </table>
  176. <a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
  177. <div class="textblock"><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>
  178. </div><h2 class="groupheader">Member Enumeration Documentation</h2>
  179. <a class="anchor" id="a1459ada3b7cbdd517b4104fa8a8af0a9"></a>
  180. <div class="memitem">
  181. <div class="memproto">
  182. <table class="memname">
  183. <tr>
  184. <td class="memname">enum <a class="el" href="classDOMRange.html#a1459ada3b7cbdd517b4104fa8a8af0a9">DOMRange::CompareHow</a></td>
  185. </tr>
  186. </table>
  187. </div><div class="memdoc">
  188. <p>Constants CompareHow. </p>
  189. <p><code>START_TO_START:</code> Compare start boundary-point of <code>sourceRange</code> to start boundary-point of Range on which <code>compareBoundaryPoints</code> is invoked.</p>
  190. <p><code>START_TO_END:</code> Compare start boundary-point of <code>sourceRange</code> to end boundary-point of Range on which <code>compareBoundaryPoints</code> is invoked.</p>
  191. <p><code>END_TO_END:</code> Compare end boundary-point of <code>sourceRange</code> to end boundary-point of Range on which <code>compareBoundaryPoints</code> is invoked.</p>
  192. <p><code>END_TO_START:</code> Compare end boundary-point of <code>sourceRange</code> to start boundary-point of Range on which <code>compareBoundaryPoints</code> is invoked.</p>
  193. <dl class="section since"><dt>Since</dt><dd>DOM Level 2 </dd></dl>
  194. <table class="fieldtable">
  195. <tr><th colspan="2">Enumerator</th></tr><tr><td class="fieldname"><a class="anchor" id="a1459ada3b7cbdd517b4104fa8a8af0a9a09a7df9afce10d0a9f6ae07a96183833"></a>START_TO_START&#160;</td><td class="fielddoc">
  196. </td></tr>
  197. <tr><td class="fieldname"><a class="anchor" id="a1459ada3b7cbdd517b4104fa8a8af0a9aa002ea522f96d72c9c99f86269e9176a"></a>START_TO_END&#160;</td><td class="fielddoc">
  198. </td></tr>
  199. <tr><td class="fieldname"><a class="anchor" id="a1459ada3b7cbdd517b4104fa8a8af0a9aaf3b7f157d490024baf1b7b4736db134"></a>END_TO_END&#160;</td><td class="fielddoc">
  200. </td></tr>
  201. <tr><td class="fieldname"><a class="anchor" id="a1459ada3b7cbdd517b4104fa8a8af0a9ae8f27dbcc33d9113cc55bc4b4255b287"></a>END_TO_START&#160;</td><td class="fielddoc">
  202. </td></tr>
  203. </table>
  204. </div>
  205. </div>
  206. <h2 class="groupheader">Constructor &amp; Destructor Documentation</h2>
  207. <a class="anchor" id="a6e6606503a2023af378a32c90be021bf"></a>
  208. <div class="memitem">
  209. <div class="memproto">
  210. <table class="mlabels">
  211. <tr>
  212. <td class="mlabels-left">
  213. <table class="memname">
  214. <tr>
  215. <td class="memname">DOMRange::DOMRange </td>
  216. <td>(</td>
  217. <td class="paramname"></td><td>)</td>
  218. <td></td>
  219. </tr>
  220. </table>
  221. </td>
  222. <td class="mlabels-right">
  223. <span class="mlabels"><span class="mlabel">protected</span></span> </td>
  224. </tr>
  225. </table>
  226. </div><div class="memdoc">
  227. </div>
  228. </div>
  229. <a class="anchor" id="af8ec07eb322835f364d18ce0836c98d8"></a>
  230. <div class="memitem">
  231. <div class="memproto">
  232. <table class="mlabels">
  233. <tr>
  234. <td class="mlabels-left">
  235. <table class="memname">
  236. <tr>
  237. <td class="memname">DOMRange::DOMRange </td>
  238. <td>(</td>
  239. <td class="paramtype">const <a class="el" href="classDOMRange.html">DOMRange</a> &amp;&#160;</td>
  240. <td class="paramname"></td><td>)</td>
  241. <td></td>
  242. </tr>
  243. </table>
  244. </td>
  245. <td class="mlabels-right">
  246. <span class="mlabels"><span class="mlabel">protected</span></span> </td>
  247. </tr>
  248. </table>
  249. </div><div class="memdoc">
  250. </div>
  251. </div>
  252. <a class="anchor" id="afc4bac82009e31a64a9cb892769f241b"></a>
  253. <div class="memitem">
  254. <div class="memproto">
  255. <table class="mlabels">
  256. <tr>
  257. <td class="mlabels-left">
  258. <table class="memname">
  259. <tr>
  260. <td class="memname">virtual DOMRange::~DOMRange </td>
  261. <td>(</td>
  262. <td class="paramname"></td><td>)</td>
  263. <td></td>
  264. </tr>
  265. </table>
  266. </td>
  267. <td class="mlabels-right">
  268. <span class="mlabels"><span class="mlabel">virtual</span></span> </td>
  269. </tr>
  270. </table>
  271. </div><div class="memdoc">
  272. <p>Destructor. </p>
  273. </div>
  274. </div>
  275. <h2 class="groupheader">Member Function Documentation</h2>
  276. <a class="anchor" id="a7dc35150107908c60499e850b8ee2233"></a>
  277. <div class="memitem">
  278. <div class="memproto">
  279. <table class="mlabels">
  280. <tr>
  281. <td class="mlabels-left">
  282. <table class="memname">
  283. <tr>
  284. <td class="memname">virtual <a class="el" href="classDOMDocumentFragment.html">DOMDocumentFragment</a>* DOMRange::cloneContents </td>
  285. <td>(</td>
  286. <td class="paramname"></td><td>)</td>
  287. <td> const</td>
  288. </tr>
  289. </table>
  290. </td>
  291. <td class="mlabels-right">
  292. <span class="mlabels"><span class="mlabel">pure virtual</span></span> </td>
  293. </tr>
  294. </table>
  295. </div><div class="memdoc">
  296. <p>Duplicates the contents of a Range. </p>
  297. <dl class="section return"><dt>Returns</dt><dd>A <a class="el" href="classDOMDocumentFragment.html" title="DOMDocumentFragment is a &quot;lightweight&quot; or &quot;minimal&quot; DOMDocument object. ">DOMDocumentFragment</a> that contains content equivalent to this Range. </dd></dl>
  298. <dl class="exception"><dt>Exceptions</dt><dd>
  299. <table class="exception">
  300. <tr><td class="paramname"><a class="el" href="classDOMException.html">DOMException</a></td><td>HIERARCHY_REQUEST_ERR: Raised if a <a class="el" href="classDOMDocumentType.html" title="Each DOMDocument has a doctype attribute whose value is either null or a DOMDocumentType object...">DOMDocumentType</a> node would be extracted into the new <a class="el" href="classDOMDocumentFragment.html" title="DOMDocumentFragment is a &quot;lightweight&quot; or &quot;minimal&quot; DOMDocument object. ">DOMDocumentFragment</a>. <br />
  301. INVALID_STATE_ERR: Raised if <code><a class="el" href="classDOMRange.html#ac7b3e797ad3f681f081a07836e369e3a" title="Called to indicate that the Range is no longer in use and that the implementation may relinquish any ...">detach()</a></code> has already been invoked on this object.</td></tr>
  302. </table>
  303. </dd>
  304. </dl>
  305. <dl class="section since"><dt>Since</dt><dd>DOM Level 2 </dd></dl>
  306. </div>
  307. </div>
  308. <a class="anchor" id="a81ccdc2d93423697180c7b98a6019267"></a>
  309. <div class="memitem">
  310. <div class="memproto">
  311. <table class="mlabels">
  312. <tr>
  313. <td class="mlabels-left">
  314. <table class="memname">
  315. <tr>
  316. <td class="memname">virtual <a class="el" href="classDOMRange.html">DOMRange</a>* DOMRange::cloneRange </td>
  317. <td>(</td>
  318. <td class="paramname"></td><td>)</td>
  319. <td> const</td>
  320. </tr>
  321. </table>
  322. </td>
  323. <td class="mlabels-right">
  324. <span class="mlabels"><span class="mlabel">pure virtual</span></span> </td>
  325. </tr>
  326. </table>
  327. </div><div class="memdoc">
  328. <p>Produces a new Range whose boundary-points are equal to the boundary-points of the Range. </p>
  329. <dl class="section return"><dt>Returns</dt><dd>The duplicated Range. </dd></dl>
  330. <dl class="exception"><dt>Exceptions</dt><dd>
  331. <table class="exception">
  332. <tr><td class="paramname"><a class="el" href="classDOMException.html">DOMException</a></td><td>INVALID_STATE_ERR: Raised if <code><a class="el" href="classDOMRange.html#ac7b3e797ad3f681f081a07836e369e3a" title="Called to indicate that the Range is no longer in use and that the implementation may relinquish any ...">detach()</a></code> has already been invoked on this object.</td></tr>
  333. </table>
  334. </dd>
  335. </dl>
  336. <dl class="section since"><dt>Since</dt><dd>DOM Level 2 </dd></dl>
  337. </div>
  338. </div>
  339. <a class="anchor" id="a54ceca8b36504f808f0948ffd8e3e8ac"></a>
  340. <div class="memitem">
  341. <div class="memproto">
  342. <table class="mlabels">
  343. <tr>
  344. <td class="mlabels-left">
  345. <table class="memname">
  346. <tr>
  347. <td class="memname">virtual void DOMRange::collapse </td>
  348. <td>(</td>
  349. <td class="paramtype">bool&#160;</td>
  350. <td class="paramname"><em>toStart</em></td><td>)</td>
  351. <td></td>
  352. </tr>
  353. </table>
  354. </td>
  355. <td class="mlabels-right">
  356. <span class="mlabels"><span class="mlabel">pure virtual</span></span> </td>
  357. </tr>
  358. </table>
  359. </div><div class="memdoc">
  360. <p>Collapse a Range onto one of its boundary-points. </p>
  361. <dl class="params"><dt>Parameters</dt><dd>
  362. <table class="params">
  363. <tr><td class="paramname">toStart</td><td>If TRUE, collapses the Range onto its start; if FALSE, collapses it onto its end. </td></tr>
  364. </table>
  365. </dd>
  366. </dl>
  367. <dl class="exception"><dt>Exceptions</dt><dd>
  368. <table class="exception">
  369. <tr><td class="paramname"><a class="el" href="classDOMException.html">DOMException</a></td><td>INVALID_STATE_ERR: Raised if <code><a class="el" href="classDOMRange.html#ac7b3e797ad3f681f081a07836e369e3a" title="Called to indicate that the Range is no longer in use and that the implementation may relinquish any ...">detach()</a></code> has already been invoked on this object.</td></tr>
  370. </table>
  371. </dd>
  372. </dl>
  373. <dl class="section since"><dt>Since</dt><dd>DOM Level 2 </dd></dl>
  374. </div>
  375. </div>
  376. <a class="anchor" id="a775c42cb06ad3ff2d88bd101ea56ee99"></a>
  377. <div class="memitem">
  378. <div class="memproto">
  379. <table class="mlabels">
  380. <tr>
  381. <td class="mlabels-left">
  382. <table class="memname">
  383. <tr>
  384. <td class="memname">virtual short DOMRange::compareBoundaryPoints </td>
  385. <td>(</td>
  386. <td class="paramtype"><a class="el" href="classDOMRange.html#a1459ada3b7cbdd517b4104fa8a8af0a9">CompareHow</a>&#160;</td>
  387. <td class="paramname"><em>how</em>, </td>
  388. </tr>
  389. <tr>
  390. <td class="paramkey"></td>
  391. <td></td>
  392. <td class="paramtype">const <a class="el" href="classDOMRange.html">DOMRange</a> *&#160;</td>
  393. <td class="paramname"><em>sourceRange</em>&#160;</td>
  394. </tr>
  395. <tr>
  396. <td></td>
  397. <td>)</td>
  398. <td></td><td> const</td>
  399. </tr>
  400. </table>
  401. </td>
  402. <td class="mlabels-right">
  403. <span class="mlabels"><span class="mlabel">pure virtual</span></span> </td>
  404. </tr>
  405. </table>
  406. </div><div class="memdoc">
  407. <p>Compare the boundary-points of two Ranges in a document. </p>
  408. <dl class="params"><dt>Parameters</dt><dd>
  409. <table class="params">
  410. <tr><td class="paramname">how</td><td>A code representing the type of comparison, as defined above. </td></tr>
  411. <tr><td class="paramname">sourceRange</td><td>The <code>Range</code> on which this current <code>Range</code> is compared to. </td></tr>
  412. </table>
  413. </dd>
  414. </dl>
  415. <dl class="section return"><dt>Returns</dt><dd>-1, 0 or 1 depending on whether the corresponding boundary-point of the Range is respectively before, equal to, or after the corresponding boundary-point of <code>sourceRange</code>. </dd></dl>
  416. <dl class="exception"><dt>Exceptions</dt><dd>
  417. <table class="exception">
  418. <tr><td class="paramname"><a class="el" href="classDOMException.html">DOMException</a></td><td>WRONG_DOCUMENT_ERR: Raised if the two Ranges are not in the same <a class="el" href="classDOMDocument.html" title="The DOMDocument interface represents the entire XML document. ">DOMDocument</a> or <a class="el" href="classDOMDocumentFragment.html" title="DOMDocumentFragment is a &quot;lightweight&quot; or &quot;minimal&quot; DOMDocument object. ">DOMDocumentFragment</a>. <br />
  419. INVALID_STATE_ERR: Raised if <code><a class="el" href="classDOMRange.html#ac7b3e797ad3f681f081a07836e369e3a" title="Called to indicate that the Range is no longer in use and that the implementation may relinquish any ...">detach()</a></code> has already been invoked on this object.</td></tr>
  420. </table>
  421. </dd>
  422. </dl>
  423. <dl class="section since"><dt>Since</dt><dd>DOM Level 2 </dd></dl>
  424. </div>
  425. </div>
  426. <a class="anchor" id="af4fb2266db144e548b0da9f9877e684a"></a>
  427. <div class="memitem">
  428. <div class="memproto">
  429. <table class="mlabels">
  430. <tr>
  431. <td class="mlabels-left">
  432. <table class="memname">
  433. <tr>
  434. <td class="memname">virtual void DOMRange::deleteContents </td>
  435. <td>(</td>
  436. <td class="paramname"></td><td>)</td>
  437. <td></td>
  438. </tr>
  439. </table>
  440. </td>
  441. <td class="mlabels-right">
  442. <span class="mlabels"><span class="mlabel">pure virtual</span></span> </td>
  443. </tr>
  444. </table>
  445. </div><div class="memdoc">
  446. <p>Removes the contents of a Range from the containing document or document fragment without returning a reference to the removed content. </p>
  447. <dl class="exception"><dt>Exceptions</dt><dd>
  448. <table class="exception">
  449. <tr><td class="paramname"><a class="el" href="classDOMException.html">DOMException</a></td><td>NO_MODIFICATION_ALLOWED_ERR: Raised if any portion of the content of the Range is read-only or any of the nodes that contain any of the content of the Range are read-only. <br />
  450. INVALID_STATE_ERR: Raised if <code><a class="el" href="classDOMRange.html#ac7b3e797ad3f681f081a07836e369e3a" title="Called to indicate that the Range is no longer in use and that the implementation may relinquish any ...">detach()</a></code> has already been invoked on this object.</td></tr>
  451. </table>
  452. </dd>
  453. </dl>
  454. <dl class="section since"><dt>Since</dt><dd>DOM Level 2 </dd></dl>
  455. </div>
  456. </div>
  457. <a class="anchor" id="ac7b3e797ad3f681f081a07836e369e3a"></a>
  458. <div class="memitem">
  459. <div class="memproto">
  460. <table class="mlabels">
  461. <tr>
  462. <td class="mlabels-left">
  463. <table class="memname">
  464. <tr>
  465. <td class="memname">virtual void DOMRange::detach </td>
  466. <td>(</td>
  467. <td class="paramname"></td><td>)</td>
  468. <td></td>
  469. </tr>
  470. </table>
  471. </td>
  472. <td class="mlabels-right">
  473. <span class="mlabels"><span class="mlabel">pure virtual</span></span> </td>
  474. </tr>
  475. </table>
  476. </div><div class="memdoc">
  477. <p>Called to indicate that the Range is no longer in use and that the implementation may relinquish any resources associated with this Range. </p>
  478. <p>Subsequent calls to any methods or attribute getters on this Range will result in a <code><a class="el" href="classDOMException.html">DOMException</a></code> being thrown with an error code of <code>INVALID_STATE_ERR</code>. </p><dl class="exception"><dt>Exceptions</dt><dd>
  479. <table class="exception">
  480. <tr><td class="paramname"><a class="el" href="classDOMException.html">DOMException</a></td><td>INVALID_STATE_ERR: Raised if <code><a class="el" href="classDOMRange.html#ac7b3e797ad3f681f081a07836e369e3a" title="Called to indicate that the Range is no longer in use and that the implementation may relinquish any ...">detach()</a></code> has already been invoked on this object.</td></tr>
  481. </table>
  482. </dd>
  483. </dl>
  484. <dl class="section since"><dt>Since</dt><dd>DOM Level 2 </dd></dl>
  485. </div>
  486. </div>
  487. <a class="anchor" id="ae45136427cdc1dd1ac4c8580a4fd6b29"></a>
  488. <div class="memitem">
  489. <div class="memproto">
  490. <table class="mlabels">
  491. <tr>
  492. <td class="mlabels-left">
  493. <table class="memname">
  494. <tr>
  495. <td class="memname">virtual <a class="el" href="classDOMDocumentFragment.html">DOMDocumentFragment</a>* DOMRange::extractContents </td>
  496. <td>(</td>
  497. <td class="paramname"></td><td>)</td>
  498. <td></td>
  499. </tr>
  500. </table>
  501. </td>
  502. <td class="mlabels-right">
  503. <span class="mlabels"><span class="mlabel">pure virtual</span></span> </td>
  504. </tr>
  505. </table>
  506. </div><div class="memdoc">
  507. <p>Moves the contents of a Range from the containing document or document fragment to a new <a class="el" href="classDOMDocumentFragment.html" title="DOMDocumentFragment is a &quot;lightweight&quot; or &quot;minimal&quot; DOMDocument object. ">DOMDocumentFragment</a>. </p>
  508. <dl class="section return"><dt>Returns</dt><dd>A <a class="el" href="classDOMDocumentFragment.html" title="DOMDocumentFragment is a &quot;lightweight&quot; or &quot;minimal&quot; DOMDocument object. ">DOMDocumentFragment</a> containing the extracted contents. </dd></dl>
  509. <dl class="exception"><dt>Exceptions</dt><dd>
  510. <table class="exception">
  511. <tr><td class="paramname"><a class="el" href="classDOMException.html">DOMException</a></td><td>NO_MODIFICATION_ALLOWED_ERR: Raised if any portion of the content of the Range is read-only or any of the nodes which contain any of the content of the Range are read-only. <br />
  512. HIERARCHY_REQUEST_ERR: Raised if a <a class="el" href="classDOMDocumentType.html" title="Each DOMDocument has a doctype attribute whose value is either null or a DOMDocumentType object...">DOMDocumentType</a> node would be extracted into the new <a class="el" href="classDOMDocumentFragment.html" title="DOMDocumentFragment is a &quot;lightweight&quot; or &quot;minimal&quot; DOMDocument object. ">DOMDocumentFragment</a>. <br />
  513. INVALID_STATE_ERR: Raised if <code><a class="el" href="classDOMRange.html#ac7b3e797ad3f681f081a07836e369e3a" title="Called to indicate that the Range is no longer in use and that the implementation may relinquish any ...">detach()</a></code> has already been invoked on this object.</td></tr>
  514. </table>
  515. </dd>
  516. </dl>
  517. <dl class="section since"><dt>Since</dt><dd>DOM Level 2 </dd></dl>
  518. </div>
  519. </div>
  520. <a class="anchor" id="a654c1d89653bd03d39c6891130a0ee99"></a>
  521. <div class="memitem">
  522. <div class="memproto">
  523. <table class="mlabels">
  524. <tr>
  525. <td class="mlabels-left">
  526. <table class="memname">
  527. <tr>
  528. <td class="memname">virtual bool DOMRange::getCollapsed </td>
  529. <td>(</td>
  530. <td class="paramname"></td><td>)</td>
  531. <td> const</td>
  532. </tr>
  533. </table>
  534. </td>
  535. <td class="mlabels-right">
  536. <span class="mlabels"><span class="mlabel">pure virtual</span></span> </td>
  537. </tr>
  538. </table>
  539. </div><div class="memdoc">
  540. <p>TRUE if the Range is collapsed </p><dl class="exception"><dt>Exceptions</dt><dd>
  541. <table class="exception">
  542. <tr><td class="paramname"><a class="el" href="classDOMException.html">DOMException</a></td><td>INVALID_STATE_ERR: Raised if <code><a class="el" href="classDOMRange.html#ac7b3e797ad3f681f081a07836e369e3a" title="Called to indicate that the Range is no longer in use and that the implementation may relinquish any ...">detach()</a></code> has already been invoked on this object. </td></tr>
  543. </table>
  544. </dd>
  545. </dl>
  546. </p>
  547. <dl class="section since"><dt>Since</dt><dd>DOM Level 2 </dd></dl>
  548. </div>
  549. </div>
  550. <a class="anchor" id="a1e978223e6dce5643f6dd4489c5ef286"></a>
  551. <div class="memitem">
  552. <div class="memproto">
  553. <table class="mlabels">
  554. <tr>
  555. <td class="mlabels-left">
  556. <table class="memname">
  557. <tr>
  558. <td class="memname">virtual const <a class="el" href="classDOMNode.html">DOMNode</a>* DOMRange::getCommonAncestorContainer </td>
  559. <td>(</td>
  560. <td class="paramname"></td><td>)</td>
  561. <td> const</td>
  562. </tr>
  563. </table>
  564. </td>
  565. <td class="mlabels-right">
  566. <span class="mlabels"><span class="mlabel">pure virtual</span></span> </td>
  567. </tr>
  568. </table>
  569. </div><div class="memdoc">
  570. <p>The deepest common ancestor container of the Range's two boundary-points. </p>
  571. <dl class="exception"><dt>Exceptions</dt><dd>
  572. <table class="exception">
  573. <tr><td class="paramname"><a class="el" href="classDOMException.html">DOMException</a></td><td>INVALID_STATE_ERR: Raised if <code><a class="el" href="classDOMRange.html#ac7b3e797ad3f681f081a07836e369e3a" title="Called to indicate that the Range is no longer in use and that the implementation may relinquish any ...">detach()</a></code> has already been invoked on this object.</td></tr>
  574. </table>
  575. </dd>
  576. </dl>
  577. <dl class="section since"><dt>Since</dt><dd>DOM Level 2 </dd></dl>
  578. </div>
  579. </div>
  580. <a class="anchor" id="a1be5b6cb356ca847a8e1eb5a9131c4ed"></a>
  581. <div class="memitem">
  582. <div class="memproto">
  583. <table class="mlabels">
  584. <tr>
  585. <td class="mlabels-left">
  586. <table class="memname">
  587. <tr>
  588. <td class="memname">virtual <a class="el" href="classDOMNode.html">DOMNode</a>* DOMRange::getEndContainer </td>
  589. <td>(</td>
  590. <td class="paramname"></td><td>)</td>
  591. <td> const</td>
  592. </tr>
  593. </table>
  594. </td>
  595. <td class="mlabels-right">
  596. <span class="mlabels"><span class="mlabel">pure virtual</span></span> </td>
  597. </tr>
  598. </table>
  599. </div><div class="memdoc">
  600. <p><a class="el" href="classDOMNode.html" title="The DOMNode interface is the primary datatype for the entire Document Object Model. ">DOMNode</a> within which the Range ends </p><dl class="exception"><dt>Exceptions</dt><dd>
  601. <table class="exception">
  602. <tr><td class="paramname"><a class="el" href="classDOMException.html">DOMException</a></td><td>INVALID_STATE_ERR: Raised if <code><a class="el" href="classDOMRange.html#ac7b3e797ad3f681f081a07836e369e3a" title="Called to indicate that the Range is no longer in use and that the implementation may relinquish any ...">detach()</a></code> has already been invoked on this object. </td></tr>
  603. </table>
  604. </dd>
  605. </dl>
  606. </p>
  607. <dl class="section since"><dt>Since</dt><dd>DOM Level 2 </dd></dl>
  608. </div>
  609. </div>
  610. <a class="anchor" id="acafa27c9b763b71951088a545111c84b"></a>
  611. <div class="memitem">
  612. <div class="memproto">
  613. <table class="mlabels">
  614. <tr>
  615. <td class="mlabels-left">
  616. <table class="memname">
  617. <tr>
  618. <td class="memname">virtual <a class="el" href="Xerces__autoconf__config_8borland_8hpp.html#ac0f7e36996cd03eb43bcee10321f77cd">XMLSize_t</a> DOMRange::getEndOffset </td>
  619. <td>(</td>
  620. <td class="paramname"></td><td>)</td>
  621. <td> const</td>
  622. </tr>
  623. </table>
  624. </td>
  625. <td class="mlabels-right">
  626. <span class="mlabels"><span class="mlabel">pure virtual</span></span> </td>
  627. </tr>
  628. </table>
  629. </div><div class="memdoc">
  630. <p>Offset within the ending node of the Range. </p>
  631. <dl class="exception"><dt>Exceptions</dt><dd>
  632. <table class="exception">
  633. <tr><td class="paramname"><a class="el" href="classDOMException.html">DOMException</a></td><td>INVALID_STATE_ERR: Raised if <code><a class="el" href="classDOMRange.html#ac7b3e797ad3f681f081a07836e369e3a" title="Called to indicate that the Range is no longer in use and that the implementation may relinquish any ...">detach()</a></code> has already been invoked on this object.</td></tr>
  634. </table>
  635. </dd>
  636. </dl>
  637. <dl class="section since"><dt>Since</dt><dd>DOM Level 2 </dd></dl>
  638. </div>
  639. </div>
  640. <a class="anchor" id="af4db1a7e3566b625edc162a281e735d2"></a>
  641. <div class="memitem">
  642. <div class="memproto">
  643. <table class="mlabels">
  644. <tr>
  645. <td class="mlabels-left">
  646. <table class="memname">
  647. <tr>
  648. <td class="memname">virtual <a class="el" href="classDOMNode.html">DOMNode</a>* DOMRange::getStartContainer </td>
  649. <td>(</td>
  650. <td class="paramname"></td><td>)</td>
  651. <td> const</td>
  652. </tr>
  653. </table>
  654. </td>
  655. <td class="mlabels-right">
  656. <span class="mlabels"><span class="mlabel">pure virtual</span></span> </td>
  657. </tr>
  658. </table>
  659. </div><div class="memdoc">
  660. <p><a class="el" href="classDOMNode.html" title="The DOMNode interface is the primary datatype for the entire Document Object Model. ">DOMNode</a> within which the Range begins </p><dl class="exception"><dt>Exceptions</dt><dd>
  661. <table class="exception">
  662. <tr><td class="paramname"><a class="el" href="classDOMException.html">DOMException</a></td><td>INVALID_STATE_ERR: Raised if <code><a class="el" href="classDOMRange.html#ac7b3e797ad3f681f081a07836e369e3a" title="Called to indicate that the Range is no longer in use and that the implementation may relinquish any ...">detach()</a></code> has already been invoked on this object. </td></tr>
  663. </table>
  664. </dd>
  665. </dl>
  666. </p>
  667. <dl class="section since"><dt>Since</dt><dd>DOM Level 2 </dd></dl>
  668. </div>
  669. </div>
  670. <a class="anchor" id="a3f1f2dccaefcc2686c3c527a82f5f0fd"></a>
  671. <div class="memitem">
  672. <div class="memproto">
  673. <table class="mlabels">
  674. <tr>
  675. <td class="mlabels-left">
  676. <table class="memname">
  677. <tr>
  678. <td class="memname">virtual <a class="el" href="Xerces__autoconf__config_8borland_8hpp.html#ac0f7e36996cd03eb43bcee10321f77cd">XMLSize_t</a> DOMRange::getStartOffset </td>
  679. <td>(</td>
  680. <td class="paramname"></td><td>)</td>
  681. <td> const</td>
  682. </tr>
  683. </table>
  684. </td>
  685. <td class="mlabels-right">
  686. <span class="mlabels"><span class="mlabel">pure virtual</span></span> </td>
  687. </tr>
  688. </table>
  689. </div><div class="memdoc">
  690. <p>Offset within the starting node of the Range. </p>
  691. <dl class="exception"><dt>Exceptions</dt><dd>
  692. <table class="exception">
  693. <tr><td class="paramname"><a class="el" href="classDOMException.html">DOMException</a></td><td>INVALID_STATE_ERR: Raised if <code><a class="el" href="classDOMRange.html#ac7b3e797ad3f681f081a07836e369e3a" title="Called to indicate that the Range is no longer in use and that the implementation may relinquish any ...">detach()</a></code> has already been invoked on this object.</td></tr>
  694. </table>
  695. </dd>
  696. </dl>
  697. <dl class="section since"><dt>Since</dt><dd>DOM Level 2 </dd></dl>
  698. </div>
  699. </div>
  700. <a class="anchor" id="ab23067cbb829d88ffefa610aa4c2a9ee"></a>
  701. <div class="memitem">
  702. <div class="memproto">
  703. <table class="mlabels">
  704. <tr>
  705. <td class="mlabels-left">
  706. <table class="memname">
  707. <tr>
  708. <td class="memname">virtual void DOMRange::insertNode </td>
  709. <td>(</td>
  710. <td class="paramtype"><a class="el" href="classDOMNode.html">DOMNode</a> *&#160;</td>
  711. <td class="paramname"><em>newNode</em></td><td>)</td>
  712. <td></td>
  713. </tr>
  714. </table>
  715. </td>
  716. <td class="mlabels-right">
  717. <span class="mlabels"><span class="mlabel">pure virtual</span></span> </td>
  718. </tr>
  719. </table>
  720. </div><div class="memdoc">
  721. <p>Inserts a node into the <a class="el" href="classDOMDocument.html" title="The DOMDocument interface represents the entire XML document. ">DOMDocument</a> or <a class="el" href="classDOMDocumentFragment.html" title="DOMDocumentFragment is a &quot;lightweight&quot; or &quot;minimal&quot; DOMDocument object. ">DOMDocumentFragment</a> at the start of the Range. </p>
  722. <p>If the container is a <a class="el" href="classDOMText.html" title="The DOMText interface inherits from DOMCharacterData and represents the textual content (termed chara...">DOMText</a> node, this will be split at the start of the Range (as if the <a class="el" href="classDOMText.html" title="The DOMText interface inherits from DOMCharacterData and represents the textual content (termed chara...">DOMText</a> node's splitText method was performed at the insertion point) and the insertion will occur between the two resulting <a class="el" href="classDOMText.html" title="The DOMText interface inherits from DOMCharacterData and represents the textual content (termed chara...">DOMText</a> nodes. Adjacent <a class="el" href="classDOMText.html" title="The DOMText interface inherits from DOMCharacterData and represents the textual content (termed chara...">DOMText</a> nodes will not be automatically merged. If the node to be inserted is a <a class="el" href="classDOMDocumentFragment.html" title="DOMDocumentFragment is a &quot;lightweight&quot; or &quot;minimal&quot; DOMDocument object. ">DOMDocumentFragment</a> node, the children will be inserted rather than the <a class="el" href="classDOMDocumentFragment.html" title="DOMDocumentFragment is a &quot;lightweight&quot; or &quot;minimal&quot; DOMDocument object. ">DOMDocumentFragment</a> node itself. </p><dl class="params"><dt>Parameters</dt><dd>
  723. <table class="params">
  724. <tr><td class="paramname">newNode</td><td>The node to insert at the start of the Range </td></tr>
  725. </table>
  726. </dd>
  727. </dl>
  728. <dl class="exception"><dt>Exceptions</dt><dd>
  729. <table class="exception">
  730. <tr><td class="paramname"><a class="el" href="classDOMException.html">DOMException</a></td><td>NO_MODIFICATION_ALLOWED_ERR: Raised if an ancestor container of the start of the Range is read-only. <br />
  731. WRONG_DOCUMENT_ERR: Raised if <code>newNode</code> and the container of the start of the Range were not created from the same document. <br />
  732. HIERARCHY_REQUEST_ERR: Raised if the container of the start of the Range is of a type that does not allow children of the type of <code>newNode</code> or if <code>newNode</code> is an ancestor of the container. <br />
  733. INVALID_STATE_ERR: Raised if <code><a class="el" href="classDOMRange.html#ac7b3e797ad3f681f081a07836e369e3a" title="Called to indicate that the Range is no longer in use and that the implementation may relinquish any ...">detach()</a></code> has already been invoked on this object. </td></tr>
  734. <tr><td class="paramname"><a class="el" href="classDOMRangeException.html" title="Range operations may throw a DOMRangeException as specified in their method descriptions. ">DOMRangeException</a></td><td>INVALID_NODE_TYPE_ERR: Raised if <code>newNode</code> is an <a class="el" href="classDOMAttr.html" title="The DOMAttr class refers to an attribute of an XML element. ">DOMAttr</a>, <a class="el" href="classDOMEntity.html" title="This interface represents an entity, either parsed or unparsed, in an XML document. ">DOMEntity</a>, <a class="el" href="classDOMNotation.html" title="This interface represents a notation declared in the DTD. ">DOMNotation</a>, or <a class="el" href="classDOMDocument.html" title="The DOMDocument interface represents the entire XML document. ">DOMDocument</a> node.</td></tr>
  735. </table>
  736. </dd>
  737. </dl>
  738. <dl class="section since"><dt>Since</dt><dd>DOM Level 2 </dd></dl>
  739. </div>
  740. </div>
  741. <a class="anchor" id="a9a82e63c7b43806b67b048ff0323cf89"></a>
  742. <div class="memitem">
  743. <div class="memproto">
  744. <table class="mlabels">
  745. <tr>
  746. <td class="mlabels-left">
  747. <table class="memname">
  748. <tr>
  749. <td class="memname">virtual void DOMRange::release </td>
  750. <td>(</td>
  751. <td class="paramname"></td><td>)</td>
  752. <td></td>
  753. </tr>
  754. </table>
  755. </td>
  756. <td class="mlabels-right">
  757. <span class="mlabels"><span class="mlabel">pure virtual</span></span> </td>
  758. </tr>
  759. </table>
  760. </div><div class="memdoc">
  761. <p>Called to indicate that this Range is no longer in use and that the implementation may relinquish any resources associated with it. </p>
  762. <p>(<a class="el" href="classDOMRange.html#a9a82e63c7b43806b67b048ff0323cf89" title="Called to indicate that this Range is no longer in use and that the implementation may relinquish any...">release()</a> will call <a class="el" href="classDOMRange.html#ac7b3e797ad3f681f081a07836e369e3a" title="Called to indicate that the Range is no longer in use and that the implementation may relinquish any ...">detach()</a> where appropriate)</p>
  763. <p>Access to a released object will lead to unexpected result. </p>
  764. </div>
  765. </div>
  766. <a class="anchor" id="a6c7e35df7eb6f376ca77db2cd31cc1c6"></a>
  767. <div class="memitem">
  768. <div class="memproto">
  769. <table class="mlabels">
  770. <tr>
  771. <td class="mlabels-left">
  772. <table class="memname">
  773. <tr>
  774. <td class="memname">virtual void DOMRange::selectNode </td>
  775. <td>(</td>
  776. <td class="paramtype">const <a class="el" href="classDOMNode.html">DOMNode</a> *&#160;</td>
  777. <td class="paramname"><em>refNode</em></td><td>)</td>
  778. <td></td>
  779. </tr>
  780. </table>
  781. </td>
  782. <td class="mlabels-right">
  783. <span class="mlabels"><span class="mlabel">pure virtual</span></span> </td>
  784. </tr>
  785. </table>
  786. </div><div class="memdoc">
  787. <p>Select a node and its contents. </p>
  788. <dl class="params"><dt>Parameters</dt><dd>
  789. <table class="params">
  790. <tr><td class="paramname">refNode</td><td>The node to select. </td></tr>
  791. </table>
  792. </dd>
  793. </dl>
  794. <dl class="exception"><dt>Exceptions</dt><dd>
  795. <table class="exception">
  796. <tr><td class="paramname"><a class="el" href="classDOMRangeException.html" title="Range operations may throw a DOMRangeException as specified in their method descriptions. ">DOMRangeException</a></td><td>INVALID_NODE_TYPE_ERR: Raised if an ancestor of <code>refNode</code> is an <a class="el" href="classDOMEntity.html" title="This interface represents an entity, either parsed or unparsed, in an XML document. ">DOMEntity</a>, <a class="el" href="classDOMNotation.html" title="This interface represents a notation declared in the DTD. ">DOMNotation</a> or <a class="el" href="classDOMDocumentType.html" title="Each DOMDocument has a doctype attribute whose value is either null or a DOMDocumentType object...">DOMDocumentType</a> node or if <code>refNode</code> is a <a class="el" href="classDOMDocument.html" title="The DOMDocument interface represents the entire XML document. ">DOMDocument</a>, <a class="el" href="classDOMDocumentFragment.html" title="DOMDocumentFragment is a &quot;lightweight&quot; or &quot;minimal&quot; DOMDocument object. ">DOMDocumentFragment</a>, <a class="el" href="classDOMAttr.html" title="The DOMAttr class refers to an attribute of an XML element. ">DOMAttr</a>, <a class="el" href="classDOMEntity.html" title="This interface represents an entity, either parsed or unparsed, in an XML document. ">DOMEntity</a>, or <a class="el" href="classDOMNotation.html" title="This interface represents a notation declared in the DTD. ">DOMNotation</a> node. </td></tr>
  797. <tr><td class="paramname"><a class="el" href="classDOMException.html">DOMException</a></td><td>INVALID_STATE_ERR: Raised if <code><a class="el" href="classDOMRange.html#ac7b3e797ad3f681f081a07836e369e3a" title="Called to indicate that the Range is no longer in use and that the implementation may relinquish any ...">detach()</a></code> has already been invoked on this object. <br />
  798. WRONG_DOCUMENT_ERR: Raised if <code>refNode</code> was created from a different document than the one that created this range.</td></tr>
  799. </table>
  800. </dd>
  801. </dl>
  802. <dl class="section since"><dt>Since</dt><dd>DOM Level 2 </dd></dl>
  803. </div>
  804. </div>
  805. <a class="anchor" id="aa659d982cbaadd0574d564be5659843a"></a>
  806. <div class="memitem">
  807. <div class="memproto">
  808. <table class="mlabels">
  809. <tr>
  810. <td class="mlabels-left">
  811. <table class="memname">
  812. <tr>
  813. <td class="memname">virtual void DOMRange::selectNodeContents </td>
  814. <td>(</td>
  815. <td class="paramtype">const <a class="el" href="classDOMNode.html">DOMNode</a> *&#160;</td>
  816. <td class="paramname"><em>refNode</em></td><td>)</td>
  817. <td></td>
  818. </tr>
  819. </table>
  820. </td>
  821. <td class="mlabels-right">
  822. <span class="mlabels"><span class="mlabel">pure virtual</span></span> </td>
  823. </tr>
  824. </table>
  825. </div><div class="memdoc">
  826. <p>Select the contents within a node. </p>
  827. <dl class="params"><dt>Parameters</dt><dd>
  828. <table class="params">
  829. <tr><td class="paramname">refNode</td><td><a class="el" href="classDOMNode.html" title="The DOMNode interface is the primary datatype for the entire Document Object Model. ">DOMNode</a> to select from </td></tr>
  830. </table>
  831. </dd>
  832. </dl>
  833. <dl class="exception"><dt>Exceptions</dt><dd>
  834. <table class="exception">
  835. <tr><td class="paramname"><a class="el" href="classDOMRangeException.html" title="Range operations may throw a DOMRangeException as specified in their method descriptions. ">DOMRangeException</a></td><td>INVALID_NODE_TYPE_ERR: Raised if <code>refNode</code> or an ancestor of <code>refNode</code> is an <a class="el" href="classDOMEntity.html" title="This interface represents an entity, either parsed or unparsed, in an XML document. ">DOMEntity</a>, <a class="el" href="classDOMNotation.html" title="This interface represents a notation declared in the DTD. ">DOMNotation</a> or <a class="el" href="classDOMDocumentType.html" title="Each DOMDocument has a doctype attribute whose value is either null or a DOMDocumentType object...">DOMDocumentType</a> node. </td></tr>
  836. <tr><td class="paramname"><a class="el" href="classDOMException.html">DOMException</a></td><td>INVALID_STATE_ERR: Raised if <code><a class="el" href="classDOMRange.html#ac7b3e797ad3f681f081a07836e369e3a" title="Called to indicate that the Range is no longer in use and that the implementation may relinquish any ...">detach()</a></code> has already been invoked on this object. <br />
  837. WRONG_DOCUMENT_ERR: Raised if <code>refNode</code> was created from a different document than the one that created this range.</td></tr>
  838. </table>
  839. </dd>
  840. </dl>
  841. <dl class="section since"><dt>Since</dt><dd>DOM Level 2 </dd></dl>
  842. </div>
  843. </div>
  844. <a class="anchor" id="afd237c4bb732ccac0d04c4a85128ec6e"></a>
  845. <div class="memitem">
  846. <div class="memproto">
  847. <table class="mlabels">
  848. <tr>
  849. <td class="mlabels-left">
  850. <table class="memname">
  851. <tr>
  852. <td class="memname">virtual void DOMRange::setEnd </td>
  853. <td>(</td>
  854. <td class="paramtype">const <a class="el" href="classDOMNode.html">DOMNode</a> *&#160;</td>
  855. <td class="paramname"><em>refNode</em>, </td>
  856. </tr>
  857. <tr>
  858. <td class="paramkey"></td>
  859. <td></td>
  860. <td class="paramtype"><a class="el" href="Xerces__autoconf__config_8borland_8hpp.html#ac0f7e36996cd03eb43bcee10321f77cd">XMLSize_t</a>&#160;</td>
  861. <td class="paramname"><em>offset</em>&#160;</td>
  862. </tr>
  863. <tr>
  864. <td></td>
  865. <td>)</td>
  866. <td></td><td></td>
  867. </tr>
  868. </table>
  869. </td>
  870. <td class="mlabels-right">
  871. <span class="mlabels"><span class="mlabel">pure virtual</span></span> </td>
  872. </tr>
  873. </table>
  874. </div><div class="memdoc">
  875. <p>Sets the attributes describing the end of a Range. </p>
  876. <dl class="params"><dt>Parameters</dt><dd>
  877. <table class="params">
  878. <tr><td class="paramname">refNode</td><td>The <code>refNode</code> value. This parameter must be different from <code>null</code>. </td></tr>
  879. <tr><td class="paramname">offset</td><td>The <code>endOffset</code> value. </td></tr>
  880. </table>
  881. </dd>
  882. </dl>
  883. <dl class="exception"><dt>Exceptions</dt><dd>
  884. <table class="exception">
  885. <tr><td class="paramname"><a class="el" href="classDOMRangeException.html" title="Range operations may throw a DOMRangeException as specified in their method descriptions. ">DOMRangeException</a></td><td>INVALID_NODE_TYPE_ERR: Raised if <code>refNode</code> or an ancestor of <code>refNode</code> is an <a class="el" href="classDOMEntity.html" title="This interface represents an entity, either parsed or unparsed, in an XML document. ">DOMEntity</a>, <a class="el" href="classDOMNotation.html" title="This interface represents a notation declared in the DTD. ">DOMNotation</a>, or <a class="el" href="classDOMDocumentType.html" title="Each DOMDocument has a doctype attribute whose value is either null or a DOMDocumentType object...">DOMDocumentType</a> node. </td></tr>
  886. <tr><td class="paramname"><a class="el" href="classDOMException.html">DOMException</a></td><td>INDEX_SIZE_ERR: Raised if <code>offset</code> is negative or greater than the number of child units in <code>refNode</code>. Child units are 16-bit units if <code>refNode</code> is a type of <a class="el" href="classDOMCharacterData.html" title="The DOMCharacterData interface extends DOMNode with a set of attributes and methods for accessing cha...">DOMCharacterData</a> node (e.g., a <a class="el" href="classDOMText.html" title="The DOMText interface inherits from DOMCharacterData and represents the textual content (termed chara...">DOMText</a> or <a class="el" href="classDOMComment.html" title="This interface inherits from CharacterData and represents the content of a comment, i.e., all the characters between the starting &#39; <!–&#39; and ending &#39;–>&#39;. ">DOMComment</a> node) or a <a class="el" href="classDOMProcessingInstruction.html" title="The DOMProcessingInstruction interface represents a &quot;processing instruction&quot;, used in XML as a way to...">DOMProcessingInstruction</a> node. Child units are Nodes in all other cases. <br />
  887. INVALID_STATE_ERR: Raised if <code><a class="el" href="classDOMRange.html#ac7b3e797ad3f681f081a07836e369e3a" title="Called to indicate that the Range is no longer in use and that the implementation may relinquish any ...">detach()</a></code> has already been invoked on this object. <br />
  888. WRONG_DOCUMENT_ERR: Raised if <code>refNode</code> was created from a different document than the one that created this range.</td></tr>
  889. </table>
  890. </dd>
  891. </dl>
  892. <dl class="section since"><dt>Since</dt><dd>DOM Level 2 </dd></dl>
  893. </div>
  894. </div>
  895. <a class="anchor" id="aea76fe2447ffeb6866a944b7132b45c7"></a>
  896. <div class="memitem">
  897. <div class="memproto">
  898. <table class="mlabels">
  899. <tr>
  900. <td class="mlabels-left">
  901. <table class="memname">
  902. <tr>
  903. <td class="memname">virtual void DOMRange::setEndAfter </td>
  904. <td>(</td>
  905. <td class="paramtype">const <a class="el" href="classDOMNode.html">DOMNode</a> *&#160;</td>
  906. <td class="paramname"><em>refNode</em></td><td>)</td>
  907. <td></td>
  908. </tr>
  909. </table>
  910. </td>
  911. <td class="mlabels-right">
  912. <span class="mlabels"><span class="mlabel">pure virtual</span></span> </td>
  913. </tr>
  914. </table>
  915. </div><div class="memdoc">
  916. <p>Sets the end of a Range to be after a node. </p>
  917. <dl class="params"><dt>Parameters</dt><dd>
  918. <table class="params">
  919. <tr><td class="paramname">refNode</td><td>Range ends after <code>refNode</code>. </td></tr>
  920. </table>
  921. </dd>
  922. </dl>
  923. <dl class="exception"><dt>Exceptions</dt><dd>
  924. <table class="exception">
  925. <tr><td class="paramname"><a class="el" href="classDOMRangeException.html" title="Range operations may throw a DOMRangeException as specified in their method descriptions. ">DOMRangeException</a></td><td>INVALID_NODE_TYPE_ERR: Raised if the root container of <code>refNode</code> is not a <a class="el" href="classDOMAttr.html" title="The DOMAttr class refers to an attribute of an XML element. ">DOMAttr</a>, <a class="el" href="classDOMDocument.html" title="The DOMDocument interface represents the entire XML document. ">DOMDocument</a> or <a class="el" href="classDOMDocumentFragment.html" title="DOMDocumentFragment is a &quot;lightweight&quot; or &quot;minimal&quot; DOMDocument object. ">DOMDocumentFragment</a> node or if <code>refNode</code> is a <a class="el" href="classDOMDocument.html" title="The DOMDocument interface represents the entire XML document. ">DOMDocument</a>, <a class="el" href="classDOMDocumentFragment.html" title="DOMDocumentFragment is a &quot;lightweight&quot; or &quot;minimal&quot; DOMDocument object. ">DOMDocumentFragment</a>, <a class="el" href="classDOMAttr.html" title="The DOMAttr class refers to an attribute of an XML element. ">DOMAttr</a>, <a class="el" href="classDOMEntity.html" title="This interface represents an entity, either parsed or unparsed, in an XML document. ">DOMEntity</a>, or <a class="el" href="classDOMNotation.html" title="This interface represents a notation declared in the DTD. ">DOMNotation</a> node. </td></tr>
  926. <tr><td class="paramname"><a class="el" href="classDOMException.html">DOMException</a></td><td>INVALID_STATE_ERR: Raised if <code><a class="el" href="classDOMRange.html#ac7b3e797ad3f681f081a07836e369e3a" title="Called to indicate that the Range is no longer in use and that the implementation may relinquish any ...">detach()</a></code> has already been invoked on this object. <br />
  927. WRONG_DOCUMENT_ERR: Raised if <code>refNode</code> was created from a different document than the one that created this range.</td></tr>
  928. </table>
  929. </dd>
  930. </dl>
  931. <dl class="section since"><dt>Since</dt><dd>DOM Level 2 </dd></dl>
  932. </div>
  933. </div>
  934. <a class="anchor" id="a136cb62f6bbea91d59e6bf6b2ff9a71b"></a>
  935. <div class="memitem">
  936. <div class="memproto">
  937. <table class="mlabels">
  938. <tr>
  939. <td class="mlabels-left">
  940. <table class="memname">
  941. <tr>
  942. <td class="memname">virtual void DOMRange::setEndBefore </td>
  943. <td>(</td>
  944. <td class="paramtype">const <a class="el" href="classDOMNode.html">DOMNode</a> *&#160;</td>
  945. <td class="paramname"><em>refNode</em></td><td>)</td>
  946. <td></td>
  947. </tr>
  948. </table>
  949. </td>
  950. <td class="mlabels-right">
  951. <span class="mlabels"><span class="mlabel">pure virtual</span></span> </td>
  952. </tr>
  953. </table>
  954. </div><div class="memdoc">
  955. <p>Sets the end position to be before a node. </p>
  956. <dl class="params"><dt>Parameters</dt><dd>
  957. <table class="params">
  958. <tr><td class="paramname">refNode</td><td>Range ends before <code>refNode</code> </td></tr>
  959. </table>
  960. </dd>
  961. </dl>
  962. <dl class="exception"><dt>Exceptions</dt><dd>
  963. <table class="exception">
  964. <tr><td class="paramname"><a class="el" href="classDOMRangeException.html" title="Range operations may throw a DOMRangeException as specified in their method descriptions. ">DOMRangeException</a></td><td>INVALID_NODE_TYPE_ERR: Raised if the root container of <code>refNode</code> is not an <a class="el" href="classDOMAttr.html" title="The DOMAttr class refers to an attribute of an XML element. ">DOMAttr</a>, <a class="el" href="classDOMDocument.html" title="The DOMDocument interface represents the entire XML document. ">DOMDocument</a>, or <a class="el" href="classDOMDocumentFragment.html" title="DOMDocumentFragment is a &quot;lightweight&quot; or &quot;minimal&quot; DOMDocument object. ">DOMDocumentFragment</a> node or if <code>refNode</code> is a <a class="el" href="classDOMDocument.html" title="The DOMDocument interface represents the entire XML document. ">DOMDocument</a>, <a class="el" href="classDOMDocumentFragment.html" title="DOMDocumentFragment is a &quot;lightweight&quot; or &quot;minimal&quot; DOMDocument object. ">DOMDocumentFragment</a>, <a class="el" href="classDOMAttr.html" title="The DOMAttr class refers to an attribute of an XML element. ">DOMAttr</a>, <a class="el" href="classDOMEntity.html" title="This interface represents an entity, either parsed or unparsed, in an XML document. ">DOMEntity</a>, or <a class="el" href="classDOMNotation.html" title="This interface represents a notation declared in the DTD. ">DOMNotation</a> node. </td></tr>
  965. <tr><td class="paramname"><a class="el" href="classDOMException.html">DOMException</a></td><td>INVALID_STATE_ERR: Raised if <code><a class="el" href="classDOMRange.html#ac7b3e797ad3f681f081a07836e369e3a" title="Called to indicate that the Range is no longer in use and that the implementation may relinquish any ...">detach()</a></code> has already been invoked on this object. <br />
  966. WRONG_DOCUMENT_ERR: Raised if <code>refNode</code> was created from a different document than the one that created this range.</td></tr>
  967. </table>
  968. </dd>
  969. </dl>
  970. <dl class="section since"><dt>Since</dt><dd>DOM Level 2 </dd></dl>
  971. </div>
  972. </div>
  973. <a class="anchor" id="af25ec2bf59cbc16925c8e1931c953b33"></a>
  974. <div class="memitem">
  975. <div class="memproto">
  976. <table class="mlabels">
  977. <tr>
  978. <td class="mlabels-left">
  979. <table class="memname">
  980. <tr>
  981. <td class="memname">virtual void DOMRange::setStart </td>
  982. <td>(</td>
  983. <td class="paramtype">const <a class="el" href="classDOMNode.html">DOMNode</a> *&#160;</td>
  984. <td class="paramname"><em>refNode</em>, </td>
  985. </tr>
  986. <tr>
  987. <td class="paramkey"></td>
  988. <td></td>
  989. <td class="paramtype"><a class="el" href="Xerces__autoconf__config_8borland_8hpp.html#ac0f7e36996cd03eb43bcee10321f77cd">XMLSize_t</a>&#160;</td>
  990. <td class="paramname"><em>offset</em>&#160;</td>
  991. </tr>
  992. <tr>
  993. <td></td>
  994. <td>)</td>
  995. <td></td><td></td>
  996. </tr>
  997. </table>
  998. </td>
  999. <td class="mlabels-right">
  1000. <span class="mlabels"><span class="mlabel">pure virtual</span></span> </td>
  1001. </tr>
  1002. </table>
  1003. </div><div class="memdoc">
  1004. <p>Sets the attributes describing the start of the Range. </p>
  1005. <dl class="params"><dt>Parameters</dt><dd>
  1006. <table class="params">
  1007. <tr><td class="paramname">refNode</td><td>The <code>refNode</code> value. This parameter must be different from <code>null</code>. </td></tr>
  1008. <tr><td class="paramname">offset</td><td>The <code>startOffset</code> value. </td></tr>
  1009. </table>
  1010. </dd>
  1011. </dl>
  1012. <dl class="exception"><dt>Exceptions</dt><dd>
  1013. <table class="exception">
  1014. <tr><td class="paramname"><a class="el" href="classDOMRangeException.html" title="Range operations may throw a DOMRangeException as specified in their method descriptions. ">DOMRangeException</a></td><td>INVALID_NODE_TYPE_ERR: Raised if <code>refNode</code> or an ancestor of <code>refNode</code> is an <a class="el" href="classDOMEntity.html" title="This interface represents an entity, either parsed or unparsed, in an XML document. ">DOMEntity</a>, <a class="el" href="classDOMNotation.html" title="This interface represents a notation declared in the DTD. ">DOMNotation</a>, or <a class="el" href="classDOMDocumentType.html" title="Each DOMDocument has a doctype attribute whose value is either null or a DOMDocumentType object...">DOMDocumentType</a> node. </td></tr>
  1015. <tr><td class="paramname"><a class="el" href="classDOMException.html">DOMException</a></td><td>INDEX_SIZE_ERR: Raised if <code>offset</code> is negative or greater than the number of child units in <code>refNode</code>. Child units are 16-bit units if <code>refNode</code> is a type of <a class="el" href="classDOMCharacterData.html" title="The DOMCharacterData interface extends DOMNode with a set of attributes and methods for accessing cha...">DOMCharacterData</a> node (e.g., a <a class="el" href="classDOMText.html" title="The DOMText interface inherits from DOMCharacterData and represents the textual content (termed chara...">DOMText</a> or <a class="el" href="classDOMComment.html" title="This interface inherits from CharacterData and represents the content of a comment, i.e., all the characters between the starting &#39; <!–&#39; and ending &#39;–>&#39;. ">DOMComment</a> node) or a <a class="el" href="classDOMProcessingInstruction.html" title="The DOMProcessingInstruction interface represents a &quot;processing instruction&quot;, used in XML as a way to...">DOMProcessingInstruction</a> node. Child units are Nodes in all other cases. <br />
  1016. INVALID_STATE_ERR: Raised if <code><a class="el" href="classDOMRange.html#ac7b3e797ad3f681f081a07836e369e3a" title="Called to indicate that the Range is no longer in use and that the implementation may relinquish any ...">detach()</a></code> has already been invoked on this object. <br />
  1017. WRONG_DOCUMENT_ERR: Raised if <code>refNode</code> was created from a different document than the one that created this range.</td></tr>
  1018. </table>
  1019. </dd>
  1020. </dl>
  1021. <dl class="section since"><dt>Since</dt><dd>DOM Level 2 </dd></dl>
  1022. </div>
  1023. </div>
  1024. <a class="anchor" id="a5188aa5fcdb9641a5ed8cfd52f5fd324"></a>
  1025. <div class="memitem">
  1026. <div class="memproto">
  1027. <table class="mlabels">
  1028. <tr>
  1029. <td class="mlabels-left">
  1030. <table class="memname">
  1031. <tr>
  1032. <td class="memname">virtual void DOMRange::setStartAfter </td>
  1033. <td>(</td>
  1034. <td class="paramtype">const <a class="el" href="classDOMNode.html">DOMNode</a> *&#160;</td>
  1035. <td class="paramname"><em>refNode</em></td><td>)</td>
  1036. <td></td>
  1037. </tr>
  1038. </table>
  1039. </td>
  1040. <td class="mlabels-right">
  1041. <span class="mlabels"><span class="mlabel">pure virtual</span></span> </td>
  1042. </tr>
  1043. </table>
  1044. </div><div class="memdoc">
  1045. <p>Sets the start position to be after a node. </p>
  1046. <dl class="params"><dt>Parameters</dt><dd>
  1047. <table class="params">
  1048. <tr><td class="paramname">refNode</td><td>Range starts after <code>refNode</code> </td></tr>
  1049. </table>
  1050. </dd>
  1051. </dl>
  1052. <dl class="exception"><dt>Exceptions</dt><dd>
  1053. <table class="exception">
  1054. <tr><td class="paramname"><a class="el" href="classDOMRangeException.html" title="Range operations may throw a DOMRangeException as specified in their method descriptions. ">DOMRangeException</a></td><td>INVALID_NODE_TYPE_ERR: Raised if the root container of <code>refNode</code> is not an <a class="el" href="classDOMAttr.html" title="The DOMAttr class refers to an attribute of an XML element. ">DOMAttr</a>, <a class="el" href="classDOMDocument.html" title="The DOMDocument interface represents the entire XML document. ">DOMDocument</a>, or <a class="el" href="classDOMDocumentFragment.html" title="DOMDocumentFragment is a &quot;lightweight&quot; or &quot;minimal&quot; DOMDocument object. ">DOMDocumentFragment</a> node or if <code>refNode</code> is a <a class="el" href="classDOMDocument.html" title="The DOMDocument interface represents the entire XML document. ">DOMDocument</a>, <a class="el" href="classDOMDocumentFragment.html" title="DOMDocumentFragment is a &quot;lightweight&quot; or &quot;minimal&quot; DOMDocument object. ">DOMDocumentFragment</a>, <a class="el" href="classDOMAttr.html" title="The DOMAttr class refers to an attribute of an XML element. ">DOMAttr</a>, <a class="el" href="classDOMEntity.html" title="This interface represents an entity, either parsed or unparsed, in an XML document. ">DOMEntity</a>, or <a class="el" href="classDOMNotation.html" title="This interface represents a notation declared in the DTD. ">DOMNotation</a> node. </td></tr>
  1055. <tr><td class="paramname"><a class="el" href="classDOMException.html">DOMException</a></td><td>INVALID_STATE_ERR: Raised if <code><a class="el" href="classDOMRange.html#ac7b3e797ad3f681f081a07836e369e3a" title="Called to indicate that the Range is no longer in use and that the implementation may relinquish any ...">detach()</a></code> has already been invoked on this object. <br />
  1056. WRONG_DOCUMENT_ERR: Raised if <code>refNode</code> was created from a different document than the one that created this range.</td></tr>
  1057. </table>
  1058. </dd>
  1059. </dl>
  1060. <dl class="section since"><dt>Since</dt><dd>DOM Level 2 </dd></dl>
  1061. </div>
  1062. </div>
  1063. <a class="anchor" id="ab109475fe2ecbf83596ffe6522bec541"></a>
  1064. <div class="memitem">
  1065. <div class="memproto">
  1066. <table class="mlabels">
  1067. <tr>
  1068. <td class="mlabels-left">
  1069. <table class="memname">
  1070. <tr>
  1071. <td class="memname">virtual void DOMRange::setStartBefore </td>
  1072. <td>(</td>
  1073. <td class="paramtype">const <a class="el" href="classDOMNode.html">DOMNode</a> *&#160;</td>
  1074. <td class="paramname"><em>refNode</em></td><td>)</td>
  1075. <td></td>
  1076. </tr>
  1077. </table>
  1078. </td>
  1079. <td class="mlabels-right">
  1080. <span class="mlabels"><span class="mlabel">pure virtual</span></span> </td>
  1081. </tr>
  1082. </table>
  1083. </div><div class="memdoc">
  1084. <p>Sets the start position to be before a node. </p>
  1085. <dl class="params"><dt>Parameters</dt><dd>
  1086. <table class="params">
  1087. <tr><td class="paramname">refNode</td><td>Range starts before <code>refNode</code> </td></tr>
  1088. </table>
  1089. </dd>
  1090. </dl>
  1091. <dl class="exception"><dt>Exceptions</dt><dd>
  1092. <table class="exception">
  1093. <tr><td class="paramname"><a class="el" href="classDOMRangeException.html" title="Range operations may throw a DOMRangeException as specified in their method descriptions. ">DOMRangeException</a></td><td>INVALID_NODE_TYPE_ERR: Raised if the root container of <code>refNode</code> is not an <a class="el" href="classDOMAttr.html" title="The DOMAttr class refers to an attribute of an XML element. ">DOMAttr</a>, <a class="el" href="classDOMDocument.html" title="The DOMDocument interface represents the entire XML document. ">DOMDocument</a>, or <a class="el" href="classDOMDocumentFragment.html" title="DOMDocumentFragment is a &quot;lightweight&quot; or &quot;minimal&quot; DOMDocument object. ">DOMDocumentFragment</a> node or if <code>refNode</code> is a <a class="el" href="classDOMDocument.html" title="The DOMDocument interface represents the entire XML document. ">DOMDocument</a>, <a class="el" href="classDOMDocumentFragment.html" title="DOMDocumentFragment is a &quot;lightweight&quot; or &quot;minimal&quot; DOMDocument object. ">DOMDocumentFragment</a>, <a class="el" href="classDOMAttr.html" title="The DOMAttr class refers to an attribute of an XML element. ">DOMAttr</a>, <a class="el" href="classDOMEntity.html" title="This interface represents an entity, either parsed or unparsed, in an XML document. ">DOMEntity</a>, or <a class="el" href="classDOMNotation.html" title="This interface represents a notation declared in the DTD. ">DOMNotation</a> node. </td></tr>
  1094. <tr><td class="paramname"><a class="el" href="classDOMException.html">DOMException</a></td><td>INVALID_STATE_ERR: Raised if <code><a class="el" href="classDOMRange.html#ac7b3e797ad3f681f081a07836e369e3a" title="Called to indicate that the Range is no longer in use and that the implementation may relinquish any ...">detach()</a></code> has already been invoked on this object. <br />
  1095. WRONG_DOCUMENT_ERR: Raised if <code>refNode</code> was created from a different document than the one that created this range.</td></tr>
  1096. </table>
  1097. </dd>
  1098. </dl>
  1099. <dl class="section since"><dt>Since</dt><dd>DOM Level 2 </dd></dl>
  1100. </div>
  1101. </div>
  1102. <a class="anchor" id="a8e064aedbe31b4d6a1e14e1f8209923f"></a>
  1103. <div class="memitem">
  1104. <div class="memproto">
  1105. <table class="mlabels">
  1106. <tr>
  1107. <td class="mlabels-left">
  1108. <table class="memname">
  1109. <tr>
  1110. <td class="memname">virtual void DOMRange::surroundContents </td>
  1111. <td>(</td>
  1112. <td class="paramtype"><a class="el" href="classDOMNode.html">DOMNode</a> *&#160;</td>
  1113. <td class="paramname"><em>newParent</em></td><td>)</td>
  1114. <td></td>
  1115. </tr>
  1116. </table>
  1117. </td>
  1118. <td class="mlabels-right">
  1119. <span class="mlabels"><span class="mlabel">pure virtual</span></span> </td>
  1120. </tr>
  1121. </table>
  1122. </div><div class="memdoc">
  1123. <p>Reparents the contents of the Range to the given node and inserts the node at the position of the start of the Range. </p>
  1124. <dl class="params"><dt>Parameters</dt><dd>
  1125. <table class="params">
  1126. <tr><td class="paramname">newParent</td><td>The node to surround the contents with. </td></tr>
  1127. </table>
  1128. </dd>
  1129. </dl>
  1130. <dl class="exception"><dt>Exceptions</dt><dd>
  1131. <table class="exception">
  1132. <tr><td class="paramname"><a class="el" href="classDOMException.html">DOMException</a></td><td>NO_MODIFICATION_ALLOWED_ERR: Raised if an ancestor container of either boundary-point of the Range is read-only. <br />
  1133. WRONG_DOCUMENT_ERR: Raised if <code> newParent</code> and the container of the start of the Range were not created from the same document. <br />
  1134. HIERARCHY_REQUEST_ERR: Raised if the container of the start of the Range is of a type that does not allow children of the type of <code>newParent</code> or if <code>newParent</code> is an ancestor of the container or if <code>node</code> would end up with a child node of a type not allowed by the type of <code>node</code>. <br />
  1135. INVALID_STATE_ERR: Raised if <code><a class="el" href="classDOMRange.html#ac7b3e797ad3f681f081a07836e369e3a" title="Called to indicate that the Range is no longer in use and that the implementation may relinquish any ...">detach()</a></code> has already been invoked on this object. </td></tr>
  1136. <tr><td class="paramname"><a class="el" href="classDOMRangeException.html" title="Range operations may throw a DOMRangeException as specified in their method descriptions. ">DOMRangeException</a></td><td>BAD_BOUNDARYPOINTS_ERR: Raised if the Range partially selects a non-text node. <br />
  1137. INVALID_NODE_TYPE_ERR: Raised if <code> node</code> is an <a class="el" href="classDOMAttr.html" title="The DOMAttr class refers to an attribute of an XML element. ">DOMAttr</a>, <a class="el" href="classDOMEntity.html" title="This interface represents an entity, either parsed or unparsed, in an XML document. ">DOMEntity</a>, <a class="el" href="classDOMDocumentType.html" title="Each DOMDocument has a doctype attribute whose value is either null or a DOMDocumentType object...">DOMDocumentType</a>, <a class="el" href="classDOMNotation.html" title="This interface represents a notation declared in the DTD. ">DOMNotation</a>, <a class="el" href="classDOMDocument.html" title="The DOMDocument interface represents the entire XML document. ">DOMDocument</a>, or <a class="el" href="classDOMDocumentFragment.html" title="DOMDocumentFragment is a &quot;lightweight&quot; or &quot;minimal&quot; DOMDocument object. ">DOMDocumentFragment</a> node.</td></tr>
  1138. </table>
  1139. </dd>
  1140. </dl>
  1141. <dl class="section since"><dt>Since</dt><dd>DOM Level 2 </dd></dl>
  1142. </div>
  1143. </div>
  1144. <a class="anchor" id="a110663e653e493c1a6784422e117b1aa"></a>
  1145. <div class="memitem">
  1146. <div class="memproto">
  1147. <table class="mlabels">
  1148. <tr>
  1149. <td class="mlabels-left">
  1150. <table class="memname">
  1151. <tr>
  1152. <td class="memname">virtual const <a class="el" href="Xerces__autoconf__config_8borland_8hpp.html#a8cb107980a360c490ad7661f5d27cc0e">XMLCh</a>* DOMRange::toString </td>
  1153. <td>(</td>
  1154. <td class="paramname"></td><td>)</td>
  1155. <td> const</td>
  1156. </tr>
  1157. </table>
  1158. </td>
  1159. <td class="mlabels-right">
  1160. <span class="mlabels"><span class="mlabel">pure virtual</span></span> </td>
  1161. </tr>
  1162. </table>
  1163. </div><div class="memdoc">
  1164. <p>Returns the contents of a Range as a string. </p>
  1165. <p>This string contains only the data characters, not any markup. </p><dl class="section return"><dt>Returns</dt><dd>The contents of the Range. </dd></dl>
  1166. <dl class="exception"><dt>Exceptions</dt><dd>
  1167. <table class="exception">
  1168. <tr><td class="paramname"><a class="el" href="classDOMException.html">DOMException</a></td><td>INVALID_STATE_ERR: Raised if <code><a class="el" href="classDOMRange.html#ac7b3e797ad3f681f081a07836e369e3a" title="Called to indicate that the Range is no longer in use and that the implementation may relinquish any ...">detach()</a></code> has already been invoked on this object.</td></tr>
  1169. </table>
  1170. </dd>
  1171. </dl>
  1172. <dl class="section since"><dt>Since</dt><dd>DOM Level 2 </dd></dl>
  1173. </div>
  1174. </div>
  1175. <hr/>The documentation for this class was generated from the following file:<ul>
  1176. <li><a class="el" href="DOMRange_8hpp_source.html">DOMRange.hpp</a></li>
  1177. </ul>
  1178. </div><!-- contents -->
  1179. <!-- start footer part -->
  1180. <hr class="footer"/><address class="footer"><small>
  1181. Generated on Wed Mar 18 2015 10:43:38 for Xerces-C++ by &#160;<a href="http://www.doxygen.org/index.html">
  1182. <img class="footer" src="doxygen.png" alt="doxygen"/>
  1183. </a> 1.8.9.1
  1184. </small></address>
  1185. </body>
  1186. </html>