<tr><tdclass="mdescLeft"> </td><tdclass="mdescRight"><aclass="el"href="classxercesc_1_1DOMNode.html"title="The DOMNode interface is the primary datatype for the entire Document Object Model...">DOMNode</a> within which the Range begins </p>
<tr><tdvalign="top"></td><tdvalign="top"><em><aclass="el"href="classxercesc_1_1DOMException.html">DOMException</a></em> </td><td>INVALID_STATE_ERR: Raised if <code><aclass="el"href="classxercesc_1_1DOMRange.html#a0cd4d64c7e08a3b72e12cd8eb06b6888"title="Called to indicate that the Range is no longer in use and that the implementation...">detach()</a></code> has already been invoked on this object. </td></tr>
<tr><tdclass="mdescLeft"> </td><tdclass="mdescRight">Offset within the starting node of the Range. <ahref="#a2fac6cfdf4a53a0a2576ecdb22a9b6db"></a><br/></td></tr>
<tr><tdclass="mdescLeft"> </td><tdclass="mdescRight"><aclass="el"href="classxercesc_1_1DOMNode.html"title="The DOMNode interface is the primary datatype for the entire Document Object Model...">DOMNode</a> within which the Range ends </p>
<tr><tdvalign="top"></td><tdvalign="top"><em><aclass="el"href="classxercesc_1_1DOMException.html">DOMException</a></em> </td><td>INVALID_STATE_ERR: Raised if <code><aclass="el"href="classxercesc_1_1DOMRange.html#a0cd4d64c7e08a3b72e12cd8eb06b6888"title="Called to indicate that the Range is no longer in use and that the implementation...">detach()</a></code> has already been invoked on this object. </td></tr>
<tr><tdclass="mdescLeft"> </td><tdclass="mdescRight">Offset within the ending node of the Range. <ahref="#a377b108202cf215059f1598666168b20"></a><br/></td></tr>
<tr><tdvalign="top"></td><tdvalign="top"><em><aclass="el"href="classxercesc_1_1DOMException.html">DOMException</a></em> </td><td>INVALID_STATE_ERR: Raised if <code><aclass="el"href="classxercesc_1_1DOMRange.html#a0cd4d64c7e08a3b72e12cd8eb06b6888"title="Called to indicate that the Range is no longer in use and that the implementation...">detach()</a></code> has already been invoked on this object. </td></tr>
<tr><tdclass="mdescLeft"> </td><tdclass="mdescRight">The deepest common ancestor container of the Range's two boundary-points. <ahref="#a69837c26e44c82f917922b25f9239053"></a><br/></td></tr>
<tr><tdclass="mdescLeft"> </td><tdclass="mdescRight">Sets the attributes describing the start of the Range. <ahref="#a8eaad84f9c769745f44422a3aec5ee8d"></a><br/></td></tr>
<tr><tdclass="mdescLeft"> </td><tdclass="mdescRight">Sets the attributes describing the end of a Range. <ahref="#a33e63dc548fc8f452dc4662fc8ca05dd"></a><br/></td></tr>
<tr><tdclass="mdescLeft"> </td><tdclass="mdescRight">Sets the start position to be before a node. <ahref="#a04db3d0ff11e8153214797f618512ca9"></a><br/></td></tr>
<tr><tdclass="mdescLeft"> </td><tdclass="mdescRight">Sets the start position to be after a node. <ahref="#a960bd9c6f8fd16b92dc5629bf927424b"></a><br/></td></tr>
<tr><tdclass="mdescLeft"> </td><tdclass="mdescRight">Sets the end position to be before a node. <ahref="#afac8fad87367742b7d8a28d618876d6b"></a><br/></td></tr>
<tr><tdclass="mdescLeft"> </td><tdclass="mdescRight">Sets the end of a Range to be after a node. <ahref="#a0a86ad551674e72cf9f7b8e7192d6b57"></a><br/></td></tr>
<tr><tdclass="mdescLeft"> </td><tdclass="mdescRight">Collapse a Range onto one of its boundary-points. <ahref="#ac67d1cbebf33de056c856763b2215886"></a><br/></td></tr>
<tr><tdclass="mdescLeft"> </td><tdclass="mdescRight">Select a node and its contents. <ahref="#aad306fc55a88c86089520fea19114937"></a><br/></td></tr>
<tr><tdclass="mdescLeft"> </td><tdclass="mdescRight">Select the contents within a node. <ahref="#afb6889557d50f5aaa76304da409a9f5d"></a><br/></td></tr>
<tr><tdclass="mdescLeft"> </td><tdclass="mdescRight">Compare the boundary-points of two Ranges in a document. <ahref="#ac4eae1fd612570ced81e8ca2bf2e1445"></a><br/></td></tr>
<tr><tdclass="mdescLeft"> </td><tdclass="mdescRight">Removes the contents of a Range from the containing document or document fragment without returning a reference to the removed content. <ahref="#a151aeca48596eda20500bfe4b1fe50bc"></a><br/></td></tr>
<tr><tdclass="mdescLeft"> </td><tdclass="mdescRight">Moves the contents of a Range from the containing document or document fragment to a new <aclass="el"href="classxercesc_1_1DOMDocumentFragment.html"title="DOMDocumentFragment is a "lightweight" or "minimal" DOMDocument...">DOMDocumentFragment</a>. <ahref="#a36031cc656affc081fd231f4344f4ef6"></a><br/></td></tr>
<tr><tdclass="mdescLeft"> </td><tdclass="mdescRight">Duplicates the contents of a Range. <ahref="#abdc6a6f6174d7148dfba135b09edb850"></a><br/></td></tr>
<tr><tdclass="mdescLeft"> </td><tdclass="mdescRight">Inserts a node into the <aclass="el"href="classxercesc_1_1DOMDocument.html"title="The DOMDocument interface represents the entire XML document.">DOMDocument</a> or <aclass="el"href="classxercesc_1_1DOMDocumentFragment.html"title="DOMDocumentFragment is a "lightweight" or "minimal" DOMDocument...">DOMDocumentFragment</a> at the start of the Range. <ahref="#ae54835ad569bd500cc6166456c069d2f"></a><br/></td></tr>
<tr><tdclass="mdescLeft"> </td><tdclass="mdescRight">Reparents the contents of the Range to the given node and inserts the node at the position of the start of the Range. <ahref="#a131a8c953b0e6dfa6abf39ed96551c2a"></a><br/></td></tr>
<tr><tdclass="mdescLeft"> </td><tdclass="mdescRight">Produces a new Range whose boundary-points are equal to the boundary-points of the Range. <ahref="#af8c069b9162a05facb00cadb05baf395"></a><br/></td></tr>
<tr><tdclass="mdescLeft"> </td><tdclass="mdescRight">Returns the contents of a Range as a string. <ahref="#a74b794d8751ebc50f97451272f6ea5c3"></a><br/></td></tr>
<tr><tdclass="mdescLeft"> </td><tdclass="mdescRight">Called to indicate that the Range is no longer in use and that the implementation may relinquish any resources associated with this Range. <ahref="#a0cd4d64c7e08a3b72e12cd8eb06b6888"></a><br/></td></tr>
<tr><tdclass="mdescLeft"> </td><tdclass="mdescRight">Called to indicate that this Range is no longer in use and that the implementation may relinquish any resources associated with it. <ahref="#abc2f073c570238ebc51d896e068b7333"></a><br/></td></tr>
<tr><tdcolspan="2"><h2>Protected Member Functions</h2></td></tr>
<p>See also the <ahref="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>
<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>
<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>
<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>
<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>
<dlclass="return"><dt><b>Returns:</b></dt><dd>A <aclass="el"href="classxercesc_1_1DOMDocumentFragment.html"title="DOMDocumentFragment is a "lightweight" or "minimal" DOMDocument...">DOMDocumentFragment</a> that contains content equivalent to this Range. </dd></dl>
<tr><tdvalign="top"></td><tdvalign="top"><em><aclass="el"href="classxercesc_1_1DOMException.html">DOMException</a></em> </td><td>HIERARCHY_REQUEST_ERR: Raised if a <aclass="el"href="classxercesc_1_1DOMDocumentType.html"title="Each DOMDocument has a doctype attribute whose value is either null or a DOMDocumentType...">DOMDocumentType</a> node would be extracted into the new <aclass="el"href="classxercesc_1_1DOMDocumentFragment.html"title="DOMDocumentFragment is a "lightweight" or "minimal" DOMDocument...">DOMDocumentFragment</a>. <br/>
INVALID_STATE_ERR: Raised if <code><aclass="el"href="classxercesc_1_1DOMRange.html#a0cd4d64c7e08a3b72e12cd8eb06b6888"title="Called to indicate that the Range is no longer in use and that the implementation...">detach()</a></code> has already been invoked on this object.</td></tr>
<tr><tdvalign="top"></td><tdvalign="top"><em><aclass="el"href="classxercesc_1_1DOMException.html">DOMException</a></em> </td><td>INVALID_STATE_ERR: Raised if <code><aclass="el"href="classxercesc_1_1DOMRange.html#a0cd4d64c7e08a3b72e12cd8eb06b6888"title="Called to indicate that the Range is no longer in use and that the implementation...">detach()</a></code> has already been invoked on this object.</td></tr>
<tr><tdvalign="top"></td><tdvalign="top"><em>toStart</em> </td><td>If TRUE, collapses the Range onto its start; if FALSE, collapses it onto its end. </td></tr>
<tr><tdvalign="top"></td><tdvalign="top"><em><aclass="el"href="classxercesc_1_1DOMException.html">DOMException</a></em> </td><td>INVALID_STATE_ERR: Raised if <code><aclass="el"href="classxercesc_1_1DOMRange.html#a0cd4d64c7e08a3b72e12cd8eb06b6888"title="Called to indicate that the Range is no longer in use and that the implementation...">detach()</a></code> has already been invoked on this object.</td></tr>
<tr><tdvalign="top"></td><tdvalign="top"><em>how</em> </td><td>A code representing the type of comparison, as defined above. </td></tr>
<tr><tdvalign="top"></td><tdvalign="top"><em>sourceRange</em> </td><td>The <code>Range</code> on which this current <code>Range</code> is compared to. </td></tr>
<dlclass="return"><dt><b>Returns:</b></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>
<tr><tdvalign="top"></td><tdvalign="top"><em><aclass="el"href="classxercesc_1_1DOMException.html">DOMException</a></em> </td><td>WRONG_DOCUMENT_ERR: Raised if the two Ranges are not in the same <aclass="el"href="classxercesc_1_1DOMDocument.html"title="The DOMDocument interface represents the entire XML document.">DOMDocument</a> or <aclass="el"href="classxercesc_1_1DOMDocumentFragment.html"title="DOMDocumentFragment is a "lightweight" or "minimal" DOMDocument...">DOMDocumentFragment</a>. <br/>
INVALID_STATE_ERR: Raised if <code><aclass="el"href="classxercesc_1_1DOMRange.html#a0cd4d64c7e08a3b72e12cd8eb06b6888"title="Called to indicate that the Range is no longer in use and that the implementation...">detach()</a></code> has already been invoked on this object.</td></tr>
<tr><tdvalign="top"></td><tdvalign="top"><em><aclass="el"href="classxercesc_1_1DOMException.html">DOMException</a></em> </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/>
INVALID_STATE_ERR: Raised if <code><aclass="el"href="classxercesc_1_1DOMRange.html#a0cd4d64c7e08a3b72e12cd8eb06b6888"title="Called to indicate that the Range is no longer in use and that the implementation...">detach()</a></code> has already been invoked on this object.</td></tr>
<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>
<p>Subsequent calls to any methods or attribute getters on this Range will result in a <code><aclass="el"href="classxercesc_1_1DOMException.html">DOMException</a></code> being thrown with an error code of <code>INVALID_STATE_ERR</code>. </p>
<tr><tdvalign="top"></td><tdvalign="top"><em><aclass="el"href="classxercesc_1_1DOMException.html">DOMException</a></em> </td><td>INVALID_STATE_ERR: Raised if <code><aclass="el"href="classxercesc_1_1DOMRange.html#a0cd4d64c7e08a3b72e12cd8eb06b6888"title="Called to indicate that the Range is no longer in use and that the implementation...">detach()</a></code> has already been invoked on this object.</td></tr>
<p>Moves the contents of a Range from the containing document or document fragment to a new <aclass="el"href="classxercesc_1_1DOMDocumentFragment.html"title="DOMDocumentFragment is a "lightweight" or "minimal" DOMDocument...">DOMDocumentFragment</a>. </p>
<dlclass="return"><dt><b>Returns:</b></dt><dd>A <aclass="el"href="classxercesc_1_1DOMDocumentFragment.html"title="DOMDocumentFragment is a "lightweight" or "minimal" DOMDocument...">DOMDocumentFragment</a> containing the extracted contents. </dd></dl>
<tr><tdvalign="top"></td><tdvalign="top"><em><aclass="el"href="classxercesc_1_1DOMException.html">DOMException</a></em> </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/>
HIERARCHY_REQUEST_ERR: Raised if a <aclass="el"href="classxercesc_1_1DOMDocumentType.html"title="Each DOMDocument has a doctype attribute whose value is either null or a DOMDocumentType...">DOMDocumentType</a> node would be extracted into the new <aclass="el"href="classxercesc_1_1DOMDocumentFragment.html"title="DOMDocumentFragment is a "lightweight" or "minimal" DOMDocument...">DOMDocumentFragment</a>. <br/>
INVALID_STATE_ERR: Raised if <code><aclass="el"href="classxercesc_1_1DOMRange.html#a0cd4d64c7e08a3b72e12cd8eb06b6888"title="Called to indicate that the Range is no longer in use and that the implementation...">detach()</a></code> has already been invoked on this object.</td></tr>
<tr><tdvalign="top"></td><tdvalign="top"><em><aclass="el"href="classxercesc_1_1DOMException.html">DOMException</a></em> </td><td>INVALID_STATE_ERR: Raised if <code><aclass="el"href="classxercesc_1_1DOMRange.html#a0cd4d64c7e08a3b72e12cd8eb06b6888"title="Called to indicate that the Range is no longer in use and that the implementation...">detach()</a></code> has already been invoked on this object. </td></tr>
<tr><tdvalign="top"></td><tdvalign="top"><em><aclass="el"href="classxercesc_1_1DOMException.html">DOMException</a></em> </td><td>INVALID_STATE_ERR: Raised if <code><aclass="el"href="classxercesc_1_1DOMRange.html#a0cd4d64c7e08a3b72e12cd8eb06b6888"title="Called to indicate that the Range is no longer in use and that the implementation...">detach()</a></code> has already been invoked on this object.</td></tr>
<p><aclass="el"href="classxercesc_1_1DOMNode.html"title="The DOMNode interface is the primary datatype for the entire Document Object Model...">DOMNode</a> within which the Range ends </p>
<tr><tdvalign="top"></td><tdvalign="top"><em><aclass="el"href="classxercesc_1_1DOMException.html">DOMException</a></em> </td><td>INVALID_STATE_ERR: Raised if <code><aclass="el"href="classxercesc_1_1DOMRange.html#a0cd4d64c7e08a3b72e12cd8eb06b6888"title="Called to indicate that the Range is no longer in use and that the implementation...">detach()</a></code> has already been invoked on this object. </td></tr>
<tr><tdvalign="top"></td><tdvalign="top"><em><aclass="el"href="classxercesc_1_1DOMException.html">DOMException</a></em> </td><td>INVALID_STATE_ERR: Raised if <code><aclass="el"href="classxercesc_1_1DOMRange.html#a0cd4d64c7e08a3b72e12cd8eb06b6888"title="Called to indicate that the Range is no longer in use and that the implementation...">detach()</a></code> has already been invoked on this object.</td></tr>
<p><aclass="el"href="classxercesc_1_1DOMNode.html"title="The DOMNode interface is the primary datatype for the entire Document Object Model...">DOMNode</a> within which the Range begins </p>
<tr><tdvalign="top"></td><tdvalign="top"><em><aclass="el"href="classxercesc_1_1DOMException.html">DOMException</a></em> </td><td>INVALID_STATE_ERR: Raised if <code><aclass="el"href="classxercesc_1_1DOMRange.html#a0cd4d64c7e08a3b72e12cd8eb06b6888"title="Called to indicate that the Range is no longer in use and that the implementation...">detach()</a></code> has already been invoked on this object. </td></tr>
<tr><tdvalign="top"></td><tdvalign="top"><em><aclass="el"href="classxercesc_1_1DOMException.html">DOMException</a></em> </td><td>INVALID_STATE_ERR: Raised if <code><aclass="el"href="classxercesc_1_1DOMRange.html#a0cd4d64c7e08a3b72e12cd8eb06b6888"title="Called to indicate that the Range is no longer in use and that the implementation...">detach()</a></code> has already been invoked on this object.</td></tr>
<p>Inserts a node into the <aclass="el"href="classxercesc_1_1DOMDocument.html"title="The DOMDocument interface represents the entire XML document.">DOMDocument</a> or <aclass="el"href="classxercesc_1_1DOMDocumentFragment.html"title="DOMDocumentFragment is a "lightweight" or "minimal" DOMDocument...">DOMDocumentFragment</a> at the start of the Range. </p>
<p>If the container is a <aclass="el"href="classxercesc_1_1DOMText.html"title="The DOMText interface inherits from DOMCharacterData and represents the textual content...">DOMText</a> node, this will be split at the start of the Range (as if the <aclass="el"href="classxercesc_1_1DOMText.html"title="The DOMText interface inherits from DOMCharacterData and represents the textual content...">DOMText</a> node's splitText method was performed at the insertion point) and the insertion will occur between the two resulting <aclass="el"href="classxercesc_1_1DOMText.html"title="The DOMText interface inherits from DOMCharacterData and represents the textual content...">DOMText</a> nodes. Adjacent <aclass="el"href="classxercesc_1_1DOMText.html"title="The DOMText interface inherits from DOMCharacterData and represents the textual content...">DOMText</a> nodes will not be automatically merged. If the node to be inserted is a <aclass="el"href="classxercesc_1_1DOMDocumentFragment.html"title="DOMDocumentFragment is a "lightweight" or "minimal" DOMDocument...">DOMDocumentFragment</a> node, the children will be inserted rather than the <aclass="el"href="classxercesc_1_1DOMDocumentFragment.html"title="DOMDocumentFragment is a "lightweight" or "minimal" DOMDocument...">DOMDocumentFragment</a> node itself. </p>
<tr><tdvalign="top"></td><tdvalign="top"><em><aclass="el"href="classxercesc_1_1DOMException.html">DOMException</a></em> </td><td>NO_MODIFICATION_ALLOWED_ERR: Raised if an ancestor container of the start of the Range is read-only. <br/>
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/>
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/>
INVALID_STATE_ERR: Raised if <code><aclass="el"href="classxercesc_1_1DOMRange.html#a0cd4d64c7e08a3b72e12cd8eb06b6888"title="Called to indicate that the Range is no longer in use and that the implementation...">detach()</a></code> has already been invoked on this object. </td></tr>
<tr><tdvalign="top"></td><tdvalign="top"><em><aclass="el"href="classxercesc_1_1DOMRangeException.html"title="Range operations may throw a DOMRangeException as specified in their method descriptions...">DOMRangeException</a></em> </td><td>INVALID_NODE_TYPE_ERR: Raised if <code>newNode</code> is an <aclass="el"href="classxercesc_1_1DOMAttr.html"title="The DOMAttr class refers to an attribute of an XML element.">DOMAttr</a>, <aclass="el"href="classxercesc_1_1DOMEntity.html"title="This interface represents an entity, either parsed or unparsed, in an XML document...">DOMEntity</a>, <aclass="el"href="classxercesc_1_1DOMNotation.html"title="This interface represents a notation declared in the DTD.">DOMNotation</a>, or <aclass="el"href="classxercesc_1_1DOMDocument.html"title="The DOMDocument interface represents the entire XML document.">DOMDocument</a> node.</td></tr>
<p>(<aclass="el"href="classxercesc_1_1DOMRange.html#abc2f073c570238ebc51d896e068b7333"title="Called to indicate that this Range is no longer in use and that the implementation...">release()</a> will call <aclass="el"href="classxercesc_1_1DOMRange.html#a0cd4d64c7e08a3b72e12cd8eb06b6888"title="Called to indicate that the Range is no longer in use and that the implementation...">detach()</a> where appropriate)</p>
<tr><tdvalign="top"></td><tdvalign="top"><em><aclass="el"href="classxercesc_1_1DOMRangeException.html"title="Range operations may throw a DOMRangeException as specified in their method descriptions...">DOMRangeException</a></em> </td><td>INVALID_NODE_TYPE_ERR: Raised if an ancestor of <code>refNode</code> is an <aclass="el"href="classxercesc_1_1DOMEntity.html"title="This interface represents an entity, either parsed or unparsed, in an XML document...">DOMEntity</a>, <aclass="el"href="classxercesc_1_1DOMNotation.html"title="This interface represents a notation declared in the DTD.">DOMNotation</a> or <aclass="el"href="classxercesc_1_1DOMDocumentType.html"title="Each DOMDocument has a doctype attribute whose value is either null or a DOMDocumentType...">DOMDocumentType</a> node or if <code>refNode</code> is a <aclass="el"href="classxercesc_1_1DOMDocument.html"title="The DOMDocument interface represents the entire XML document.">DOMDocument</a>, <aclass="el"href="classxercesc_1_1DOMDocumentFragment.html"title="DOMDocumentFragment is a "lightweight" or "minimal" DOMDocument...">DOMDocumentFragment</a>, <aclass="el"href="classxercesc_1_1DOMAttr.html"title="The DOMAttr class refers to an attribute of an XML element.">DOMAttr</a>, <aclass="el"href="classxercesc_1_1DOMEntity.html"title="This interface represents an entity, either parsed or unparsed, in an XML document...">DOMEntity</a>, or <aclass="el"href="classxercesc_1_1DOMNotation.html"title="This interface represents a notation declared in the DTD.">DOMNotation</a> node. </td></tr>
<tr><tdvalign="top"></td><tdvalign="top"><em><aclass="el"href="classxercesc_1_1DOMException.html">DOMException</a></em> </td><td>INVALID_STATE_ERR: Raised if <code><aclass="el"href="classxercesc_1_1DOMRange.html#a0cd4d64c7e08a3b72e12cd8eb06b6888"title="Called to indicate that the Range is no longer in use and that the implementation...">detach()</a></code> has already been invoked on this object. <br/>
<tr><tdvalign="top"></td><tdvalign="top"><em>refNode</em> </td><td><aclass="el"href="classxercesc_1_1DOMNode.html"title="The DOMNode interface is the primary datatype for the entire Document Object Model...">DOMNode</a> to select from </td></tr>
<tr><tdvalign="top"></td><tdvalign="top"><em><aclass="el"href="classxercesc_1_1DOMRangeException.html"title="Range operations may throw a DOMRangeException as specified in their method descriptions...">DOMRangeException</a></em> </td><td>INVALID_NODE_TYPE_ERR: Raised if <code>refNode</code> or an ancestor of <code>refNode</code> is an <aclass="el"href="classxercesc_1_1DOMEntity.html"title="This interface represents an entity, either parsed or unparsed, in an XML document...">DOMEntity</a>, <aclass="el"href="classxercesc_1_1DOMNotation.html"title="This interface represents a notation declared in the DTD.">DOMNotation</a> or <aclass="el"href="classxercesc_1_1DOMDocumentType.html"title="Each DOMDocument has a doctype attribute whose value is either null or a DOMDocumentType...">DOMDocumentType</a> node. </td></tr>
<tr><tdvalign="top"></td><tdvalign="top"><em><aclass="el"href="classxercesc_1_1DOMException.html">DOMException</a></em> </td><td>INVALID_STATE_ERR: Raised if <code><aclass="el"href="classxercesc_1_1DOMRange.html#a0cd4d64c7e08a3b72e12cd8eb06b6888"title="Called to indicate that the Range is no longer in use and that the implementation...">detach()</a></code> has already been invoked on this object. <br/>
<tr><tdvalign="top"></td><tdvalign="top"><em>refNode</em> </td><td>The <code>refNode</code> value. This parameter must be different from <code>null</code>. </td></tr>
<tr><tdvalign="top"></td><tdvalign="top"><em><aclass="el"href="classxercesc_1_1DOMRangeException.html"title="Range operations may throw a DOMRangeException as specified in their method descriptions...">DOMRangeException</a></em> </td><td>INVALID_NODE_TYPE_ERR: Raised if <code>refNode</code> or an ancestor of <code>refNode</code> is an <aclass="el"href="classxercesc_1_1DOMEntity.html"title="This interface represents an entity, either parsed or unparsed, in an XML document...">DOMEntity</a>, <aclass="el"href="classxercesc_1_1DOMNotation.html"title="This interface represents a notation declared in the DTD.">DOMNotation</a>, or <aclass="el"href="classxercesc_1_1DOMDocumentType.html"title="Each DOMDocument has a doctype attribute whose value is either null or a DOMDocumentType...">DOMDocumentType</a> node. </td></tr>
<tr><tdvalign="top"></td><tdvalign="top"><em><aclass="el"href="classxercesc_1_1DOMException.html">DOMException</a></em> </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 <aclass="el"href="classxercesc_1_1DOMCharacterData.html"title="The DOMCharacterData interface extends DOMNode with a set of attributes and methods...">DOMCharacterData</a> node (e.g., a <aclass="el"href="classxercesc_1_1DOMText.html"title="The DOMText interface inherits from DOMCharacterData and represents the textual content...">DOMText</a> or <aclass="el"href="classxercesc_1_1DOMComment.html"title="This interface inherits from CharacterData and represents the content of a comment...">DOMComment</a> node) or a <aclass="el"href="classxercesc_1_1DOMProcessingInstruction.html"title="The DOMProcessingInstruction interface represents a "processing instruction"...">DOMProcessingInstruction</a> node. Child units are Nodes in all other cases. <br/>
INVALID_STATE_ERR: Raised if <code><aclass="el"href="classxercesc_1_1DOMRange.html#a0cd4d64c7e08a3b72e12cd8eb06b6888"title="Called to indicate that the Range is no longer in use and that the implementation...">detach()</a></code> has already been invoked on this object. <br/>
<tr><tdvalign="top"></td><tdvalign="top"><em><aclass="el"href="classxercesc_1_1DOMRangeException.html"title="Range operations may throw a DOMRangeException as specified in their method descriptions...">DOMRangeException</a></em> </td><td>INVALID_NODE_TYPE_ERR: Raised if the root container of <code>refNode</code> is not a <aclass="el"href="classxercesc_1_1DOMAttr.html"title="The DOMAttr class refers to an attribute of an XML element.">DOMAttr</a>, <aclass="el"href="classxercesc_1_1DOMDocument.html"title="The DOMDocument interface represents the entire XML document.">DOMDocument</a> or <aclass="el"href="classxercesc_1_1DOMDocumentFragment.html"title="DOMDocumentFragment is a "lightweight" or "minimal" DOMDocument...">DOMDocumentFragment</a> node or if <code>refNode</code> is a <aclass="el"href="classxercesc_1_1DOMDocument.html"title="The DOMDocument interface represents the entire XML document.">DOMDocument</a>, <aclass="el"href="classxercesc_1_1DOMDocumentFragment.html"title="DOMDocumentFragment is a "lightweight" or "minimal" DOMDocument...">DOMDocumentFragment</a>, <aclass="el"href="classxercesc_1_1DOMAttr.html"title="The DOMAttr class refers to an attribute of an XML element.">DOMAttr</a>, <aclass="el"href="classxercesc_1_1DOMEntity.html"title="This interface represents an entity, either parsed or unparsed, in an XML document...">DOMEntity</a>, or <aclass="el"href="classxercesc_1_1DOMNotation.html"title="This interface represents a notation declared in the DTD.">DOMNotation</a> node. </td></tr>
<tr><tdvalign="top"></td><tdvalign="top"><em><aclass="el"href="classxercesc_1_1DOMException.html">DOMException</a></em> </td><td>INVALID_STATE_ERR: Raised if <code><aclass="el"href="classxercesc_1_1DOMRange.html#a0cd4d64c7e08a3b72e12cd8eb06b6888"title="Called to indicate that the Range is no longer in use and that the implementation...">detach()</a></code> has already been invoked on this object. <br/>
<tr><tdvalign="top"></td><tdvalign="top"><em><aclass="el"href="classxercesc_1_1DOMRangeException.html"title="Range operations may throw a DOMRangeException as specified in their method descriptions...">DOMRangeException</a></em> </td><td>INVALID_NODE_TYPE_ERR: Raised if the root container of <code>refNode</code> is not an <aclass="el"href="classxercesc_1_1DOMAttr.html"title="The DOMAttr class refers to an attribute of an XML element.">DOMAttr</a>, <aclass="el"href="classxercesc_1_1DOMDocument.html"title="The DOMDocument interface represents the entire XML document.">DOMDocument</a>, or <aclass="el"href="classxercesc_1_1DOMDocumentFragment.html"title="DOMDocumentFragment is a "lightweight" or "minimal" DOMDocument...">DOMDocumentFragment</a> node or if <code>refNode</code> is a <aclass="el"href="classxercesc_1_1DOMDocument.html"title="The DOMDocument interface represents the entire XML document.">DOMDocument</a>, <aclass="el"href="classxercesc_1_1DOMDocumentFragment.html"title="DOMDocumentFragment is a "lightweight" or "minimal" DOMDocument...">DOMDocumentFragment</a>, <aclass="el"href="classxercesc_1_1DOMAttr.html"title="The DOMAttr class refers to an attribute of an XML element.">DOMAttr</a>, <aclass="el"href="classxercesc_1_1DOMEntity.html"title="This interface represents an entity, either parsed or unparsed, in an XML document...">DOMEntity</a>, or <aclass="el"href="classxercesc_1_1DOMNotation.html"title="This interface represents a notation declared in the DTD.">DOMNotation</a> node. </td></tr>
<tr><tdvalign="top"></td><tdvalign="top"><em><aclass="el"href="classxercesc_1_1DOMException.html">DOMException</a></em> </td><td>INVALID_STATE_ERR: Raised if <code><aclass="el"href="classxercesc_1_1DOMRange.html#a0cd4d64c7e08a3b72e12cd8eb06b6888"title="Called to indicate that the Range is no longer in use and that the implementation...">detach()</a></code> has already been invoked on this object. <br/>
<tr><tdvalign="top"></td><tdvalign="top"><em>refNode</em> </td><td>The <code>refNode</code> value. This parameter must be different from <code>null</code>. </td></tr>
<tr><tdvalign="top"></td><tdvalign="top"><em><aclass="el"href="classxercesc_1_1DOMRangeException.html"title="Range operations may throw a DOMRangeException as specified in their method descriptions...">DOMRangeException</a></em> </td><td>INVALID_NODE_TYPE_ERR: Raised if <code>refNode</code> or an ancestor of <code>refNode</code> is an <aclass="el"href="classxercesc_1_1DOMEntity.html"title="This interface represents an entity, either parsed or unparsed, in an XML document...">DOMEntity</a>, <aclass="el"href="classxercesc_1_1DOMNotation.html"title="This interface represents a notation declared in the DTD.">DOMNotation</a>, or <aclass="el"href="classxercesc_1_1DOMDocumentType.html"title="Each DOMDocument has a doctype attribute whose value is either null or a DOMDocumentType...">DOMDocumentType</a> node. </td></tr>
<tr><tdvalign="top"></td><tdvalign="top"><em><aclass="el"href="classxercesc_1_1DOMException.html">DOMException</a></em> </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 <aclass="el"href="classxercesc_1_1DOMCharacterData.html"title="The DOMCharacterData interface extends DOMNode with a set of attributes and methods...">DOMCharacterData</a> node (e.g., a <aclass="el"href="classxercesc_1_1DOMText.html"title="The DOMText interface inherits from DOMCharacterData and represents the textual content...">DOMText</a> or <aclass="el"href="classxercesc_1_1DOMComment.html"title="This interface inherits from CharacterData and represents the content of a comment...">DOMComment</a> node) or a <aclass="el"href="classxercesc_1_1DOMProcessingInstruction.html"title="The DOMProcessingInstruction interface represents a "processing instruction"...">DOMProcessingInstruction</a> node. Child units are Nodes in all other cases. <br/>
INVALID_STATE_ERR: Raised if <code><aclass="el"href="classxercesc_1_1DOMRange.html#a0cd4d64c7e08a3b72e12cd8eb06b6888"title="Called to indicate that the Range is no longer in use and that the implementation...">detach()</a></code> has already been invoked on this object. <br/>
<tr><tdvalign="top"></td><tdvalign="top"><em><aclass="el"href="classxercesc_1_1DOMRangeException.html"title="Range operations may throw a DOMRangeException as specified in their method descriptions...">DOMRangeException</a></em> </td><td>INVALID_NODE_TYPE_ERR: Raised if the root container of <code>refNode</code> is not an <aclass="el"href="classxercesc_1_1DOMAttr.html"title="The DOMAttr class refers to an attribute of an XML element.">DOMAttr</a>, <aclass="el"href="classxercesc_1_1DOMDocument.html"title="The DOMDocument interface represents the entire XML document.">DOMDocument</a>, or <aclass="el"href="classxercesc_1_1DOMDocumentFragment.html"title="DOMDocumentFragment is a "lightweight" or "minimal" DOMDocument...">DOMDocumentFragment</a> node or if <code>refNode</code> is a <aclass="el"href="classxercesc_1_1DOMDocument.html"title="The DOMDocument interface represents the entire XML document.">DOMDocument</a>, <aclass="el"href="classxercesc_1_1DOMDocumentFragment.html"title="DOMDocumentFragment is a "lightweight" or "minimal" DOMDocument...">DOMDocumentFragment</a>, <aclass="el"href="classxercesc_1_1DOMAttr.html"title="The DOMAttr class refers to an attribute of an XML element.">DOMAttr</a>, <aclass="el"href="classxercesc_1_1DOMEntity.html"title="This interface represents an entity, either parsed or unparsed, in an XML document...">DOMEntity</a>, or <aclass="el"href="classxercesc_1_1DOMNotation.html"title="This interface represents a notation declared in the DTD.">DOMNotation</a> node. </td></tr>
<tr><tdvalign="top"></td><tdvalign="top"><em><aclass="el"href="classxercesc_1_1DOMException.html">DOMException</a></em> </td><td>INVALID_STATE_ERR: Raised if <code><aclass="el"href="classxercesc_1_1DOMRange.html#a0cd4d64c7e08a3b72e12cd8eb06b6888"title="Called to indicate that the Range is no longer in use and that the implementation...">detach()</a></code> has already been invoked on this object. <br/>
<tr><tdvalign="top"></td><tdvalign="top"><em><aclass="el"href="classxercesc_1_1DOMRangeException.html"title="Range operations may throw a DOMRangeException as specified in their method descriptions...">DOMRangeException</a></em> </td><td>INVALID_NODE_TYPE_ERR: Raised if the root container of <code>refNode</code> is not an <aclass="el"href="classxercesc_1_1DOMAttr.html"title="The DOMAttr class refers to an attribute of an XML element.">DOMAttr</a>, <aclass="el"href="classxercesc_1_1DOMDocument.html"title="The DOMDocument interface represents the entire XML document.">DOMDocument</a>, or <aclass="el"href="classxercesc_1_1DOMDocumentFragment.html"title="DOMDocumentFragment is a "lightweight" or "minimal" DOMDocument...">DOMDocumentFragment</a> node or if <code>refNode</code> is a <aclass="el"href="classxercesc_1_1DOMDocument.html"title="The DOMDocument interface represents the entire XML document.">DOMDocument</a>, <aclass="el"href="classxercesc_1_1DOMDocumentFragment.html"title="DOMDocumentFragment is a "lightweight" or "minimal" DOMDocument...">DOMDocumentFragment</a>, <aclass="el"href="classxercesc_1_1DOMAttr.html"title="The DOMAttr class refers to an attribute of an XML element.">DOMAttr</a>, <aclass="el"href="classxercesc_1_1DOMEntity.html"title="This interface represents an entity, either parsed or unparsed, in an XML document...">DOMEntity</a>, or <aclass="el"href="classxercesc_1_1DOMNotation.html"title="This interface represents a notation declared in the DTD.">DOMNotation</a> node. </td></tr>
<tr><tdvalign="top"></td><tdvalign="top"><em><aclass="el"href="classxercesc_1_1DOMException.html">DOMException</a></em> </td><td>INVALID_STATE_ERR: Raised if <code><aclass="el"href="classxercesc_1_1DOMRange.html#a0cd4d64c7e08a3b72e12cd8eb06b6888"title="Called to indicate that the Range is no longer in use and that the implementation...">detach()</a></code> has already been invoked on this object. <br/>
<tr><tdvalign="top"></td><tdvalign="top"><em><aclass="el"href="classxercesc_1_1DOMException.html">DOMException</a></em> </td><td>NO_MODIFICATION_ALLOWED_ERR: Raised if an ancestor container of either boundary-point of the Range is read-only. <br/>
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/>
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/>
INVALID_STATE_ERR: Raised if <code><aclass="el"href="classxercesc_1_1DOMRange.html#a0cd4d64c7e08a3b72e12cd8eb06b6888"title="Called to indicate that the Range is no longer in use and that the implementation...">detach()</a></code> has already been invoked on this object. </td></tr>
<tr><tdvalign="top"></td><tdvalign="top"><em><aclass="el"href="classxercesc_1_1DOMRangeException.html"title="Range operations may throw a DOMRangeException as specified in their method descriptions...">DOMRangeException</a></em> </td><td>BAD_BOUNDARYPOINTS_ERR: Raised if the Range partially selects a non-text node. <br/>
INVALID_NODE_TYPE_ERR: Raised if <code> node</code> is an <aclass="el"href="classxercesc_1_1DOMAttr.html"title="The DOMAttr class refers to an attribute of an XML element.">DOMAttr</a>, <aclass="el"href="classxercesc_1_1DOMEntity.html"title="This interface represents an entity, either parsed or unparsed, in an XML document...">DOMEntity</a>, <aclass="el"href="classxercesc_1_1DOMDocumentType.html"title="Each DOMDocument has a doctype attribute whose value is either null or a DOMDocumentType...">DOMDocumentType</a>, <aclass="el"href="classxercesc_1_1DOMNotation.html"title="This interface represents a notation declared in the DTD.">DOMNotation</a>, <aclass="el"href="classxercesc_1_1DOMDocument.html"title="The DOMDocument interface represents the entire XML document.">DOMDocument</a>, or <aclass="el"href="classxercesc_1_1DOMDocumentFragment.html"title="DOMDocumentFragment is a "lightweight" or "minimal" DOMDocument...">DOMDocumentFragment</a> node.</td></tr>
<tr><tdvalign="top"></td><tdvalign="top"><em><aclass="el"href="classxercesc_1_1DOMException.html">DOMException</a></em> </td><td>INVALID_STATE_ERR: Raised if <code><aclass="el"href="classxercesc_1_1DOMRange.html#a0cd4d64c7e08a3b72e12cd8eb06b6888"title="Called to indicate that the Range is no longer in use and that the implementation...">detach()</a></code> has already been invoked on this object.</td></tr>