XQuilla/docs/dom3-api/classxercesc_1_1DOMRange.html

1290 lines
78 KiB
HTML
Raw Normal View History

2020-02-17 21:05:20 +00:00
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1">
<title>XQilla DOM Level 3 API: xercesc::DOMRange Class Reference</title>
<link href="doxygen.css" rel="stylesheet" type="text/css">
<link href="tabs.css" rel="stylesheet" type="text/css">
</head><body>
<!-- Generated by Doxygen 1.4.6 -->
<div class="tabs">
<ul>
<li><a href="index.html"><span>Main&nbsp;Page</span></a></li>
<li><a href="namespaces.html"><span>Namespaces</span></a></li>
<li id="current"><a href="classes.html"><span>Classes</span></a></li>
<li><a href="files.html"><span>Files</span></a></li>
</ul></div>
<div class="tabs">
<ul>
<li><a href="classes.html"><span>Alphabetical&nbsp;List</span></a></li>
<li><a href="annotated.html"><span>Class&nbsp;List</span></a></li>
<li><a href="hierarchy.html"><span>Class&nbsp;Hierarchy</span></a></li>
<li><a href="functions.html"><span>Class&nbsp;Members</span></a></li>
</ul></div>
<div class="nav">
<a class="el" href="namespacexercesc.html">xercesc</a>::<a class="el" href="classxercesc_1_1DOMRange.html">DOMRange</a></div>
<h1>xercesc::DOMRange Class Reference</h1><!-- doxytag: class="xercesc::DOMRange" --><code>#include &lt;<a class="el" href="DOMRange_8hpp-source.html">DOMRange.hpp</a>&gt;</code>
<p>
<a href="classxercesc_1_1DOMRange-members.html">List of all members.</a><table border="0" cellpadding="0" cellspacing="0">
<tr><td></td></tr>
<tr><td colspan="2"><br><h2>Public Types</h2></td></tr>
<tr><td colspan="2"><div class="groupHeader">Public Contants</div></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">enum &nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classxercesc_1_1DOMRange.html#a09aef968bc14cd4a17a64e9909c24a8">CompareHow</a> { <a class="el" href="classxercesc_1_1DOMRange.html#a09aef968bc14cd4a17a64e9909c24a89649fea7f983f05b75a95f22e16667f9">START_TO_START</a> = 0,
<a class="el" href="classxercesc_1_1DOMRange.html#a09aef968bc14cd4a17a64e9909c24a8c6b5ab309618a64b8a5b06de2ef91530">START_TO_END</a> = 1,
<a class="el" href="classxercesc_1_1DOMRange.html#a09aef968bc14cd4a17a64e9909c24a860fca29ffc73ba8037e7e15a839a4019">END_TO_END</a> = 2,
<a class="el" href="classxercesc_1_1DOMRange.html#a09aef968bc14cd4a17a64e9909c24a8791b1951bc5f462ace1e30acc5a4c261">END_TO_START</a> = 3
}</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Constants CompareHow. <a href="classxercesc_1_1DOMRange.html#a09aef968bc14cd4a17a64e9909c24a8">More...</a><br></td></tr>
<tr><td colspan="2"><br><h2>Public Member Functions</h2></td></tr>
<tr><td colspan="2"><div class="groupHeader">Destructor</div></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classxercesc_1_1DOMRange.html#6911af3e9b1a093ea192be117aa57119">~DOMRange</a> ()</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Destructor. <a href="#6911af3e9b1a093ea192be117aa57119"></a><br></td></tr>
<tr><td colspan="2"><div class="groupHeader">Functions introduced in DOM Level 2</div></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual <a class="el" href="classxercesc_1_1DOMNode.html">DOMNode</a> *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classxercesc_1_1DOMRange.html#5a31342429a993a2b5f857f702380416">getStartContainer</a> () const =0</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight"><a class="el" href="classxercesc_1_1DOMNode.html">DOMNode</a> within which the Range begins <dl compact><dt><b>Exceptions:</b></dt><dd>
<table border="0" cellspacing="2" cellpadding="0">
<tr><td valign="top"></td><td valign="top"><em><a class="el" href="classxercesc_1_1DOMException.html">DOMException</a></em>&nbsp;</td><td>INVALID_STATE_ERR: Raised if <code><a class="el" href="classxercesc_1_1DOMRange.html#0cd4d64c7e08a3b72e12cd8eb06b6888">detach()</a></code> has already been invoked on this object. </td></tr>
</table>
</dl>
<a href="#5a31342429a993a2b5f857f702380416"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual XMLSize_t&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classxercesc_1_1DOMRange.html#2fac6cfdf4a53a0a2576ecdb22a9b6db">getStartOffset</a> () const =0</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Offset within the starting node of the Range. <a href="#2fac6cfdf4a53a0a2576ecdb22a9b6db"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual <a class="el" href="classxercesc_1_1DOMNode.html">DOMNode</a> *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classxercesc_1_1DOMRange.html#5298920b07a4b5c7972b7194ed8cb602">getEndContainer</a> () const =0</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight"><a class="el" href="classxercesc_1_1DOMNode.html">DOMNode</a> within which the Range ends <dl compact><dt><b>Exceptions:</b></dt><dd>
<table border="0" cellspacing="2" cellpadding="0">
<tr><td valign="top"></td><td valign="top"><em><a class="el" href="classxercesc_1_1DOMException.html">DOMException</a></em>&nbsp;</td><td>INVALID_STATE_ERR: Raised if <code><a class="el" href="classxercesc_1_1DOMRange.html#0cd4d64c7e08a3b72e12cd8eb06b6888">detach()</a></code> has already been invoked on this object. </td></tr>
</table>
</dl>
<a href="#5298920b07a4b5c7972b7194ed8cb602"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual XMLSize_t&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classxercesc_1_1DOMRange.html#377b108202cf215059f1598666168b20">getEndOffset</a> () const =0</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Offset within the ending node of the Range. <a href="#377b108202cf215059f1598666168b20"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual bool&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classxercesc_1_1DOMRange.html#aa6ac9a07eb3a94b732ea1b7aa9109ed">getCollapsed</a> () const =0</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">TRUE if the Range is collapsed <dl compact><dt><b>Exceptions:</b></dt><dd>
<table border="0" cellspacing="2" cellpadding="0">
<tr><td valign="top"></td><td valign="top"><em><a class="el" href="classxercesc_1_1DOMException.html">DOMException</a></em>&nbsp;</td><td>INVALID_STATE_ERR: Raised if <code><a class="el" href="classxercesc_1_1DOMRange.html#0cd4d64c7e08a3b72e12cd8eb06b6888">detach()</a></code> has already been invoked on this object. </td></tr>
</table>
</dl>
<a href="#aa6ac9a07eb3a94b732ea1b7aa9109ed"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual const <a class="el" href="classxercesc_1_1DOMNode.html">DOMNode</a> *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classxercesc_1_1DOMRange.html#69837c26e44c82f917922b25f9239053">getCommonAncestorContainer</a> () const =0</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">The deepest common ancestor container of the Range's two boundary-points. <a href="#69837c26e44c82f917922b25f9239053"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classxercesc_1_1DOMRange.html#8eaad84f9c769745f44422a3aec5ee8d">setStart</a> (const <a class="el" href="classxercesc_1_1DOMNode.html">DOMNode</a> *refNode, XMLSize_t offset)=0</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Sets the attributes describing the start of the Range. <a href="#8eaad84f9c769745f44422a3aec5ee8d"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classxercesc_1_1DOMRange.html#33e63dc548fc8f452dc4662fc8ca05dd">setEnd</a> (const <a class="el" href="classxercesc_1_1DOMNode.html">DOMNode</a> *refNode, XMLSize_t offset)=0</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Sets the attributes describing the end of a Range. <a href="#33e63dc548fc8f452dc4662fc8ca05dd"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classxercesc_1_1DOMRange.html#04db3d0ff11e8153214797f618512ca9">setStartBefore</a> (const <a class="el" href="classxercesc_1_1DOMNode.html">DOMNode</a> *refNode)=0</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Sets the start position to be before a node. <a href="#04db3d0ff11e8153214797f618512ca9"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classxercesc_1_1DOMRange.html#960bd9c6f8fd16b92dc5629bf927424b">setStartAfter</a> (const <a class="el" href="classxercesc_1_1DOMNode.html">DOMNode</a> *refNode)=0</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Sets the start position to be after a node. <a href="#960bd9c6f8fd16b92dc5629bf927424b"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classxercesc_1_1DOMRange.html#fac8fad87367742b7d8a28d618876d6b">setEndBefore</a> (const <a class="el" href="classxercesc_1_1DOMNode.html">DOMNode</a> *refNode)=0</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Sets the end position to be before a node. <a href="#fac8fad87367742b7d8a28d618876d6b"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classxercesc_1_1DOMRange.html#0a86ad551674e72cf9f7b8e7192d6b57">setEndAfter</a> (const <a class="el" href="classxercesc_1_1DOMNode.html">DOMNode</a> *refNode)=0</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Sets the end of a Range to be after a node. <a href="#0a86ad551674e72cf9f7b8e7192d6b57"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classxercesc_1_1DOMRange.html#c67d1cbebf33de056c856763b2215886">collapse</a> (bool toStart)=0</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Collapse a Range onto one of its boundary-points. <a href="#c67d1cbebf33de056c856763b2215886"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classxercesc_1_1DOMRange.html#ad306fc55a88c86089520fea19114937">selectNode</a> (const <a class="el" href="classxercesc_1_1DOMNode.html">DOMNode</a> *refNode)=0</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Select a node and its contents. <a href="#ad306fc55a88c86089520fea19114937"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classxercesc_1_1DOMRange.html#fb6889557d50f5aaa76304da409a9f5d">selectNodeContents</a> (const <a class="el" href="classxercesc_1_1DOMNode.html">DOMNode</a> *refNode)=0</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Select the contents within a node. <a href="#fb6889557d50f5aaa76304da409a9f5d"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual short&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classxercesc_1_1DOMRange.html#c4eae1fd612570ced81e8ca2bf2e1445">compareBoundaryPoints</a> (<a class="el" href="classxercesc_1_1DOMRange.html#a09aef968bc14cd4a17a64e9909c24a8">CompareHow</a> how, const <a class="el" href="classxercesc_1_1DOMRange.html">DOMRange</a> *sourceRange) const =0</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Compare the boundary-points of two Ranges in a document. <a href="#c4eae1fd612570ced81e8ca2bf2e1445"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classxercesc_1_1DOMRange.html#151aeca48596eda20500bfe4b1fe50bc">deleteContents</a> ()=0</td></tr>
<tr><td class="mdescLeft">&nbsp;</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="#151aeca48596eda20500bfe4b1fe50bc"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual <a class="el" href="classxercesc_1_1DOMDocumentFragment.html">DOMDocumentFragment</a> *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classxercesc_1_1DOMRange.html#36031cc656affc081fd231f4344f4ef6">extractContents</a> ()=0</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Moves the contents of a Range from the containing document or document fragment to a new <a class="el" href="classxercesc_1_1DOMDocumentFragment.html">DOMDocumentFragment</a>. <a href="#36031cc656affc081fd231f4344f4ef6"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual <a class="el" href="classxercesc_1_1DOMDocumentFragment.html">DOMDocumentFragment</a> *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classxercesc_1_1DOMRange.html#bdc6a6f6174d7148dfba135b09edb850">cloneContents</a> () const =0</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Duplicates the contents of a Range. <a href="#bdc6a6f6174d7148dfba135b09edb850"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classxercesc_1_1DOMRange.html#e54835ad569bd500cc6166456c069d2f">insertNode</a> (<a class="el" href="classxercesc_1_1DOMNode.html">DOMNode</a> *newNode)=0</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Inserts a node into the <a class="el" href="classxercesc_1_1DOMDocument.html">DOMDocument</a> or <a class="el" href="classxercesc_1_1DOMDocumentFragment.html">DOMDocumentFragment</a> at the start of the Range. <a href="#e54835ad569bd500cc6166456c069d2f"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classxercesc_1_1DOMRange.html#131a8c953b0e6dfa6abf39ed96551c2a">surroundContents</a> (<a class="el" href="classxercesc_1_1DOMNode.html">DOMNode</a> *newParent)=0</td></tr>
<tr><td class="mdescLeft">&nbsp;</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="#131a8c953b0e6dfa6abf39ed96551c2a"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual <a class="el" href="classxercesc_1_1DOMRange.html">DOMRange</a> *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classxercesc_1_1DOMRange.html#f8c069b9162a05facb00cadb05baf395">cloneRange</a> () const =0</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Produces a new Range whose boundary-points are equal to the boundary-points of the Range. <a href="#f8c069b9162a05facb00cadb05baf395"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual const XMLCh *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classxercesc_1_1DOMRange.html#74b794d8751ebc50f97451272f6ea5c3">toString</a> () const =0</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Returns the contents of a Range as a string. <a href="#74b794d8751ebc50f97451272f6ea5c3"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classxercesc_1_1DOMRange.html#0cd4d64c7e08a3b72e12cd8eb06b6888">detach</a> ()=0</td></tr>
<tr><td class="mdescLeft">&nbsp;</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="#0cd4d64c7e08a3b72e12cd8eb06b6888"></a><br></td></tr>
<tr><td colspan="2"><div class="groupHeader">Non-standard Extension</div></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classxercesc_1_1DOMRange.html#bc2f073c570238ebc51d896e068b7333">release</a> ()=0</td></tr>
<tr><td class="mdescLeft">&nbsp;</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="#bc2f073c570238ebc51d896e068b7333"></a><br></td></tr>
<tr><td colspan="2"><br><h2>Protected Member Functions</h2></td></tr>
<tr><td colspan="2"><div class="groupHeader">Hidden constructors</div></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classxercesc_1_1DOMRange.html#55cc14fcbe9b32c109689bc33f7ca425">DOMRange</a> ()</td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classxercesc_1_1DOMRange.html#53db0c08257f4bbeb3b9597f656dd31d">DOMRange</a> (const <a class="el" href="classxercesc_1_1DOMRange.html">DOMRange</a> &amp;)</td></tr>
</table>
<hr><a name="_details"></a><h2>Detailed Description</h2>
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>. <dl compact><dt><b>Since:</b></dt><dd>DOM Level 2 </dd></dl>
<p>
<hr><h2>Member Enumeration Documentation</h2>
<a class="anchor" name="a09aef968bc14cd4a17a64e9909c24a8"></a><!-- doxytag: member="xercesc::DOMRange::CompareHow" ref="a09aef968bc14cd4a17a64e9909c24a8" args="" --><p>
<table class="mdTable" cellpadding="2" cellspacing="0">
<tr>
<td class="mdRow">
<table cellpadding="0" cellspacing="0" border="0">
<tr>
<td class="md" nowrap valign="top">enum <a class="el" href="classxercesc_1_1DOMRange.html#a09aef968bc14cd4a17a64e9909c24a8">xercesc::DOMRange::CompareHow</a> </td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing="5" cellpadding="0" border="0">
<tr>
<td>
&nbsp;
</td>
<td>
<p>
Constants CompareHow.
<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>
<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>
<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>
<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>
<dl compact><dt><b>Since:</b></dt><dd>DOM Level 2 </dd></dl>
<dl compact><dt><b>Enumerator: </b></dt><dd>
<table border="0" cellspacing="2" cellpadding="0">
<tr><td valign="top"><em><a class="anchor" name="a09aef968bc14cd4a17a64e9909c24a89649fea7f983f05b75a95f22e16667f9"></a><!-- doxytag: member="START_TO_START" ref="a09aef968bc14cd4a17a64e9909c24a89649fea7f983f05b75a95f22e16667f9" args="" -->START_TO_START</em>&nbsp;</td><td>
</td></tr>
<tr><td valign="top"><em><a class="anchor" name="a09aef968bc14cd4a17a64e9909c24a8c6b5ab309618a64b8a5b06de2ef91530"></a><!-- doxytag: member="START_TO_END" ref="a09aef968bc14cd4a17a64e9909c24a8c6b5ab309618a64b8a5b06de2ef91530" args="" -->START_TO_END</em>&nbsp;</td><td>
</td></tr>
<tr><td valign="top"><em><a class="anchor" name="a09aef968bc14cd4a17a64e9909c24a860fca29ffc73ba8037e7e15a839a4019"></a><!-- doxytag: member="END_TO_END" ref="a09aef968bc14cd4a17a64e9909c24a860fca29ffc73ba8037e7e15a839a4019" args="" -->END_TO_END</em>&nbsp;</td><td>
</td></tr>
<tr><td valign="top"><em><a class="anchor" name="a09aef968bc14cd4a17a64e9909c24a8791b1951bc5f462ace1e30acc5a4c261"></a><!-- doxytag: member="END_TO_START" ref="a09aef968bc14cd4a17a64e9909c24a8791b1951bc5f462ace1e30acc5a4c261" args="" -->END_TO_START</em>&nbsp;</td><td>
</td></tr>
</table>
</dl>
</td>
</tr>
</table>
<hr><h2>Constructor &amp; Destructor Documentation</h2>
<a class="anchor" name="55cc14fcbe9b32c109689bc33f7ca425"></a><!-- doxytag: member="xercesc::DOMRange::DOMRange" ref="55cc14fcbe9b32c109689bc33f7ca425" args="()" --><p>
<table class="mdTable" cellpadding="2" cellspacing="0">
<tr>
<td class="mdRow">
<table cellpadding="0" cellspacing="0" border="0">
<tr>
<td class="md" nowrap valign="top">xercesc::DOMRange::DOMRange </td>
<td class="md" valign="top">(&nbsp;</td>
<td class="mdname1" valign="top" nowrap> </td>
<td class="md" valign="top">&nbsp;)&nbsp;</td>
<td class="md" nowrap><code> [inline, protected]</code></td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing="5" cellpadding="0" border="0">
<tr>
<td>
&nbsp;
</td>
<td>
<p>
</td>
</tr>
</table>
<a class="anchor" name="53db0c08257f4bbeb3b9597f656dd31d"></a><!-- doxytag: member="xercesc::DOMRange::DOMRange" ref="53db0c08257f4bbeb3b9597f656dd31d" args="(const DOMRange &amp;)" --><p>
<table class="mdTable" cellpadding="2" cellspacing="0">
<tr>
<td class="mdRow">
<table cellpadding="0" cellspacing="0" border="0">
<tr>
<td class="md" nowrap valign="top">xercesc::DOMRange::DOMRange </td>
<td class="md" valign="top">(&nbsp;</td>
<td class="md" nowrap valign="top">const <a class="el" href="classxercesc_1_1DOMRange.html">DOMRange</a> &amp;&nbsp;</td>
<td class="mdname1" valign="top" nowrap> </td>
<td class="md" valign="top">&nbsp;)&nbsp;</td>
<td class="md" nowrap><code> [inline, protected]</code></td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing="5" cellpadding="0" border="0">
<tr>
<td>
&nbsp;
</td>
<td>
<p>
</td>
</tr>
</table>
<a class="anchor" name="6911af3e9b1a093ea192be117aa57119"></a><!-- doxytag: member="xercesc::DOMRange::~DOMRange" ref="6911af3e9b1a093ea192be117aa57119" args="()" --><p>
<table class="mdTable" cellpadding="2" cellspacing="0">
<tr>
<td class="mdRow">
<table cellpadding="0" cellspacing="0" border="0">
<tr>
<td class="md" nowrap valign="top">virtual xercesc::DOMRange::~DOMRange </td>
<td class="md" valign="top">(&nbsp;</td>
<td class="mdname1" valign="top" nowrap> </td>
<td class="md" valign="top">&nbsp;)&nbsp;</td>
<td class="md" nowrap><code> [inline, virtual]</code></td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing="5" cellpadding="0" border="0">
<tr>
<td>
&nbsp;
</td>
<td>
<p>
Destructor.
<p>
</td>
</tr>
</table>
<hr><h2>Member Function Documentation</h2>
<a class="anchor" name="bdc6a6f6174d7148dfba135b09edb850"></a><!-- doxytag: member="xercesc::DOMRange::cloneContents" ref="bdc6a6f6174d7148dfba135b09edb850" args="() const =0" --><p>
<table class="mdTable" cellpadding="2" cellspacing="0">
<tr>
<td class="mdRow">
<table cellpadding="0" cellspacing="0" border="0">
<tr>
<td class="md" nowrap valign="top">virtual <a class="el" href="classxercesc_1_1DOMDocumentFragment.html">DOMDocumentFragment</a>* xercesc::DOMRange::cloneContents </td>
<td class="md" valign="top">(&nbsp;</td>
<td class="mdname1" valign="top" nowrap> </td>
<td class="md" valign="top">&nbsp;)&nbsp;</td>
<td class="md" nowrap> const<code> [pure virtual]</code></td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing="5" cellpadding="0" border="0">
<tr>
<td>
&nbsp;
</td>
<td>
<p>
Duplicates the contents of a Range.
<p>
<dl compact><dt><b>Returns:</b></dt><dd>A <a class="el" href="classxercesc_1_1DOMDocumentFragment.html">DOMDocumentFragment</a> that contains content equivalent to this Range. </dd></dl>
<dl compact><dt><b>Exceptions:</b></dt><dd>
<table border="0" cellspacing="2" cellpadding="0">
<tr><td valign="top"></td><td valign="top"><em><a class="el" href="classxercesc_1_1DOMException.html">DOMException</a></em>&nbsp;</td><td>HIERARCHY_REQUEST_ERR: Raised if a <a class="el" href="classxercesc_1_1DOMDocumentType.html">DOMDocumentType</a> node would be extracted into the new <a class="el" href="classxercesc_1_1DOMDocumentFragment.html">DOMDocumentFragment</a>. <br>
INVALID_STATE_ERR: Raised if <code><a class="el" href="classxercesc_1_1DOMRange.html#0cd4d64c7e08a3b72e12cd8eb06b6888">detach()</a></code> has already been invoked on this object.</td></tr>
</table>
</dl>
<dl compact><dt><b>Since:</b></dt><dd>DOM Level 2 </dd></dl>
</td>
</tr>
</table>
<a class="anchor" name="f8c069b9162a05facb00cadb05baf395"></a><!-- doxytag: member="xercesc::DOMRange::cloneRange" ref="f8c069b9162a05facb00cadb05baf395" args="() const =0" --><p>
<table class="mdTable" cellpadding="2" cellspacing="0">
<tr>
<td class="mdRow">
<table cellpadding="0" cellspacing="0" border="0">
<tr>
<td class="md" nowrap valign="top">virtual <a class="el" href="classxercesc_1_1DOMRange.html">DOMRange</a>* xercesc::DOMRange::cloneRange </td>
<td class="md" valign="top">(&nbsp;</td>
<td class="mdname1" valign="top" nowrap> </td>
<td class="md" valign="top">&nbsp;)&nbsp;</td>
<td class="md" nowrap> const<code> [pure virtual]</code></td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing="5" cellpadding="0" border="0">
<tr>
<td>
&nbsp;
</td>
<td>
<p>
Produces a new Range whose boundary-points are equal to the boundary-points of the Range.
<p>
<dl compact><dt><b>Returns:</b></dt><dd>The duplicated Range. </dd></dl>
<dl compact><dt><b>Exceptions:</b></dt><dd>
<table border="0" cellspacing="2" cellpadding="0">
<tr><td valign="top"></td><td valign="top"><em><a class="el" href="classxercesc_1_1DOMException.html">DOMException</a></em>&nbsp;</td><td>INVALID_STATE_ERR: Raised if <code><a class="el" href="classxercesc_1_1DOMRange.html#0cd4d64c7e08a3b72e12cd8eb06b6888">detach()</a></code> has already been invoked on this object.</td></tr>
</table>
</dl>
<dl compact><dt><b>Since:</b></dt><dd>DOM Level 2 </dd></dl>
</td>
</tr>
</table>
<a class="anchor" name="c67d1cbebf33de056c856763b2215886"></a><!-- doxytag: member="xercesc::DOMRange::collapse" ref="c67d1cbebf33de056c856763b2215886" args="(bool toStart)=0" --><p>
<table class="mdTable" cellpadding="2" cellspacing="0">
<tr>
<td class="mdRow">
<table cellpadding="0" cellspacing="0" border="0">
<tr>
<td class="md" nowrap valign="top">virtual void xercesc::DOMRange::collapse </td>
<td class="md" valign="top">(&nbsp;</td>
<td class="md" nowrap valign="top">bool&nbsp;</td>
<td class="mdname1" valign="top" nowrap> <em>toStart</em> </td>
<td class="md" valign="top">&nbsp;)&nbsp;</td>
<td class="md" nowrap><code> [pure virtual]</code></td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing="5" cellpadding="0" border="0">
<tr>
<td>
&nbsp;
</td>
<td>
<p>
Collapse a Range onto one of its boundary-points.
<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
<table border="0" cellspacing="2" cellpadding="0">
<tr><td valign="top"></td><td valign="top"><em>toStart</em>&nbsp;</td><td>If TRUE, collapses the Range onto its start; if FALSE, collapses it onto its end. </td></tr>
</table>
</dl>
<dl compact><dt><b>Exceptions:</b></dt><dd>
<table border="0" cellspacing="2" cellpadding="0">
<tr><td valign="top"></td><td valign="top"><em><a class="el" href="classxercesc_1_1DOMException.html">DOMException</a></em>&nbsp;</td><td>INVALID_STATE_ERR: Raised if <code><a class="el" href="classxercesc_1_1DOMRange.html#0cd4d64c7e08a3b72e12cd8eb06b6888">detach()</a></code> has already been invoked on this object.</td></tr>
</table>
</dl>
<dl compact><dt><b>Since:</b></dt><dd>DOM Level 2 </dd></dl>
</td>
</tr>
</table>
<a class="anchor" name="c4eae1fd612570ced81e8ca2bf2e1445"></a><!-- doxytag: member="xercesc::DOMRange::compareBoundaryPoints" ref="c4eae1fd612570ced81e8ca2bf2e1445" args="(CompareHow how, const DOMRange *sourceRange) const =0" --><p>
<table class="mdTable" cellpadding="2" cellspacing="0">
<tr>
<td class="mdRow">
<table cellpadding="0" cellspacing="0" border="0">
<tr>
<td class="md" nowrap valign="top">virtual short xercesc::DOMRange::compareBoundaryPoints </td>
<td class="md" valign="top">(&nbsp;</td>
<td class="md" nowrap valign="top"><a class="el" href="classxercesc_1_1DOMRange.html#a09aef968bc14cd4a17a64e9909c24a8">CompareHow</a>&nbsp;</td>
<td class="mdname" nowrap> <em>how</em>, </td>
</tr>
<tr>
<td class="md" nowrap align="right"></td>
<td class="md"></td>
<td class="md" nowrap>const <a class="el" href="classxercesc_1_1DOMRange.html">DOMRange</a> *&nbsp;</td>
<td class="mdname" nowrap> <em>sourceRange</em></td>
</tr>
<tr>
<td class="md"></td>
<td class="md">)&nbsp;</td>
<td class="md" colspan="2"> const<code> [pure virtual]</code></td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing="5" cellpadding="0" border="0">
<tr>
<td>
&nbsp;
</td>
<td>
<p>
Compare the boundary-points of two Ranges in a document.
<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
<table border="0" cellspacing="2" cellpadding="0">
<tr><td valign="top"></td><td valign="top"><em>how</em>&nbsp;</td><td>A code representing the type of comparison, as defined above. </td></tr>
<tr><td valign="top"></td><td valign="top"><em>sourceRange</em>&nbsp;</td><td>The <code>Range</code> on which this current <code>Range</code> is compared to. </td></tr>
</table>
</dl>
<dl compact><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>
<dl compact><dt><b>Exceptions:</b></dt><dd>
<table border="0" cellspacing="2" cellpadding="0">
<tr><td valign="top"></td><td valign="top"><em><a class="el" href="classxercesc_1_1DOMException.html">DOMException</a></em>&nbsp;</td><td>WRONG_DOCUMENT_ERR: Raised if the two Ranges are not in the same <a class="el" href="classxercesc_1_1DOMDocument.html">DOMDocument</a> or <a class="el" href="classxercesc_1_1DOMDocumentFragment.html">DOMDocumentFragment</a>. <br>
INVALID_STATE_ERR: Raised if <code><a class="el" href="classxercesc_1_1DOMRange.html#0cd4d64c7e08a3b72e12cd8eb06b6888">detach()</a></code> has already been invoked on this object.</td></tr>
</table>
</dl>
<dl compact><dt><b>Since:</b></dt><dd>DOM Level 2 </dd></dl>
</td>
</tr>
</table>
<a class="anchor" name="151aeca48596eda20500bfe4b1fe50bc"></a><!-- doxytag: member="xercesc::DOMRange::deleteContents" ref="151aeca48596eda20500bfe4b1fe50bc" args="()=0" --><p>
<table class="mdTable" cellpadding="2" cellspacing="0">
<tr>
<td class="mdRow">
<table cellpadding="0" cellspacing="0" border="0">
<tr>
<td class="md" nowrap valign="top">virtual void xercesc::DOMRange::deleteContents </td>
<td class="md" valign="top">(&nbsp;</td>
<td class="mdname1" valign="top" nowrap> </td>
<td class="md" valign="top">&nbsp;)&nbsp;</td>
<td class="md" nowrap><code> [pure virtual]</code></td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing="5" cellpadding="0" border="0">
<tr>
<td>
&nbsp;
</td>
<td>
<p>
Removes the contents of a Range from the containing document or document fragment without returning a reference to the removed content.
<p>
<dl compact><dt><b>Exceptions:</b></dt><dd>
<table border="0" cellspacing="2" cellpadding="0">
<tr><td valign="top"></td><td valign="top"><em><a class="el" href="classxercesc_1_1DOMException.html">DOMException</a></em>&nbsp;</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><a class="el" href="classxercesc_1_1DOMRange.html#0cd4d64c7e08a3b72e12cd8eb06b6888">detach()</a></code> has already been invoked on this object.</td></tr>
</table>
</dl>
<dl compact><dt><b>Since:</b></dt><dd>DOM Level 2 </dd></dl>
</td>
</tr>
</table>
<a class="anchor" name="0cd4d64c7e08a3b72e12cd8eb06b6888"></a><!-- doxytag: member="xercesc::DOMRange::detach" ref="0cd4d64c7e08a3b72e12cd8eb06b6888" args="()=0" --><p>
<table class="mdTable" cellpadding="2" cellspacing="0">
<tr>
<td class="mdRow">
<table cellpadding="0" cellspacing="0" border="0">
<tr>
<td class="md" nowrap valign="top">virtual void xercesc::DOMRange::detach </td>
<td class="md" valign="top">(&nbsp;</td>
<td class="mdname1" valign="top" nowrap> </td>
<td class="md" valign="top">&nbsp;)&nbsp;</td>
<td class="md" nowrap><code> [pure virtual]</code></td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing="5" cellpadding="0" border="0">
<tr>
<td>
&nbsp;
</td>
<td>
<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>
Subsequent calls to any methods or attribute getters on this Range will result in a <code><a class="el" href="classxercesc_1_1DOMException.html">DOMException</a></code> being thrown with an error code of <code>INVALID_STATE_ERR</code>. <dl compact><dt><b>Exceptions:</b></dt><dd>
<table border="0" cellspacing="2" cellpadding="0">
<tr><td valign="top"></td><td valign="top"><em><a class="el" href="classxercesc_1_1DOMException.html">DOMException</a></em>&nbsp;</td><td>INVALID_STATE_ERR: Raised if <code><a class="el" href="classxercesc_1_1DOMRange.html#0cd4d64c7e08a3b72e12cd8eb06b6888">detach()</a></code> has already been invoked on this object.</td></tr>
</table>
</dl>
<dl compact><dt><b>Since:</b></dt><dd>DOM Level 2 </dd></dl>
</td>
</tr>
</table>
<a class="anchor" name="36031cc656affc081fd231f4344f4ef6"></a><!-- doxytag: member="xercesc::DOMRange::extractContents" ref="36031cc656affc081fd231f4344f4ef6" args="()=0" --><p>
<table class="mdTable" cellpadding="2" cellspacing="0">
<tr>
<td class="mdRow">
<table cellpadding="0" cellspacing="0" border="0">
<tr>
<td class="md" nowrap valign="top">virtual <a class="el" href="classxercesc_1_1DOMDocumentFragment.html">DOMDocumentFragment</a>* xercesc::DOMRange::extractContents </td>
<td class="md" valign="top">(&nbsp;</td>
<td class="mdname1" valign="top" nowrap> </td>
<td class="md" valign="top">&nbsp;)&nbsp;</td>
<td class="md" nowrap><code> [pure virtual]</code></td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing="5" cellpadding="0" border="0">
<tr>
<td>
&nbsp;
</td>
<td>
<p>
Moves the contents of a Range from the containing document or document fragment to a new <a class="el" href="classxercesc_1_1DOMDocumentFragment.html">DOMDocumentFragment</a>.
<p>
<dl compact><dt><b>Returns:</b></dt><dd>A <a class="el" href="classxercesc_1_1DOMDocumentFragment.html">DOMDocumentFragment</a> containing the extracted contents. </dd></dl>
<dl compact><dt><b>Exceptions:</b></dt><dd>
<table border="0" cellspacing="2" cellpadding="0">
<tr><td valign="top"></td><td valign="top"><em><a class="el" href="classxercesc_1_1DOMException.html">DOMException</a></em>&nbsp;</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 <a class="el" href="classxercesc_1_1DOMDocumentType.html">DOMDocumentType</a> node would be extracted into the new <a class="el" href="classxercesc_1_1DOMDocumentFragment.html">DOMDocumentFragment</a>. <br>
INVALID_STATE_ERR: Raised if <code><a class="el" href="classxercesc_1_1DOMRange.html#0cd4d64c7e08a3b72e12cd8eb06b6888">detach()</a></code> has already been invoked on this object.</td></tr>
</table>
</dl>
<dl compact><dt><b>Since:</b></dt><dd>DOM Level 2 </dd></dl>
</td>
</tr>
</table>
<a class="anchor" name="aa6ac9a07eb3a94b732ea1b7aa9109ed"></a><!-- doxytag: member="xercesc::DOMRange::getCollapsed" ref="aa6ac9a07eb3a94b732ea1b7aa9109ed" args="() const =0" --><p>
<table class="mdTable" cellpadding="2" cellspacing="0">
<tr>
<td class="mdRow">
<table cellpadding="0" cellspacing="0" border="0">
<tr>
<td class="md" nowrap valign="top">virtual bool xercesc::DOMRange::getCollapsed </td>
<td class="md" valign="top">(&nbsp;</td>
<td class="mdname1" valign="top" nowrap> </td>
<td class="md" valign="top">&nbsp;)&nbsp;</td>
<td class="md" nowrap> const<code> [pure virtual]</code></td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing="5" cellpadding="0" border="0">
<tr>
<td>
&nbsp;
</td>
<td>
<p>
TRUE if the Range is collapsed <dl compact><dt><b>Exceptions:</b></dt><dd>
<table border="0" cellspacing="2" cellpadding="0">
<tr><td valign="top"></td><td valign="top"><em><a class="el" href="classxercesc_1_1DOMException.html">DOMException</a></em>&nbsp;</td><td>INVALID_STATE_ERR: Raised if <code><a class="el" href="classxercesc_1_1DOMRange.html#0cd4d64c7e08a3b72e12cd8eb06b6888">detach()</a></code> has already been invoked on this object. </td></tr>
</table>
</dl>
<p>
<dl compact><dt><b>Since:</b></dt><dd>DOM Level 2 </dd></dl>
</td>
</tr>
</table>
<a class="anchor" name="69837c26e44c82f917922b25f9239053"></a><!-- doxytag: member="xercesc::DOMRange::getCommonAncestorContainer" ref="69837c26e44c82f917922b25f9239053" args="() const =0" --><p>
<table class="mdTable" cellpadding="2" cellspacing="0">
<tr>
<td class="mdRow">
<table cellpadding="0" cellspacing="0" border="0">
<tr>
<td class="md" nowrap valign="top">virtual const <a class="el" href="classxercesc_1_1DOMNode.html">DOMNode</a>* xercesc::DOMRange::getCommonAncestorContainer </td>
<td class="md" valign="top">(&nbsp;</td>
<td class="mdname1" valign="top" nowrap> </td>
<td class="md" valign="top">&nbsp;)&nbsp;</td>
<td class="md" nowrap> const<code> [pure virtual]</code></td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing="5" cellpadding="0" border="0">
<tr>
<td>
&nbsp;
</td>
<td>
<p>
The deepest common ancestor container of the Range's two boundary-points.
<p>
<dl compact><dt><b>Exceptions:</b></dt><dd>
<table border="0" cellspacing="2" cellpadding="0">
<tr><td valign="top"></td><td valign="top"><em><a class="el" href="classxercesc_1_1DOMException.html">DOMException</a></em>&nbsp;</td><td>INVALID_STATE_ERR: Raised if <code><a class="el" href="classxercesc_1_1DOMRange.html#0cd4d64c7e08a3b72e12cd8eb06b6888">detach()</a></code> has already been invoked on this object.</td></tr>
</table>
</dl>
<dl compact><dt><b>Since:</b></dt><dd>DOM Level 2 </dd></dl>
</td>
</tr>
</table>
<a class="anchor" name="5298920b07a4b5c7972b7194ed8cb602"></a><!-- doxytag: member="xercesc::DOMRange::getEndContainer" ref="5298920b07a4b5c7972b7194ed8cb602" args="() const =0" --><p>
<table class="mdTable" cellpadding="2" cellspacing="0">
<tr>
<td class="mdRow">
<table cellpadding="0" cellspacing="0" border="0">
<tr>
<td class="md" nowrap valign="top">virtual <a class="el" href="classxercesc_1_1DOMNode.html">DOMNode</a>* xercesc::DOMRange::getEndContainer </td>
<td class="md" valign="top">(&nbsp;</td>
<td class="mdname1" valign="top" nowrap> </td>
<td class="md" valign="top">&nbsp;)&nbsp;</td>
<td class="md" nowrap> const<code> [pure virtual]</code></td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing="5" cellpadding="0" border="0">
<tr>
<td>
&nbsp;
</td>
<td>
<p>
<a class="el" href="classxercesc_1_1DOMNode.html">DOMNode</a> within which the Range ends <dl compact><dt><b>Exceptions:</b></dt><dd>
<table border="0" cellspacing="2" cellpadding="0">
<tr><td valign="top"></td><td valign="top"><em><a class="el" href="classxercesc_1_1DOMException.html">DOMException</a></em>&nbsp;</td><td>INVALID_STATE_ERR: Raised if <code><a class="el" href="classxercesc_1_1DOMRange.html#0cd4d64c7e08a3b72e12cd8eb06b6888">detach()</a></code> has already been invoked on this object. </td></tr>
</table>
</dl>
<p>
<dl compact><dt><b>Since:</b></dt><dd>DOM Level 2 </dd></dl>
</td>
</tr>
</table>
<a class="anchor" name="377b108202cf215059f1598666168b20"></a><!-- doxytag: member="xercesc::DOMRange::getEndOffset" ref="377b108202cf215059f1598666168b20" args="() const =0" --><p>
<table class="mdTable" cellpadding="2" cellspacing="0">
<tr>
<td class="mdRow">
<table cellpadding="0" cellspacing="0" border="0">
<tr>
<td class="md" nowrap valign="top">virtual XMLSize_t xercesc::DOMRange::getEndOffset </td>
<td class="md" valign="top">(&nbsp;</td>
<td class="mdname1" valign="top" nowrap> </td>
<td class="md" valign="top">&nbsp;)&nbsp;</td>
<td class="md" nowrap> const<code> [pure virtual]</code></td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing="5" cellpadding="0" border="0">
<tr>
<td>
&nbsp;
</td>
<td>
<p>
Offset within the ending node of the Range.
<p>
<dl compact><dt><b>Exceptions:</b></dt><dd>
<table border="0" cellspacing="2" cellpadding="0">
<tr><td valign="top"></td><td valign="top"><em><a class="el" href="classxercesc_1_1DOMException.html">DOMException</a></em>&nbsp;</td><td>INVALID_STATE_ERR: Raised if <code><a class="el" href="classxercesc_1_1DOMRange.html#0cd4d64c7e08a3b72e12cd8eb06b6888">detach()</a></code> has already been invoked on this object.</td></tr>
</table>
</dl>
<dl compact><dt><b>Since:</b></dt><dd>DOM Level 2 </dd></dl>
</td>
</tr>
</table>
<a class="anchor" name="5a31342429a993a2b5f857f702380416"></a><!-- doxytag: member="xercesc::DOMRange::getStartContainer" ref="5a31342429a993a2b5f857f702380416" args="() const =0" --><p>
<table class="mdTable" cellpadding="2" cellspacing="0">
<tr>
<td class="mdRow">
<table cellpadding="0" cellspacing="0" border="0">
<tr>
<td class="md" nowrap valign="top">virtual <a class="el" href="classxercesc_1_1DOMNode.html">DOMNode</a>* xercesc::DOMRange::getStartContainer </td>
<td class="md" valign="top">(&nbsp;</td>
<td class="mdname1" valign="top" nowrap> </td>
<td class="md" valign="top">&nbsp;)&nbsp;</td>
<td class="md" nowrap> const<code> [pure virtual]</code></td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing="5" cellpadding="0" border="0">
<tr>
<td>
&nbsp;
</td>
<td>
<p>
<a class="el" href="classxercesc_1_1DOMNode.html">DOMNode</a> within which the Range begins <dl compact><dt><b>Exceptions:</b></dt><dd>
<table border="0" cellspacing="2" cellpadding="0">
<tr><td valign="top"></td><td valign="top"><em><a class="el" href="classxercesc_1_1DOMException.html">DOMException</a></em>&nbsp;</td><td>INVALID_STATE_ERR: Raised if <code><a class="el" href="classxercesc_1_1DOMRange.html#0cd4d64c7e08a3b72e12cd8eb06b6888">detach()</a></code> has already been invoked on this object. </td></tr>
</table>
</dl>
<p>
<dl compact><dt><b>Since:</b></dt><dd>DOM Level 2 </dd></dl>
</td>
</tr>
</table>
<a class="anchor" name="2fac6cfdf4a53a0a2576ecdb22a9b6db"></a><!-- doxytag: member="xercesc::DOMRange::getStartOffset" ref="2fac6cfdf4a53a0a2576ecdb22a9b6db" args="() const =0" --><p>
<table class="mdTable" cellpadding="2" cellspacing="0">
<tr>
<td class="mdRow">
<table cellpadding="0" cellspacing="0" border="0">
<tr>
<td class="md" nowrap valign="top">virtual XMLSize_t xercesc::DOMRange::getStartOffset </td>
<td class="md" valign="top">(&nbsp;</td>
<td class="mdname1" valign="top" nowrap> </td>
<td class="md" valign="top">&nbsp;)&nbsp;</td>
<td class="md" nowrap> const<code> [pure virtual]</code></td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing="5" cellpadding="0" border="0">
<tr>
<td>
&nbsp;
</td>
<td>
<p>
Offset within the starting node of the Range.
<p>
<dl compact><dt><b>Exceptions:</b></dt><dd>
<table border="0" cellspacing="2" cellpadding="0">
<tr><td valign="top"></td><td valign="top"><em><a class="el" href="classxercesc_1_1DOMException.html">DOMException</a></em>&nbsp;</td><td>INVALID_STATE_ERR: Raised if <code><a class="el" href="classxercesc_1_1DOMRange.html#0cd4d64c7e08a3b72e12cd8eb06b6888">detach()</a></code> has already been invoked on this object.</td></tr>
</table>
</dl>
<dl compact><dt><b>Since:</b></dt><dd>DOM Level 2 </dd></dl>
</td>
</tr>
</table>
<a class="anchor" name="e54835ad569bd500cc6166456c069d2f"></a><!-- doxytag: member="xercesc::DOMRange::insertNode" ref="e54835ad569bd500cc6166456c069d2f" args="(DOMNode *newNode)=0" --><p>
<table class="mdTable" cellpadding="2" cellspacing="0">
<tr>
<td class="mdRow">
<table cellpadding="0" cellspacing="0" border="0">
<tr>
<td class="md" nowrap valign="top">virtual void xercesc::DOMRange::insertNode </td>
<td class="md" valign="top">(&nbsp;</td>
<td class="md" nowrap valign="top"><a class="el" href="classxercesc_1_1DOMNode.html">DOMNode</a> *&nbsp;</td>
<td class="mdname1" valign="top" nowrap> <em>newNode</em> </td>
<td class="md" valign="top">&nbsp;)&nbsp;</td>
<td class="md" nowrap><code> [pure virtual]</code></td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing="5" cellpadding="0" border="0">
<tr>
<td>
&nbsp;
</td>
<td>
<p>
Inserts a node into the <a class="el" href="classxercesc_1_1DOMDocument.html">DOMDocument</a> or <a class="el" href="classxercesc_1_1DOMDocumentFragment.html">DOMDocumentFragment</a> at the start of the Range.
<p>
If the container is a <a class="el" href="classxercesc_1_1DOMText.html">DOMText</a> node, this will be split at the start of the Range (as if the <a class="el" href="classxercesc_1_1DOMText.html">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="classxercesc_1_1DOMText.html">DOMText</a> nodes. Adjacent <a class="el" href="classxercesc_1_1DOMText.html">DOMText</a> nodes will not be automatically merged. If the node to be inserted is a <a class="el" href="classxercesc_1_1DOMDocumentFragment.html">DOMDocumentFragment</a> node, the children will be inserted rather than the <a class="el" href="classxercesc_1_1DOMDocumentFragment.html">DOMDocumentFragment</a> node itself. <dl compact><dt><b>Parameters:</b></dt><dd>
<table border="0" cellspacing="2" cellpadding="0">
<tr><td valign="top"></td><td valign="top"><em>newNode</em>&nbsp;</td><td>The node to insert at the start of the Range </td></tr>
</table>
</dl>
<dl compact><dt><b>Exceptions:</b></dt><dd>
<table border="0" cellspacing="2" cellpadding="0">
<tr><td valign="top"></td><td valign="top"><em><a class="el" href="classxercesc_1_1DOMException.html">DOMException</a></em>&nbsp;</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><a class="el" href="classxercesc_1_1DOMRange.html#0cd4d64c7e08a3b72e12cd8eb06b6888">detach()</a></code> has already been invoked on this object. </td></tr>
<tr><td valign="top"></td><td valign="top"><em><a class="el" href="classxercesc_1_1DOMRangeException.html">DOMRangeException</a></em>&nbsp;</td><td>INVALID_NODE_TYPE_ERR: Raised if <code>newNode</code> is an <a class="el" href="classxercesc_1_1DOMAttr.html">DOMAttr</a>, <a class="el" href="classxercesc_1_1DOMEntity.html">DOMEntity</a>, <a class="el" href="classxercesc_1_1DOMNotation.html">DOMNotation</a>, or <a class="el" href="classxercesc_1_1DOMDocument.html">DOMDocument</a> node.</td></tr>
</table>
</dl>
<dl compact><dt><b>Since:</b></dt><dd>DOM Level 2 </dd></dl>
</td>
</tr>
</table>
<a class="anchor" name="bc2f073c570238ebc51d896e068b7333"></a><!-- doxytag: member="xercesc::DOMRange::release" ref="bc2f073c570238ebc51d896e068b7333" args="()=0" --><p>
<table class="mdTable" cellpadding="2" cellspacing="0">
<tr>
<td class="mdRow">
<table cellpadding="0" cellspacing="0" border="0">
<tr>
<td class="md" nowrap valign="top">virtual void xercesc::DOMRange::release </td>
<td class="md" valign="top">(&nbsp;</td>
<td class="mdname1" valign="top" nowrap> </td>
<td class="md" valign="top">&nbsp;)&nbsp;</td>
<td class="md" nowrap><code> [pure virtual]</code></td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing="5" cellpadding="0" border="0">
<tr>
<td>
&nbsp;
</td>
<td>
<p>
Called to indicate that this Range is no longer in use and that the implementation may relinquish any resources associated with it.
<p>
(<a class="el" href="classxercesc_1_1DOMRange.html#bc2f073c570238ebc51d896e068b7333">release()</a> will call <a class="el" href="classxercesc_1_1DOMRange.html#0cd4d64c7e08a3b72e12cd8eb06b6888">detach()</a> where appropriate)<p>
Access to a released object will lead to unexpected result. </td>
</tr>
</table>
<a class="anchor" name="ad306fc55a88c86089520fea19114937"></a><!-- doxytag: member="xercesc::DOMRange::selectNode" ref="ad306fc55a88c86089520fea19114937" args="(const DOMNode *refNode)=0" --><p>
<table class="mdTable" cellpadding="2" cellspacing="0">
<tr>
<td class="mdRow">
<table cellpadding="0" cellspacing="0" border="0">
<tr>
<td class="md" nowrap valign="top">virtual void xercesc::DOMRange::selectNode </td>
<td class="md" valign="top">(&nbsp;</td>
<td class="md" nowrap valign="top">const <a class="el" href="classxercesc_1_1DOMNode.html">DOMNode</a> *&nbsp;</td>
<td class="mdname1" valign="top" nowrap> <em>refNode</em> </td>
<td class="md" valign="top">&nbsp;)&nbsp;</td>
<td class="md" nowrap><code> [pure virtual]</code></td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing="5" cellpadding="0" border="0">
<tr>
<td>
&nbsp;
</td>
<td>
<p>
Select a node and its contents.
<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
<table border="0" cellspacing="2" cellpadding="0">
<tr><td valign="top"></td><td valign="top"><em>refNode</em>&nbsp;</td><td>The node to select. </td></tr>
</table>
</dl>
<dl compact><dt><b>Exceptions:</b></dt><dd>
<table border="0" cellspacing="2" cellpadding="0">
<tr><td valign="top"></td><td valign="top"><em><a class="el" href="classxercesc_1_1DOMRangeException.html">DOMRangeException</a></em>&nbsp;</td><td>INVALID_NODE_TYPE_ERR: Raised if an ancestor of <code>refNode</code> is an <a class="el" href="classxercesc_1_1DOMEntity.html">DOMEntity</a>, <a class="el" href="classxercesc_1_1DOMNotation.html">DOMNotation</a> or <a class="el" href="classxercesc_1_1DOMDocumentType.html">DOMDocumentType</a> node or if <code>refNode</code> is a <a class="el" href="classxercesc_1_1DOMDocument.html">DOMDocument</a>, <a class="el" href="classxercesc_1_1DOMDocumentFragment.html">DOMDocumentFragment</a>, <a class="el" href="classxercesc_1_1DOMAttr.html">DOMAttr</a>, <a class="el" href="classxercesc_1_1DOMEntity.html">DOMEntity</a>, or <a class="el" href="classxercesc_1_1DOMNotation.html">DOMNotation</a> node. </td></tr>
<tr><td valign="top"></td><td valign="top"><em><a class="el" href="classxercesc_1_1DOMException.html">DOMException</a></em>&nbsp;</td><td>INVALID_STATE_ERR: Raised if <code><a class="el" href="classxercesc_1_1DOMRange.html#0cd4d64c7e08a3b72e12cd8eb06b6888">detach()</a></code> has already been invoked on this object. <br>
WRONG_DOCUMENT_ERR: Raised if <code>refNode</code> was created from a different document than the one that created this range.</td></tr>
</table>
</dl>
<dl compact><dt><b>Since:</b></dt><dd>DOM Level 2 </dd></dl>
</td>
</tr>
</table>
<a class="anchor" name="fb6889557d50f5aaa76304da409a9f5d"></a><!-- doxytag: member="xercesc::DOMRange::selectNodeContents" ref="fb6889557d50f5aaa76304da409a9f5d" args="(const DOMNode *refNode)=0" --><p>
<table class="mdTable" cellpadding="2" cellspacing="0">
<tr>
<td class="mdRow">
<table cellpadding="0" cellspacing="0" border="0">
<tr>
<td class="md" nowrap valign="top">virtual void xercesc::DOMRange::selectNodeContents </td>
<td class="md" valign="top">(&nbsp;</td>
<td class="md" nowrap valign="top">const <a class="el" href="classxercesc_1_1DOMNode.html">DOMNode</a> *&nbsp;</td>
<td class="mdname1" valign="top" nowrap> <em>refNode</em> </td>
<td class="md" valign="top">&nbsp;)&nbsp;</td>
<td class="md" nowrap><code> [pure virtual]</code></td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing="5" cellpadding="0" border="0">
<tr>
<td>
&nbsp;
</td>
<td>
<p>
Select the contents within a node.
<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
<table border="0" cellspacing="2" cellpadding="0">
<tr><td valign="top"></td><td valign="top"><em>refNode</em>&nbsp;</td><td><a class="el" href="classxercesc_1_1DOMNode.html">DOMNode</a> to select from </td></tr>
</table>
</dl>
<dl compact><dt><b>Exceptions:</b></dt><dd>
<table border="0" cellspacing="2" cellpadding="0">
<tr><td valign="top"></td><td valign="top"><em><a class="el" href="classxercesc_1_1DOMRangeException.html">DOMRangeException</a></em>&nbsp;</td><td>INVALID_NODE_TYPE_ERR: Raised if <code>refNode</code> or an ancestor of <code>refNode</code> is an <a class="el" href="classxercesc_1_1DOMEntity.html">DOMEntity</a>, <a class="el" href="classxercesc_1_1DOMNotation.html">DOMNotation</a> or <a class="el" href="classxercesc_1_1DOMDocumentType.html">DOMDocumentType</a> node. </td></tr>
<tr><td valign="top"></td><td valign="top"><em><a class="el" href="classxercesc_1_1DOMException.html">DOMException</a></em>&nbsp;</td><td>INVALID_STATE_ERR: Raised if <code><a class="el" href="classxercesc_1_1DOMRange.html#0cd4d64c7e08a3b72e12cd8eb06b6888">detach()</a></code> has already been invoked on this object. <br>
WRONG_DOCUMENT_ERR: Raised if <code>refNode</code> was created from a different document than the one that created this range.</td></tr>
</table>
</dl>
<dl compact><dt><b>Since:</b></dt><dd>DOM Level 2 </dd></dl>
</td>
</tr>
</table>
<a class="anchor" name="33e63dc548fc8f452dc4662fc8ca05dd"></a><!-- doxytag: member="xercesc::DOMRange::setEnd" ref="33e63dc548fc8f452dc4662fc8ca05dd" args="(const DOMNode *refNode, XMLSize_t offset)=0" --><p>
<table class="mdTable" cellpadding="2" cellspacing="0">
<tr>
<td class="mdRow">
<table cellpadding="0" cellspacing="0" border="0">
<tr>
<td class="md" nowrap valign="top">virtual void xercesc::DOMRange::setEnd </td>
<td class="md" valign="top">(&nbsp;</td>
<td class="md" nowrap valign="top">const <a class="el" href="classxercesc_1_1DOMNode.html">DOMNode</a> *&nbsp;</td>
<td class="mdname" nowrap> <em>refNode</em>, </td>
</tr>
<tr>
<td class="md" nowrap align="right"></td>
<td class="md"></td>
<td class="md" nowrap>XMLSize_t&nbsp;</td>
<td class="mdname" nowrap> <em>offset</em></td>
</tr>
<tr>
<td class="md"></td>
<td class="md">)&nbsp;</td>
<td class="md" colspan="2"><code> [pure virtual]</code></td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing="5" cellpadding="0" border="0">
<tr>
<td>
&nbsp;
</td>
<td>
<p>
Sets the attributes describing the end of a Range.
<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
<table border="0" cellspacing="2" cellpadding="0">
<tr><td valign="top"></td><td valign="top"><em>refNode</em>&nbsp;</td><td>The <code>refNode</code> value. This parameter must be different from <code>null</code>. </td></tr>
<tr><td valign="top"></td><td valign="top"><em>offset</em>&nbsp;</td><td>The <code>endOffset</code> value. </td></tr>
</table>
</dl>
<dl compact><dt><b>Exceptions:</b></dt><dd>
<table border="0" cellspacing="2" cellpadding="0">
<tr><td valign="top"></td><td valign="top"><em><a class="el" href="classxercesc_1_1DOMRangeException.html">DOMRangeException</a></em>&nbsp;</td><td>INVALID_NODE_TYPE_ERR: Raised if <code>refNode</code> or an ancestor of <code>refNode</code> is an <a class="el" href="classxercesc_1_1DOMEntity.html">DOMEntity</a>, <a class="el" href="classxercesc_1_1DOMNotation.html">DOMNotation</a>, or <a class="el" href="classxercesc_1_1DOMDocumentType.html">DOMDocumentType</a> node. </td></tr>
<tr><td valign="top"></td><td valign="top"><em><a class="el" href="classxercesc_1_1DOMException.html">DOMException</a></em>&nbsp;</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="classxercesc_1_1DOMCharacterData.html">DOMCharacterData</a> node (e.g., a <a class="el" href="classxercesc_1_1DOMText.html">DOMText</a> or <a class="el" href="classxercesc_1_1DOMComment.html">DOMComment</a> node) or a <a class="el" href="classxercesc_1_1DOMProcessingInstruction.html">DOMProcessingInstruction</a> node. Child units are Nodes in all other cases. <br>
INVALID_STATE_ERR: Raised if <code><a class="el" href="classxercesc_1_1DOMRange.html#0cd4d64c7e08a3b72e12cd8eb06b6888">detach()</a></code> has already been invoked on this object. <br>
WRONG_DOCUMENT_ERR: Raised if <code>refNode</code> was created from a different document than the one that created this range.</td></tr>
</table>
</dl>
<dl compact><dt><b>Since:</b></dt><dd>DOM Level 2 </dd></dl>
</td>
</tr>
</table>
<a class="anchor" name="0a86ad551674e72cf9f7b8e7192d6b57"></a><!-- doxytag: member="xercesc::DOMRange::setEndAfter" ref="0a86ad551674e72cf9f7b8e7192d6b57" args="(const DOMNode *refNode)=0" --><p>
<table class="mdTable" cellpadding="2" cellspacing="0">
<tr>
<td class="mdRow">
<table cellpadding="0" cellspacing="0" border="0">
<tr>
<td class="md" nowrap valign="top">virtual void xercesc::DOMRange::setEndAfter </td>
<td class="md" valign="top">(&nbsp;</td>
<td class="md" nowrap valign="top">const <a class="el" href="classxercesc_1_1DOMNode.html">DOMNode</a> *&nbsp;</td>
<td class="mdname1" valign="top" nowrap> <em>refNode</em> </td>
<td class="md" valign="top">&nbsp;)&nbsp;</td>
<td class="md" nowrap><code> [pure virtual]</code></td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing="5" cellpadding="0" border="0">
<tr>
<td>
&nbsp;
</td>
<td>
<p>
Sets the end of a Range to be after a node.
<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
<table border="0" cellspacing="2" cellpadding="0">
<tr><td valign="top"></td><td valign="top"><em>refNode</em>&nbsp;</td><td>Range ends after <code>refNode</code>. </td></tr>
</table>
</dl>
<dl compact><dt><b>Exceptions:</b></dt><dd>
<table border="0" cellspacing="2" cellpadding="0">
<tr><td valign="top"></td><td valign="top"><em><a class="el" href="classxercesc_1_1DOMRangeException.html">DOMRangeException</a></em>&nbsp;</td><td>INVALID_NODE_TYPE_ERR: Raised if the root container of <code>refNode</code> is not a <a class="el" href="classxercesc_1_1DOMAttr.html">DOMAttr</a>, <a class="el" href="classxercesc_1_1DOMDocument.html">DOMDocument</a> or <a class="el" href="classxercesc_1_1DOMDocumentFragment.html">DOMDocumentFragment</a> node or if <code>refNode</code> is a <a class="el" href="classxercesc_1_1DOMDocument.html">DOMDocument</a>, <a class="el" href="classxercesc_1_1DOMDocumentFragment.html">DOMDocumentFragment</a>, <a class="el" href="classxercesc_1_1DOMAttr.html">DOMAttr</a>, <a class="el" href="classxercesc_1_1DOMEntity.html">DOMEntity</a>, or <a class="el" href="classxercesc_1_1DOMNotation.html">DOMNotation</a> node. </td></tr>
<tr><td valign="top"></td><td valign="top"><em><a class="el" href="classxercesc_1_1DOMException.html">DOMException</a></em>&nbsp;</td><td>INVALID_STATE_ERR: Raised if <code><a class="el" href="classxercesc_1_1DOMRange.html#0cd4d64c7e08a3b72e12cd8eb06b6888">detach()</a></code> has already been invoked on this object. <br>
WRONG_DOCUMENT_ERR: Raised if <code>refNode</code> was created from a different document than the one that created this range.</td></tr>
</table>
</dl>
<dl compact><dt><b>Since:</b></dt><dd>DOM Level 2 </dd></dl>
</td>
</tr>
</table>
<a class="anchor" name="fac8fad87367742b7d8a28d618876d6b"></a><!-- doxytag: member="xercesc::DOMRange::setEndBefore" ref="fac8fad87367742b7d8a28d618876d6b" args="(const DOMNode *refNode)=0" --><p>
<table class="mdTable" cellpadding="2" cellspacing="0">
<tr>
<td class="mdRow">
<table cellpadding="0" cellspacing="0" border="0">
<tr>
<td class="md" nowrap valign="top">virtual void xercesc::DOMRange::setEndBefore </td>
<td class="md" valign="top">(&nbsp;</td>
<td class="md" nowrap valign="top">const <a class="el" href="classxercesc_1_1DOMNode.html">DOMNode</a> *&nbsp;</td>
<td class="mdname1" valign="top" nowrap> <em>refNode</em> </td>
<td class="md" valign="top">&nbsp;)&nbsp;</td>
<td class="md" nowrap><code> [pure virtual]</code></td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing="5" cellpadding="0" border="0">
<tr>
<td>
&nbsp;
</td>
<td>
<p>
Sets the end position to be before a node.
<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
<table border="0" cellspacing="2" cellpadding="0">
<tr><td valign="top"></td><td valign="top"><em>refNode</em>&nbsp;</td><td>Range ends before <code>refNode</code> </td></tr>
</table>
</dl>
<dl compact><dt><b>Exceptions:</b></dt><dd>
<table border="0" cellspacing="2" cellpadding="0">
<tr><td valign="top"></td><td valign="top"><em><a class="el" href="classxercesc_1_1DOMRangeException.html">DOMRangeException</a></em>&nbsp;</td><td>INVALID_NODE_TYPE_ERR: Raised if the root container of <code>refNode</code> is not an <a class="el" href="classxercesc_1_1DOMAttr.html">DOMAttr</a>, <a class="el" href="classxercesc_1_1DOMDocument.html">DOMDocument</a>, or <a class="el" href="classxercesc_1_1DOMDocumentFragment.html">DOMDocumentFragment</a> node or if <code>refNode</code> is a <a class="el" href="classxercesc_1_1DOMDocument.html">DOMDocument</a>, <a class="el" href="classxercesc_1_1DOMDocumentFragment.html">DOMDocumentFragment</a>, <a class="el" href="classxercesc_1_1DOMAttr.html">DOMAttr</a>, <a class="el" href="classxercesc_1_1DOMEntity.html">DOMEntity</a>, or <a class="el" href="classxercesc_1_1DOMNotation.html">DOMNotation</a> node. </td></tr>
<tr><td valign="top"></td><td valign="top"><em><a class="el" href="classxercesc_1_1DOMException.html">DOMException</a></em>&nbsp;</td><td>INVALID_STATE_ERR: Raised if <code><a class="el" href="classxercesc_1_1DOMRange.html#0cd4d64c7e08a3b72e12cd8eb06b6888">detach()</a></code> has already been invoked on this object. <br>
WRONG_DOCUMENT_ERR: Raised if <code>refNode</code> was created from a different document than the one that created this range.</td></tr>
</table>
</dl>
<dl compact><dt><b>Since:</b></dt><dd>DOM Level 2 </dd></dl>
</td>
</tr>
</table>
<a class="anchor" name="8eaad84f9c769745f44422a3aec5ee8d"></a><!-- doxytag: member="xercesc::DOMRange::setStart" ref="8eaad84f9c769745f44422a3aec5ee8d" args="(const DOMNode *refNode, XMLSize_t offset)=0" --><p>
<table class="mdTable" cellpadding="2" cellspacing="0">
<tr>
<td class="mdRow">
<table cellpadding="0" cellspacing="0" border="0">
<tr>
<td class="md" nowrap valign="top">virtual void xercesc::DOMRange::setStart </td>
<td class="md" valign="top">(&nbsp;</td>
<td class="md" nowrap valign="top">const <a class="el" href="classxercesc_1_1DOMNode.html">DOMNode</a> *&nbsp;</td>
<td class="mdname" nowrap> <em>refNode</em>, </td>
</tr>
<tr>
<td class="md" nowrap align="right"></td>
<td class="md"></td>
<td class="md" nowrap>XMLSize_t&nbsp;</td>
<td class="mdname" nowrap> <em>offset</em></td>
</tr>
<tr>
<td class="md"></td>
<td class="md">)&nbsp;</td>
<td class="md" colspan="2"><code> [pure virtual]</code></td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing="5" cellpadding="0" border="0">
<tr>
<td>
&nbsp;
</td>
<td>
<p>
Sets the attributes describing the start of the Range.
<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
<table border="0" cellspacing="2" cellpadding="0">
<tr><td valign="top"></td><td valign="top"><em>refNode</em>&nbsp;</td><td>The <code>refNode</code> value. This parameter must be different from <code>null</code>. </td></tr>
<tr><td valign="top"></td><td valign="top"><em>offset</em>&nbsp;</td><td>The <code>startOffset</code> value. </td></tr>
</table>
</dl>
<dl compact><dt><b>Exceptions:</b></dt><dd>
<table border="0" cellspacing="2" cellpadding="0">
<tr><td valign="top"></td><td valign="top"><em><a class="el" href="classxercesc_1_1DOMRangeException.html">DOMRangeException</a></em>&nbsp;</td><td>INVALID_NODE_TYPE_ERR: Raised if <code>refNode</code> or an ancestor of <code>refNode</code> is an <a class="el" href="classxercesc_1_1DOMEntity.html">DOMEntity</a>, <a class="el" href="classxercesc_1_1DOMNotation.html">DOMNotation</a>, or <a class="el" href="classxercesc_1_1DOMDocumentType.html">DOMDocumentType</a> node. </td></tr>
<tr><td valign="top"></td><td valign="top"><em><a class="el" href="classxercesc_1_1DOMException.html">DOMException</a></em>&nbsp;</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="classxercesc_1_1DOMCharacterData.html">DOMCharacterData</a> node (e.g., a <a class="el" href="classxercesc_1_1DOMText.html">DOMText</a> or <a class="el" href="classxercesc_1_1DOMComment.html">DOMComment</a> node) or a <a class="el" href="classxercesc_1_1DOMProcessingInstruction.html">DOMProcessingInstruction</a> node. Child units are Nodes in all other cases. <br>
INVALID_STATE_ERR: Raised if <code><a class="el" href="classxercesc_1_1DOMRange.html#0cd4d64c7e08a3b72e12cd8eb06b6888">detach()</a></code> has already been invoked on this object. <br>
WRONG_DOCUMENT_ERR: Raised if <code>refNode</code> was created from a different document than the one that created this range.</td></tr>
</table>
</dl>
<dl compact><dt><b>Since:</b></dt><dd>DOM Level 2 </dd></dl>
</td>
</tr>
</table>
<a class="anchor" name="960bd9c6f8fd16b92dc5629bf927424b"></a><!-- doxytag: member="xercesc::DOMRange::setStartAfter" ref="960bd9c6f8fd16b92dc5629bf927424b" args="(const DOMNode *refNode)=0" --><p>
<table class="mdTable" cellpadding="2" cellspacing="0">
<tr>
<td class="mdRow">
<table cellpadding="0" cellspacing="0" border="0">
<tr>
<td class="md" nowrap valign="top">virtual void xercesc::DOMRange::setStartAfter </td>
<td class="md" valign="top">(&nbsp;</td>
<td class="md" nowrap valign="top">const <a class="el" href="classxercesc_1_1DOMNode.html">DOMNode</a> *&nbsp;</td>
<td class="mdname1" valign="top" nowrap> <em>refNode</em> </td>
<td class="md" valign="top">&nbsp;)&nbsp;</td>
<td class="md" nowrap><code> [pure virtual]</code></td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing="5" cellpadding="0" border="0">
<tr>
<td>
&nbsp;
</td>
<td>
<p>
Sets the start position to be after a node.
<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
<table border="0" cellspacing="2" cellpadding="0">
<tr><td valign="top"></td><td valign="top"><em>refNode</em>&nbsp;</td><td>Range starts after <code>refNode</code> </td></tr>
</table>
</dl>
<dl compact><dt><b>Exceptions:</b></dt><dd>
<table border="0" cellspacing="2" cellpadding="0">
<tr><td valign="top"></td><td valign="top"><em><a class="el" href="classxercesc_1_1DOMRangeException.html">DOMRangeException</a></em>&nbsp;</td><td>INVALID_NODE_TYPE_ERR: Raised if the root container of <code>refNode</code> is not an <a class="el" href="classxercesc_1_1DOMAttr.html">DOMAttr</a>, <a class="el" href="classxercesc_1_1DOMDocument.html">DOMDocument</a>, or <a class="el" href="classxercesc_1_1DOMDocumentFragment.html">DOMDocumentFragment</a> node or if <code>refNode</code> is a <a class="el" href="classxercesc_1_1DOMDocument.html">DOMDocument</a>, <a class="el" href="classxercesc_1_1DOMDocumentFragment.html">DOMDocumentFragment</a>, <a class="el" href="classxercesc_1_1DOMAttr.html">DOMAttr</a>, <a class="el" href="classxercesc_1_1DOMEntity.html">DOMEntity</a>, or <a class="el" href="classxercesc_1_1DOMNotation.html">DOMNotation</a> node. </td></tr>
<tr><td valign="top"></td><td valign="top"><em><a class="el" href="classxercesc_1_1DOMException.html">DOMException</a></em>&nbsp;</td><td>INVALID_STATE_ERR: Raised if <code><a class="el" href="classxercesc_1_1DOMRange.html#0cd4d64c7e08a3b72e12cd8eb06b6888">detach()</a></code> has already been invoked on this object. <br>
WRONG_DOCUMENT_ERR: Raised if <code>refNode</code> was created from a different document than the one that created this range.</td></tr>
</table>
</dl>
<dl compact><dt><b>Since:</b></dt><dd>DOM Level 2 </dd></dl>
</td>
</tr>
</table>
<a class="anchor" name="04db3d0ff11e8153214797f618512ca9"></a><!-- doxytag: member="xercesc::DOMRange::setStartBefore" ref="04db3d0ff11e8153214797f618512ca9" args="(const DOMNode *refNode)=0" --><p>
<table class="mdTable" cellpadding="2" cellspacing="0">
<tr>
<td class="mdRow">
<table cellpadding="0" cellspacing="0" border="0">
<tr>
<td class="md" nowrap valign="top">virtual void xercesc::DOMRange::setStartBefore </td>
<td class="md" valign="top">(&nbsp;</td>
<td class="md" nowrap valign="top">const <a class="el" href="classxercesc_1_1DOMNode.html">DOMNode</a> *&nbsp;</td>
<td class="mdname1" valign="top" nowrap> <em>refNode</em> </td>
<td class="md" valign="top">&nbsp;)&nbsp;</td>
<td class="md" nowrap><code> [pure virtual]</code></td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing="5" cellpadding="0" border="0">
<tr>
<td>
&nbsp;
</td>
<td>
<p>
Sets the start position to be before a node.
<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
<table border="0" cellspacing="2" cellpadding="0">
<tr><td valign="top"></td><td valign="top"><em>refNode</em>&nbsp;</td><td>Range starts before <code>refNode</code> </td></tr>
</table>
</dl>
<dl compact><dt><b>Exceptions:</b></dt><dd>
<table border="0" cellspacing="2" cellpadding="0">
<tr><td valign="top"></td><td valign="top"><em><a class="el" href="classxercesc_1_1DOMRangeException.html">DOMRangeException</a></em>&nbsp;</td><td>INVALID_NODE_TYPE_ERR: Raised if the root container of <code>refNode</code> is not an <a class="el" href="classxercesc_1_1DOMAttr.html">DOMAttr</a>, <a class="el" href="classxercesc_1_1DOMDocument.html">DOMDocument</a>, or <a class="el" href="classxercesc_1_1DOMDocumentFragment.html">DOMDocumentFragment</a> node or if <code>refNode</code> is a <a class="el" href="classxercesc_1_1DOMDocument.html">DOMDocument</a>, <a class="el" href="classxercesc_1_1DOMDocumentFragment.html">DOMDocumentFragment</a>, <a class="el" href="classxercesc_1_1DOMAttr.html">DOMAttr</a>, <a class="el" href="classxercesc_1_1DOMEntity.html">DOMEntity</a>, or <a class="el" href="classxercesc_1_1DOMNotation.html">DOMNotation</a> node. </td></tr>
<tr><td valign="top"></td><td valign="top"><em><a class="el" href="classxercesc_1_1DOMException.html">DOMException</a></em>&nbsp;</td><td>INVALID_STATE_ERR: Raised if <code><a class="el" href="classxercesc_1_1DOMRange.html#0cd4d64c7e08a3b72e12cd8eb06b6888">detach()</a></code> has already been invoked on this object. <br>
WRONG_DOCUMENT_ERR: Raised if <code>refNode</code> was created from a different document than the one that created this range.</td></tr>
</table>
</dl>
<dl compact><dt><b>Since:</b></dt><dd>DOM Level 2 </dd></dl>
</td>
</tr>
</table>
<a class="anchor" name="131a8c953b0e6dfa6abf39ed96551c2a"></a><!-- doxytag: member="xercesc::DOMRange::surroundContents" ref="131a8c953b0e6dfa6abf39ed96551c2a" args="(DOMNode *newParent)=0" --><p>
<table class="mdTable" cellpadding="2" cellspacing="0">
<tr>
<td class="mdRow">
<table cellpadding="0" cellspacing="0" border="0">
<tr>
<td class="md" nowrap valign="top">virtual void xercesc::DOMRange::surroundContents </td>
<td class="md" valign="top">(&nbsp;</td>
<td class="md" nowrap valign="top"><a class="el" href="classxercesc_1_1DOMNode.html">DOMNode</a> *&nbsp;</td>
<td class="mdname1" valign="top" nowrap> <em>newParent</em> </td>
<td class="md" valign="top">&nbsp;)&nbsp;</td>
<td class="md" nowrap><code> [pure virtual]</code></td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing="5" cellpadding="0" border="0">
<tr>
<td>
&nbsp;
</td>
<td>
<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>
<dl compact><dt><b>Parameters:</b></dt><dd>
<table border="0" cellspacing="2" cellpadding="0">
<tr><td valign="top"></td><td valign="top"><em>newParent</em>&nbsp;</td><td>The node to surround the contents with. </td></tr>
</table>
</dl>
<dl compact><dt><b>Exceptions:</b></dt><dd>
<table border="0" cellspacing="2" cellpadding="0">
<tr><td valign="top"></td><td valign="top"><em><a class="el" href="classxercesc_1_1DOMException.html">DOMException</a></em>&nbsp;</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><a class="el" href="classxercesc_1_1DOMRange.html#0cd4d64c7e08a3b72e12cd8eb06b6888">detach()</a></code> has already been invoked on this object. </td></tr>
<tr><td valign="top"></td><td valign="top"><em><a class="el" href="classxercesc_1_1DOMRangeException.html">DOMRangeException</a></em>&nbsp;</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 <a class="el" href="classxercesc_1_1DOMAttr.html">DOMAttr</a>, <a class="el" href="classxercesc_1_1DOMEntity.html">DOMEntity</a>, <a class="el" href="classxercesc_1_1DOMDocumentType.html">DOMDocumentType</a>, <a class="el" href="classxercesc_1_1DOMNotation.html">DOMNotation</a>, <a class="el" href="classxercesc_1_1DOMDocument.html">DOMDocument</a>, or <a class="el" href="classxercesc_1_1DOMDocumentFragment.html">DOMDocumentFragment</a> node.</td></tr>
</table>
</dl>
<dl compact><dt><b>Since:</b></dt><dd>DOM Level 2 </dd></dl>
</td>
</tr>
</table>
<a class="anchor" name="74b794d8751ebc50f97451272f6ea5c3"></a><!-- doxytag: member="xercesc::DOMRange::toString" ref="74b794d8751ebc50f97451272f6ea5c3" args="() const =0" --><p>
<table class="mdTable" cellpadding="2" cellspacing="0">
<tr>
<td class="mdRow">
<table cellpadding="0" cellspacing="0" border="0">
<tr>
<td class="md" nowrap valign="top">virtual const XMLCh* xercesc::DOMRange::toString </td>
<td class="md" valign="top">(&nbsp;</td>
<td class="mdname1" valign="top" nowrap> </td>
<td class="md" valign="top">&nbsp;)&nbsp;</td>
<td class="md" nowrap> const<code> [pure virtual]</code></td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing="5" cellpadding="0" border="0">
<tr>
<td>
&nbsp;
</td>
<td>
<p>
Returns the contents of a Range as a string.
<p>
This string contains only the data characters, not any markup. <dl compact><dt><b>Returns:</b></dt><dd>The contents of the Range. </dd></dl>
<dl compact><dt><b>Exceptions:</b></dt><dd>
<table border="0" cellspacing="2" cellpadding="0">
<tr><td valign="top"></td><td valign="top"><em><a class="el" href="classxercesc_1_1DOMException.html">DOMException</a></em>&nbsp;</td><td>INVALID_STATE_ERR: Raised if <code><a class="el" href="classxercesc_1_1DOMRange.html#0cd4d64c7e08a3b72e12cd8eb06b6888">detach()</a></code> has already been invoked on this object.</td></tr>
</table>
</dl>
<dl compact><dt><b>Since:</b></dt><dd>DOM Level 2 </dd></dl>
</td>
</tr>
</table>
<hr>The documentation for this class was generated from the following file:<ul>
<li><a class="el" href="DOMRange_8hpp-source.html">DOMRange.hpp</a></ul>
2020-02-17 21:08:05 +00:00
<hr size="1"><address style="align: right;"><small>Generated on Mon Feb 12 16:52:13 2007 for XQilla DOM Level 3 API by&nbsp;
2020-02-17 21:05:20 +00:00
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.6 </small></address>
</body>
</html>