XQuilla/docs/dom3-api/classxercesc_1_1DOMRange.html
2020-02-17 22:12:51 +01:00

1108 lines
72 KiB
HTML

<!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 DOM3 API Documentation</title>
<link href="doxygen.css" rel="stylesheet" type="text/css">
<link href="tabs.css" rel="stylesheet" type="text/css">
</head><body>
<a style="float:right;" href="http://sourceforge.net/projects/xqilla"><img src="http://sflogo.sourceforge.net/sflogo.php?group_id=152021&amp;type=2" border="0" alt="SourceForge.net Logo" /></a>
<!-- Generated by Doxygen 1.5.1 -->
<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">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#f5be06ab2c4552e977c1e9a9d98eecf6">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="#f5be06ab2c4552e977c1e9a9d98eecf6"></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#ca42dd9df64974fc8de798c2672283f1">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="#ca42dd9df64974fc8de798c2672283f1"></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#4e1c75e0242eeba16f479224034d4aac">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="#4e1c75e0242eeba16f479224034d4aac"></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#63bc69bf8e598d83ac91433f22861d1e">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="#63bc69bf8e598d83ac91433f22861d1e"></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#8a6959b3c712c4084412c8d845d634c0">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="#8a6959b3c712c4084412c8d845d634c0"></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#53dcf0298f680f8ed8754a16d2457edf">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="#53dcf0298f680f8ed8754a16d2457edf"></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#bb8c570eb7d2c7de7a7f6b6a39964d8e">cloneContents</a> () const=0</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Duplicates the contents of a Range. <a href="#bb8c570eb7d2c7de7a7f6b6a39964d8e"></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#f5cc6dd2af96f50aed4ba4f94de5b970">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="#f5cc6dd2af96f50aed4ba4f94de5b970"></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#2f4e087981c88eb76f8fb5b747ace7c1">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="#2f4e087981c88eb76f8fb5b747ace7c1"></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>
</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 class="since" 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="" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">enum <a class="el" href="classxercesc_1_1DOMRange.html#a09aef968bc14cd4a17a64e9909c24a8">xercesc::DOMRange::CompareHow</a> </td>
</tr>
</table>
</div>
<div class="memdoc">
<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 class="since" 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>
</div>
</div><p>
<hr><h2>Constructor &amp; Destructor Documentation</h2>
<a class="anchor" name="55cc14fcbe9b32c109689bc33f7ca425"></a><!-- doxytag: member="xercesc::DOMRange::DOMRange" ref="55cc14fcbe9b32c109689bc33f7ca425" args="()" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">xercesc::DOMRange::DOMRange </td>
<td>(</td>
<td class="paramname"> </td>
<td>&nbsp;)&nbsp;</td>
<td width="100%"><code> [inline, protected]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
</div>
</div><p>
<a class="anchor" name="53db0c08257f4bbeb3b9597f656dd31d"></a><!-- doxytag: member="xercesc::DOMRange::DOMRange" ref="53db0c08257f4bbeb3b9597f656dd31d" args="(const DOMRange &amp;)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">xercesc::DOMRange::DOMRange </td>
<td>(</td>
<td class="paramtype">const <a class="el" href="classxercesc_1_1DOMRange.html">DOMRange</a> &amp;&nbsp;</td>
<td class="paramname"> </td>
<td>&nbsp;)&nbsp;</td>
<td width="100%"><code> [inline, protected]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
</div>
</div><p>
<a class="anchor" name="6911af3e9b1a093ea192be117aa57119"></a><!-- doxytag: member="xercesc::DOMRange::~DOMRange" ref="6911af3e9b1a093ea192be117aa57119" args="()" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">virtual xercesc::DOMRange::~DOMRange </td>
<td>(</td>
<td class="paramname"> </td>
<td>&nbsp;)&nbsp;</td>
<td width="100%"><code> [inline, virtual]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
Destructor.
<p>
</div>
</div><p>
<a class="anchor" name="55cc14fcbe9b32c109689bc33f7ca425"></a><!-- doxytag: member="xercesc::DOMRange::DOMRange" ref="55cc14fcbe9b32c109689bc33f7ca425" args="()" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">xercesc::DOMRange::DOMRange </td>
<td>(</td>
<td class="paramname"> </td>
<td>&nbsp;)&nbsp;</td>
<td width="100%"><code> [inline, protected]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
</div>
</div><p>
<a class="anchor" name="53db0c08257f4bbeb3b9597f656dd31d"></a><!-- doxytag: member="xercesc::DOMRange::DOMRange" ref="53db0c08257f4bbeb3b9597f656dd31d" args="(const DOMRange &amp;)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">xercesc::DOMRange::DOMRange </td>
<td>(</td>
<td class="paramtype">const <a class="el" href="classxercesc_1_1DOMRange.html">DOMRange</a> &amp;&nbsp;</td>
<td class="paramname"> </td>
<td>&nbsp;)&nbsp;</td>
<td width="100%"><code> [inline, protected]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
</div>
</div><p>
<a class="anchor" name="6911af3e9b1a093ea192be117aa57119"></a><!-- doxytag: member="xercesc::DOMRange::~DOMRange" ref="6911af3e9b1a093ea192be117aa57119" args="()" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">virtual xercesc::DOMRange::~DOMRange </td>
<td>(</td>
<td class="paramname"> </td>
<td>&nbsp;)&nbsp;</td>
<td width="100%"><code> [inline, virtual]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
Destructor.
<p>
</div>
</div><p>
<hr><h2>Member Function Documentation</h2>
<a class="anchor" name="f5be06ab2c4552e977c1e9a9d98eecf6"></a><!-- doxytag: member="xercesc::DOMRange::getStartContainer" ref="f5be06ab2c4552e977c1e9a9d98eecf6" args="() const=0" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">virtual <a class="el" href="classxercesc_1_1DOMNode.html">DOMNode</a>* xercesc::DOMRange::getStartContainer </td>
<td>(</td>
<td class="paramname"> </td>
<td>&nbsp;)&nbsp;</td>
<td width="100%"> const<code> [pure virtual]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<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 class="since" compact><dt><b>Since:</b></dt><dd>DOM Level 2 </dd></dl>
</div>
</div><p>
<a class="anchor" name="ca42dd9df64974fc8de798c2672283f1"></a><!-- doxytag: member="xercesc::DOMRange::getStartOffset" ref="ca42dd9df64974fc8de798c2672283f1" args="() const=0" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">virtual XMLSize_t xercesc::DOMRange::getStartOffset </td>
<td>(</td>
<td class="paramname"> </td>
<td>&nbsp;)&nbsp;</td>
<td width="100%"> const<code> [pure virtual]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<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 class="since" compact><dt><b>Since:</b></dt><dd>DOM Level 2 </dd></dl>
</div>
</div><p>
<a class="anchor" name="4e1c75e0242eeba16f479224034d4aac"></a><!-- doxytag: member="xercesc::DOMRange::getEndContainer" ref="4e1c75e0242eeba16f479224034d4aac" args="() const=0" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">virtual <a class="el" href="classxercesc_1_1DOMNode.html">DOMNode</a>* xercesc::DOMRange::getEndContainer </td>
<td>(</td>
<td class="paramname"> </td>
<td>&nbsp;)&nbsp;</td>
<td width="100%"> const<code> [pure virtual]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<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 class="since" compact><dt><b>Since:</b></dt><dd>DOM Level 2 </dd></dl>
</div>
</div><p>
<a class="anchor" name="63bc69bf8e598d83ac91433f22861d1e"></a><!-- doxytag: member="xercesc::DOMRange::getEndOffset" ref="63bc69bf8e598d83ac91433f22861d1e" args="() const=0" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">virtual XMLSize_t xercesc::DOMRange::getEndOffset </td>
<td>(</td>
<td class="paramname"> </td>
<td>&nbsp;)&nbsp;</td>
<td width="100%"> const<code> [pure virtual]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<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 class="since" compact><dt><b>Since:</b></dt><dd>DOM Level 2 </dd></dl>
</div>
</div><p>
<a class="anchor" name="8a6959b3c712c4084412c8d845d634c0"></a><!-- doxytag: member="xercesc::DOMRange::getCollapsed" ref="8a6959b3c712c4084412c8d845d634c0" args="() const=0" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">virtual bool xercesc::DOMRange::getCollapsed </td>
<td>(</td>
<td class="paramname"> </td>
<td>&nbsp;)&nbsp;</td>
<td width="100%"> const<code> [pure virtual]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<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 class="since" compact><dt><b>Since:</b></dt><dd>DOM Level 2 </dd></dl>
</div>
</div><p>
<a class="anchor" name="53dcf0298f680f8ed8754a16d2457edf"></a><!-- doxytag: member="xercesc::DOMRange::getCommonAncestorContainer" ref="53dcf0298f680f8ed8754a16d2457edf" args="() const=0" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">virtual const <a class="el" href="classxercesc_1_1DOMNode.html">DOMNode</a>* xercesc::DOMRange::getCommonAncestorContainer </td>
<td>(</td>
<td class="paramname"> </td>
<td>&nbsp;)&nbsp;</td>
<td width="100%"> const<code> [pure virtual]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<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 class="since" compact><dt><b>Since:</b></dt><dd>DOM Level 2 </dd></dl>
</div>
</div><p>
<a class="anchor" name="8eaad84f9c769745f44422a3aec5ee8d"></a><!-- doxytag: member="xercesc::DOMRange::setStart" ref="8eaad84f9c769745f44422a3aec5ee8d" args="(const DOMNode *refNode, XMLSize_t offset)=0" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">virtual void xercesc::DOMRange::setStart </td>
<td>(</td>
<td class="paramtype">const <a class="el" href="classxercesc_1_1DOMNode.html">DOMNode</a> *&nbsp;</td>
<td class="paramname"> <em>refNode</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">XMLSize_t&nbsp;</td>
<td class="paramname"> <em>offset</em></td><td>&nbsp;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td><td width="100%"><code> [pure virtual]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<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 class="since" compact><dt><b>Since:</b></dt><dd>DOM Level 2 </dd></dl>
</div>
</div><p>
<a class="anchor" name="33e63dc548fc8f452dc4662fc8ca05dd"></a><!-- doxytag: member="xercesc::DOMRange::setEnd" ref="33e63dc548fc8f452dc4662fc8ca05dd" args="(const DOMNode *refNode, XMLSize_t offset)=0" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">virtual void xercesc::DOMRange::setEnd </td>
<td>(</td>
<td class="paramtype">const <a class="el" href="classxercesc_1_1DOMNode.html">DOMNode</a> *&nbsp;</td>
<td class="paramname"> <em>refNode</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">XMLSize_t&nbsp;</td>
<td class="paramname"> <em>offset</em></td><td>&nbsp;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td><td width="100%"><code> [pure virtual]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<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 class="since" compact><dt><b>Since:</b></dt><dd>DOM Level 2 </dd></dl>
</div>
</div><p>
<a class="anchor" name="04db3d0ff11e8153214797f618512ca9"></a><!-- doxytag: member="xercesc::DOMRange::setStartBefore" ref="04db3d0ff11e8153214797f618512ca9" args="(const DOMNode *refNode)=0" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">virtual void xercesc::DOMRange::setStartBefore </td>
<td>(</td>
<td class="paramtype">const <a class="el" href="classxercesc_1_1DOMNode.html">DOMNode</a> *&nbsp;</td>
<td class="paramname"> <em>refNode</em> </td>
<td>&nbsp;)&nbsp;</td>
<td width="100%"><code> [pure virtual]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<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 class="since" compact><dt><b>Since:</b></dt><dd>DOM Level 2 </dd></dl>
</div>
</div><p>
<a class="anchor" name="960bd9c6f8fd16b92dc5629bf927424b"></a><!-- doxytag: member="xercesc::DOMRange::setStartAfter" ref="960bd9c6f8fd16b92dc5629bf927424b" args="(const DOMNode *refNode)=0" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">virtual void xercesc::DOMRange::setStartAfter </td>
<td>(</td>
<td class="paramtype">const <a class="el" href="classxercesc_1_1DOMNode.html">DOMNode</a> *&nbsp;</td>
<td class="paramname"> <em>refNode</em> </td>
<td>&nbsp;)&nbsp;</td>
<td width="100%"><code> [pure virtual]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<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 class="since" compact><dt><b>Since:</b></dt><dd>DOM Level 2 </dd></dl>
</div>
</div><p>
<a class="anchor" name="fac8fad87367742b7d8a28d618876d6b"></a><!-- doxytag: member="xercesc::DOMRange::setEndBefore" ref="fac8fad87367742b7d8a28d618876d6b" args="(const DOMNode *refNode)=0" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">virtual void xercesc::DOMRange::setEndBefore </td>
<td>(</td>
<td class="paramtype">const <a class="el" href="classxercesc_1_1DOMNode.html">DOMNode</a> *&nbsp;</td>
<td class="paramname"> <em>refNode</em> </td>
<td>&nbsp;)&nbsp;</td>
<td width="100%"><code> [pure virtual]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<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 class="since" compact><dt><b>Since:</b></dt><dd>DOM Level 2 </dd></dl>
</div>
</div><p>
<a class="anchor" name="0a86ad551674e72cf9f7b8e7192d6b57"></a><!-- doxytag: member="xercesc::DOMRange::setEndAfter" ref="0a86ad551674e72cf9f7b8e7192d6b57" args="(const DOMNode *refNode)=0" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">virtual void xercesc::DOMRange::setEndAfter </td>
<td>(</td>
<td class="paramtype">const <a class="el" href="classxercesc_1_1DOMNode.html">DOMNode</a> *&nbsp;</td>
<td class="paramname"> <em>refNode</em> </td>
<td>&nbsp;)&nbsp;</td>
<td width="100%"><code> [pure virtual]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<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 class="since" compact><dt><b>Since:</b></dt><dd>DOM Level 2 </dd></dl>
</div>
</div><p>
<a class="anchor" name="c67d1cbebf33de056c856763b2215886"></a><!-- doxytag: member="xercesc::DOMRange::collapse" ref="c67d1cbebf33de056c856763b2215886" args="(bool toStart)=0" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">virtual void xercesc::DOMRange::collapse </td>
<td>(</td>
<td class="paramtype">bool&nbsp;</td>
<td class="paramname"> <em>toStart</em> </td>
<td>&nbsp;)&nbsp;</td>
<td width="100%"><code> [pure virtual]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<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 class="since" compact><dt><b>Since:</b></dt><dd>DOM Level 2 </dd></dl>
</div>
</div><p>
<a class="anchor" name="ad306fc55a88c86089520fea19114937"></a><!-- doxytag: member="xercesc::DOMRange::selectNode" ref="ad306fc55a88c86089520fea19114937" args="(const DOMNode *refNode)=0" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">virtual void xercesc::DOMRange::selectNode </td>
<td>(</td>
<td class="paramtype">const <a class="el" href="classxercesc_1_1DOMNode.html">DOMNode</a> *&nbsp;</td>
<td class="paramname"> <em>refNode</em> </td>
<td>&nbsp;)&nbsp;</td>
<td width="100%"><code> [pure virtual]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<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 class="since" compact><dt><b>Since:</b></dt><dd>DOM Level 2 </dd></dl>
</div>
</div><p>
<a class="anchor" name="fb6889557d50f5aaa76304da409a9f5d"></a><!-- doxytag: member="xercesc::DOMRange::selectNodeContents" ref="fb6889557d50f5aaa76304da409a9f5d" args="(const DOMNode *refNode)=0" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">virtual void xercesc::DOMRange::selectNodeContents </td>
<td>(</td>
<td class="paramtype">const <a class="el" href="classxercesc_1_1DOMNode.html">DOMNode</a> *&nbsp;</td>
<td class="paramname"> <em>refNode</em> </td>
<td>&nbsp;)&nbsp;</td>
<td width="100%"><code> [pure virtual]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<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 class="since" compact><dt><b>Since:</b></dt><dd>DOM Level 2 </dd></dl>
</div>
</div><p>
<a class="anchor" name="c4eae1fd612570ced81e8ca2bf2e1445"></a><!-- doxytag: member="xercesc::DOMRange::compareBoundaryPoints" ref="c4eae1fd612570ced81e8ca2bf2e1445" args="(CompareHow how, const DOMRange *sourceRange) const =0" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">virtual short xercesc::DOMRange::compareBoundaryPoints </td>
<td>(</td>
<td class="paramtype"><a class="el" href="classxercesc_1_1DOMRange.html#a09aef968bc14cd4a17a64e9909c24a8">CompareHow</a>&nbsp;</td>
<td class="paramname"> <em>how</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const <a class="el" href="classxercesc_1_1DOMRange.html">DOMRange</a> *&nbsp;</td>
<td class="paramname"> <em>sourceRange</em></td><td>&nbsp;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td><td width="100%"> const<code> [pure virtual]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<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 class="return" 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 class="since" compact><dt><b>Since:</b></dt><dd>DOM Level 2 </dd></dl>
</div>
</div><p>
<a class="anchor" name="151aeca48596eda20500bfe4b1fe50bc"></a><!-- doxytag: member="xercesc::DOMRange::deleteContents" ref="151aeca48596eda20500bfe4b1fe50bc" args="()=0" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">virtual void xercesc::DOMRange::deleteContents </td>
<td>(</td>
<td class="paramname"> </td>
<td>&nbsp;)&nbsp;</td>
<td width="100%"><code> [pure virtual]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<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 class="since" compact><dt><b>Since:</b></dt><dd>DOM Level 2 </dd></dl>
</div>
</div><p>
<a class="anchor" name="36031cc656affc081fd231f4344f4ef6"></a><!-- doxytag: member="xercesc::DOMRange::extractContents" ref="36031cc656affc081fd231f4344f4ef6" args="()=0" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">virtual <a class="el" href="classxercesc_1_1DOMDocumentFragment.html">DOMDocumentFragment</a>* xercesc::DOMRange::extractContents </td>
<td>(</td>
<td class="paramname"> </td>
<td>&nbsp;)&nbsp;</td>
<td width="100%"><code> [pure virtual]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<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 class="return" 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 class="since" compact><dt><b>Since:</b></dt><dd>DOM Level 2 </dd></dl>
</div>
</div><p>
<a class="anchor" name="bb8c570eb7d2c7de7a7f6b6a39964d8e"></a><!-- doxytag: member="xercesc::DOMRange::cloneContents" ref="bb8c570eb7d2c7de7a7f6b6a39964d8e" args="() const=0" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">virtual <a class="el" href="classxercesc_1_1DOMDocumentFragment.html">DOMDocumentFragment</a>* xercesc::DOMRange::cloneContents </td>
<td>(</td>
<td class="paramname"> </td>
<td>&nbsp;)&nbsp;</td>
<td width="100%"> const<code> [pure virtual]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
Duplicates the contents of a Range.
<p>
<dl class="return" 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 class="since" compact><dt><b>Since:</b></dt><dd>DOM Level 2 </dd></dl>
</div>
</div><p>
<a class="anchor" name="e54835ad569bd500cc6166456c069d2f"></a><!-- doxytag: member="xercesc::DOMRange::insertNode" ref="e54835ad569bd500cc6166456c069d2f" args="(DOMNode *newNode)=0" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">virtual void xercesc::DOMRange::insertNode </td>
<td>(</td>
<td class="paramtype"><a class="el" href="classxercesc_1_1DOMNode.html">DOMNode</a> *&nbsp;</td>
<td class="paramname"> <em>newNode</em> </td>
<td>&nbsp;)&nbsp;</td>
<td width="100%"><code> [pure virtual]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<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 class="since" compact><dt><b>Since:</b></dt><dd>DOM Level 2 </dd></dl>
</div>
</div><p>
<a class="anchor" name="131a8c953b0e6dfa6abf39ed96551c2a"></a><!-- doxytag: member="xercesc::DOMRange::surroundContents" ref="131a8c953b0e6dfa6abf39ed96551c2a" args="(DOMNode *newParent)=0" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">virtual void xercesc::DOMRange::surroundContents </td>
<td>(</td>
<td class="paramtype"><a class="el" href="classxercesc_1_1DOMNode.html">DOMNode</a> *&nbsp;</td>
<td class="paramname"> <em>newParent</em> </td>
<td>&nbsp;)&nbsp;</td>
<td width="100%"><code> [pure virtual]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<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 class="since" compact><dt><b>Since:</b></dt><dd>DOM Level 2 </dd></dl>
</div>
</div><p>
<a class="anchor" name="f5cc6dd2af96f50aed4ba4f94de5b970"></a><!-- doxytag: member="xercesc::DOMRange::cloneRange" ref="f5cc6dd2af96f50aed4ba4f94de5b970" args="() const=0" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">virtual <a class="el" href="classxercesc_1_1DOMRange.html">DOMRange</a>* xercesc::DOMRange::cloneRange </td>
<td>(</td>
<td class="paramname"> </td>
<td>&nbsp;)&nbsp;</td>
<td width="100%"> const<code> [pure virtual]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
Produces a new Range whose boundary-points are equal to the boundary-points of the Range.
<p>
<dl class="return" 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 class="since" compact><dt><b>Since:</b></dt><dd>DOM Level 2 </dd></dl>
</div>
</div><p>
<a class="anchor" name="2f4e087981c88eb76f8fb5b747ace7c1"></a><!-- doxytag: member="xercesc::DOMRange::toString" ref="2f4e087981c88eb76f8fb5b747ace7c1" args="() const=0" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">virtual const XMLCh* xercesc::DOMRange::toString </td>
<td>(</td>
<td class="paramname"> </td>
<td>&nbsp;)&nbsp;</td>
<td width="100%"> const<code> [pure virtual]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
Returns the contents of a Range as a string.
<p>
This string contains only the data characters, not any markup. <dl class="return" 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 class="since" compact><dt><b>Since:</b></dt><dd>DOM Level 2 </dd></dl>
</div>
</div><p>
<a class="anchor" name="0cd4d64c7e08a3b72e12cd8eb06b6888"></a><!-- doxytag: member="xercesc::DOMRange::detach" ref="0cd4d64c7e08a3b72e12cd8eb06b6888" args="()=0" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">virtual void xercesc::DOMRange::detach </td>
<td>(</td>
<td class="paramname"> </td>
<td>&nbsp;)&nbsp;</td>
<td width="100%"><code> [pure virtual]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<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 class="since" compact><dt><b>Since:</b></dt><dd>DOM Level 2 </dd></dl>
</div>
</div><p>
<a class="anchor" name="bc2f073c570238ebc51d896e068b7333"></a><!-- doxytag: member="xercesc::DOMRange::release" ref="bc2f073c570238ebc51d896e068b7333" args="()=0" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">virtual void xercesc::DOMRange::release </td>
<td>(</td>
<td class="paramname"> </td>
<td>&nbsp;)&nbsp;</td>
<td width="100%"><code> [pure virtual]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<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.
</div>
</div><p>
<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>
<hr size="1"><address style="align: right;"><small>Generated on Wed Dec 12 20:17:14 2007 for XQilla DOM Level 3 API by&nbsp;
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.1 </small></address>
</body>
</html>