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

1238 lines
87 KiB
HTML
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<!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.8.5 -->
<div id="navrow1" class="tabs">
<ul class="tablist">
<li><a href="index.html"><span>Main&#160;Page</span></a></li>
<li><a href="namespaces.html"><span>Namespaces</span></a></li>
<li class="current"><a href="annotated.html"><span>Classes</span></a></li>
<li><a href="files.html"><span>Files</span></a></li>
<li><a href="examples.html"><span>Examples</span></a></li>
</ul>
</div>
<div id="navrow2" class="tabs2">
<ul class="tablist">
<li><a href="annotated.html"><span>Class&#160;List</span></a></li>
<li><a href="classes.html"><span>Class&#160;Index</span></a></li>
<li><a href="inherits.html"><span>Class&#160;Hierarchy</span></a></li>
<li><a href="functions.html"><span>Class&#160;Members</span></a></li>
</ul>
</div>
<div id="nav-path" class="navpath">
<ul>
<li class="navelem"><a class="el" href="namespacexercesc.html">xercesc</a></li><li class="navelem"><a class="el" href="classxercesc_1_1DOMRange.html">DOMRange</a></li> </ul>
</div>
</div><!-- top -->
<div class="header">
<div class="summary">
<a href="classxercesc_1_1DOMRange-members.html">List of all members</a> </div>
<div class="headertitle">
<div class="title">xercesc::DOMRange Class Reference<span class="mlabels"><span class="mlabel">abstract</span></span></div> </div>
</div><!--header-->
<div class="contents">
<p><code>#include &lt;<a class="el" href="DOMRange_8hpp_source.html">DOMRange.hpp</a>&gt;</code></p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-types"></a>
Public Types</h2></td></tr>
<tr><td colspan="2"><div class="groupHeader">Public Constants</div></td></tr>
<tr class="memitem:aa09aef968bc14cd4a17a64e9909c24a8"><td class="memItemLeft" align="right" valign="top">enum &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classxercesc_1_1DOMRange.html#aa09aef968bc14cd4a17a64e9909c24a8">CompareHow</a> { <a class="el" href="classxercesc_1_1DOMRange.html#aa09aef968bc14cd4a17a64e9909c24a8a9649fea7f983f05b75a95f22e16667f9">START_TO_START</a> = 0,
<a class="el" href="classxercesc_1_1DOMRange.html#aa09aef968bc14cd4a17a64e9909c24a8ac6b5ab309618a64b8a5b06de2ef91530">START_TO_END</a> = 1,
<a class="el" href="classxercesc_1_1DOMRange.html#aa09aef968bc14cd4a17a64e9909c24a8a60fca29ffc73ba8037e7e15a839a4019">END_TO_END</a> = 2,
<a class="el" href="classxercesc_1_1DOMRange.html#aa09aef968bc14cd4a17a64e9909c24a8a791b1951bc5f462ace1e30acc5a4c261">END_TO_START</a> = 3
}</td></tr>
<tr class="memdesc:aa09aef968bc14cd4a17a64e9909c24a8"><td class="mdescLeft">&#160;</td><td class="mdescRight">Constants CompareHow. <a href="classxercesc_1_1DOMRange.html#aa09aef968bc14cd4a17a64e9909c24a8">More...</a><br/></td></tr>
<tr class="separator:aa09aef968bc14cd4a17a64e9909c24a8"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr><td colspan="2"><div class="groupHeader">Destructor</div></td></tr>
<tr class="memitem:a6911af3e9b1a093ea192be117aa57119"><td class="memItemLeft" align="right" valign="top">virtual&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classxercesc_1_1DOMRange.html#a6911af3e9b1a093ea192be117aa57119">~DOMRange</a> ()</td></tr>
<tr class="memdesc:a6911af3e9b1a093ea192be117aa57119"><td class="mdescLeft">&#160;</td><td class="mdescRight">Destructor. <a href="#a6911af3e9b1a093ea192be117aa57119">More...</a><br/></td></tr>
<tr class="separator:a6911af3e9b1a093ea192be117aa57119"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr><td colspan="2"><div class="groupHeader">Functions introduced in DOM Level 2</div></td></tr>
<tr class="memitem:a5a31342429a993a2b5f857f702380416"><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="classxercesc_1_1DOMNode.html">DOMNode</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classxercesc_1_1DOMRange.html#a5a31342429a993a2b5f857f702380416">getStartContainer</a> () const =0</td></tr>
<tr class="memdesc:a5a31342429a993a2b5f857f702380416"><td class="mdescLeft">&#160;</td><td class="mdescRight"><a class="el" href="classxercesc_1_1DOMNode.html" title="The DOMNode interface is the primary datatype for the entire Document Object Model. ">DOMNode</a> within which the Range begins </p>
<dl class="exception"><dt>Exceptions</dt><dd>
<table class="exception">
<tr><td class="paramname"><a class="el" href="classxercesc_1_1DOMException.html">DOMException</a></td><td>INVALID_STATE_ERR: Raised if <code><a class="el" href="classxercesc_1_1DOMRange.html#a0cd4d64c7e08a3b72e12cd8eb06b6888" title="Called to indicate that the Range is no longer in use and that the implementation may relinquish any ...">detach()</a></code> has already been invoked on this object. </td></tr>
</table>
</dd>
</dl>
<a href="#a5a31342429a993a2b5f857f702380416">More...</a><br/></td></tr>
<tr class="separator:a5a31342429a993a2b5f857f702380416"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a2fac6cfdf4a53a0a2576ecdb22a9b6db"><td class="memItemLeft" align="right" valign="top">virtual XMLSize_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classxercesc_1_1DOMRange.html#a2fac6cfdf4a53a0a2576ecdb22a9b6db">getStartOffset</a> () const =0</td></tr>
<tr class="memdesc:a2fac6cfdf4a53a0a2576ecdb22a9b6db"><td class="mdescLeft">&#160;</td><td class="mdescRight">Offset within the starting node of the Range. <a href="#a2fac6cfdf4a53a0a2576ecdb22a9b6db">More...</a><br/></td></tr>
<tr class="separator:a2fac6cfdf4a53a0a2576ecdb22a9b6db"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a5298920b07a4b5c7972b7194ed8cb602"><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="classxercesc_1_1DOMNode.html">DOMNode</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classxercesc_1_1DOMRange.html#a5298920b07a4b5c7972b7194ed8cb602">getEndContainer</a> () const =0</td></tr>
<tr class="memdesc:a5298920b07a4b5c7972b7194ed8cb602"><td class="mdescLeft">&#160;</td><td class="mdescRight"><a class="el" href="classxercesc_1_1DOMNode.html" title="The DOMNode interface is the primary datatype for the entire Document Object Model. ">DOMNode</a> within which the Range ends </p>
<dl class="exception"><dt>Exceptions</dt><dd>
<table class="exception">
<tr><td class="paramname"><a class="el" href="classxercesc_1_1DOMException.html">DOMException</a></td><td>INVALID_STATE_ERR: Raised if <code><a class="el" href="classxercesc_1_1DOMRange.html#a0cd4d64c7e08a3b72e12cd8eb06b6888" title="Called to indicate that the Range is no longer in use and that the implementation may relinquish any ...">detach()</a></code> has already been invoked on this object. </td></tr>
</table>
</dd>
</dl>
<a href="#a5298920b07a4b5c7972b7194ed8cb602">More...</a><br/></td></tr>
<tr class="separator:a5298920b07a4b5c7972b7194ed8cb602"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a377b108202cf215059f1598666168b20"><td class="memItemLeft" align="right" valign="top">virtual XMLSize_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classxercesc_1_1DOMRange.html#a377b108202cf215059f1598666168b20">getEndOffset</a> () const =0</td></tr>
<tr class="memdesc:a377b108202cf215059f1598666168b20"><td class="mdescLeft">&#160;</td><td class="mdescRight">Offset within the ending node of the Range. <a href="#a377b108202cf215059f1598666168b20">More...</a><br/></td></tr>
<tr class="separator:a377b108202cf215059f1598666168b20"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aaa6ac9a07eb3a94b732ea1b7aa9109ed"><td class="memItemLeft" align="right" valign="top">virtual bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classxercesc_1_1DOMRange.html#aaa6ac9a07eb3a94b732ea1b7aa9109ed">getCollapsed</a> () const =0</td></tr>
<tr class="memdesc:aaa6ac9a07eb3a94b732ea1b7aa9109ed"><td class="mdescLeft">&#160;</td><td class="mdescRight">TRUE if the Range is collapsed </p>
<dl class="exception"><dt>Exceptions</dt><dd>
<table class="exception">
<tr><td class="paramname"><a class="el" href="classxercesc_1_1DOMException.html">DOMException</a></td><td>INVALID_STATE_ERR: Raised if <code><a class="el" href="classxercesc_1_1DOMRange.html#a0cd4d64c7e08a3b72e12cd8eb06b6888" title="Called to indicate that the Range is no longer in use and that the implementation may relinquish any ...">detach()</a></code> has already been invoked on this object. </td></tr>
</table>
</dd>
</dl>
<a href="#aaa6ac9a07eb3a94b732ea1b7aa9109ed">More...</a><br/></td></tr>
<tr class="separator:aaa6ac9a07eb3a94b732ea1b7aa9109ed"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a69837c26e44c82f917922b25f9239053"><td class="memItemLeft" align="right" valign="top">virtual const <a class="el" href="classxercesc_1_1DOMNode.html">DOMNode</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classxercesc_1_1DOMRange.html#a69837c26e44c82f917922b25f9239053">getCommonAncestorContainer</a> () const =0</td></tr>
<tr class="memdesc:a69837c26e44c82f917922b25f9239053"><td class="mdescLeft">&#160;</td><td class="mdescRight">The deepest common ancestor container of the Range's two boundary-points. <a href="#a69837c26e44c82f917922b25f9239053">More...</a><br/></td></tr>
<tr class="separator:a69837c26e44c82f917922b25f9239053"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a8eaad84f9c769745f44422a3aec5ee8d"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classxercesc_1_1DOMRange.html#a8eaad84f9c769745f44422a3aec5ee8d">setStart</a> (const <a class="el" href="classxercesc_1_1DOMNode.html">DOMNode</a> *refNode, XMLSize_t offset)=0</td></tr>
<tr class="memdesc:a8eaad84f9c769745f44422a3aec5ee8d"><td class="mdescLeft">&#160;</td><td class="mdescRight">Sets the attributes describing the start of the Range. <a href="#a8eaad84f9c769745f44422a3aec5ee8d">More...</a><br/></td></tr>
<tr class="separator:a8eaad84f9c769745f44422a3aec5ee8d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a33e63dc548fc8f452dc4662fc8ca05dd"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classxercesc_1_1DOMRange.html#a33e63dc548fc8f452dc4662fc8ca05dd">setEnd</a> (const <a class="el" href="classxercesc_1_1DOMNode.html">DOMNode</a> *refNode, XMLSize_t offset)=0</td></tr>
<tr class="memdesc:a33e63dc548fc8f452dc4662fc8ca05dd"><td class="mdescLeft">&#160;</td><td class="mdescRight">Sets the attributes describing the end of a Range. <a href="#a33e63dc548fc8f452dc4662fc8ca05dd">More...</a><br/></td></tr>
<tr class="separator:a33e63dc548fc8f452dc4662fc8ca05dd"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a04db3d0ff11e8153214797f618512ca9"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classxercesc_1_1DOMRange.html#a04db3d0ff11e8153214797f618512ca9">setStartBefore</a> (const <a class="el" href="classxercesc_1_1DOMNode.html">DOMNode</a> *refNode)=0</td></tr>
<tr class="memdesc:a04db3d0ff11e8153214797f618512ca9"><td class="mdescLeft">&#160;</td><td class="mdescRight">Sets the start position to be before a node. <a href="#a04db3d0ff11e8153214797f618512ca9">More...</a><br/></td></tr>
<tr class="separator:a04db3d0ff11e8153214797f618512ca9"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a960bd9c6f8fd16b92dc5629bf927424b"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classxercesc_1_1DOMRange.html#a960bd9c6f8fd16b92dc5629bf927424b">setStartAfter</a> (const <a class="el" href="classxercesc_1_1DOMNode.html">DOMNode</a> *refNode)=0</td></tr>
<tr class="memdesc:a960bd9c6f8fd16b92dc5629bf927424b"><td class="mdescLeft">&#160;</td><td class="mdescRight">Sets the start position to be after a node. <a href="#a960bd9c6f8fd16b92dc5629bf927424b">More...</a><br/></td></tr>
<tr class="separator:a960bd9c6f8fd16b92dc5629bf927424b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:afac8fad87367742b7d8a28d618876d6b"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classxercesc_1_1DOMRange.html#afac8fad87367742b7d8a28d618876d6b">setEndBefore</a> (const <a class="el" href="classxercesc_1_1DOMNode.html">DOMNode</a> *refNode)=0</td></tr>
<tr class="memdesc:afac8fad87367742b7d8a28d618876d6b"><td class="mdescLeft">&#160;</td><td class="mdescRight">Sets the end position to be before a node. <a href="#afac8fad87367742b7d8a28d618876d6b">More...</a><br/></td></tr>
<tr class="separator:afac8fad87367742b7d8a28d618876d6b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0a86ad551674e72cf9f7b8e7192d6b57"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classxercesc_1_1DOMRange.html#a0a86ad551674e72cf9f7b8e7192d6b57">setEndAfter</a> (const <a class="el" href="classxercesc_1_1DOMNode.html">DOMNode</a> *refNode)=0</td></tr>
<tr class="memdesc:a0a86ad551674e72cf9f7b8e7192d6b57"><td class="mdescLeft">&#160;</td><td class="mdescRight">Sets the end of a Range to be after a node. <a href="#a0a86ad551674e72cf9f7b8e7192d6b57">More...</a><br/></td></tr>
<tr class="separator:a0a86ad551674e72cf9f7b8e7192d6b57"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac67d1cbebf33de056c856763b2215886"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classxercesc_1_1DOMRange.html#ac67d1cbebf33de056c856763b2215886">collapse</a> (bool toStart)=0</td></tr>
<tr class="memdesc:ac67d1cbebf33de056c856763b2215886"><td class="mdescLeft">&#160;</td><td class="mdescRight">Collapse a Range onto one of its boundary-points. <a href="#ac67d1cbebf33de056c856763b2215886">More...</a><br/></td></tr>
<tr class="separator:ac67d1cbebf33de056c856763b2215886"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aad306fc55a88c86089520fea19114937"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classxercesc_1_1DOMRange.html#aad306fc55a88c86089520fea19114937">selectNode</a> (const <a class="el" href="classxercesc_1_1DOMNode.html">DOMNode</a> *refNode)=0</td></tr>
<tr class="memdesc:aad306fc55a88c86089520fea19114937"><td class="mdescLeft">&#160;</td><td class="mdescRight">Select a node and its contents. <a href="#aad306fc55a88c86089520fea19114937">More...</a><br/></td></tr>
<tr class="separator:aad306fc55a88c86089520fea19114937"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:afb6889557d50f5aaa76304da409a9f5d"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classxercesc_1_1DOMRange.html#afb6889557d50f5aaa76304da409a9f5d">selectNodeContents</a> (const <a class="el" href="classxercesc_1_1DOMNode.html">DOMNode</a> *refNode)=0</td></tr>
<tr class="memdesc:afb6889557d50f5aaa76304da409a9f5d"><td class="mdescLeft">&#160;</td><td class="mdescRight">Select the contents within a node. <a href="#afb6889557d50f5aaa76304da409a9f5d">More...</a><br/></td></tr>
<tr class="separator:afb6889557d50f5aaa76304da409a9f5d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac4eae1fd612570ced81e8ca2bf2e1445"><td class="memItemLeft" align="right" valign="top">virtual short&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classxercesc_1_1DOMRange.html#ac4eae1fd612570ced81e8ca2bf2e1445">compareBoundaryPoints</a> (<a class="el" href="classxercesc_1_1DOMRange.html#aa09aef968bc14cd4a17a64e9909c24a8">CompareHow</a> how, const <a class="el" href="classxercesc_1_1DOMRange.html">DOMRange</a> *sourceRange) const =0</td></tr>
<tr class="memdesc:ac4eae1fd612570ced81e8ca2bf2e1445"><td class="mdescLeft">&#160;</td><td class="mdescRight">Compare the boundary-points of two Ranges in a document. <a href="#ac4eae1fd612570ced81e8ca2bf2e1445">More...</a><br/></td></tr>
<tr class="separator:ac4eae1fd612570ced81e8ca2bf2e1445"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a151aeca48596eda20500bfe4b1fe50bc"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classxercesc_1_1DOMRange.html#a151aeca48596eda20500bfe4b1fe50bc">deleteContents</a> ()=0</td></tr>
<tr class="memdesc:a151aeca48596eda20500bfe4b1fe50bc"><td class="mdescLeft">&#160;</td><td class="mdescRight">Removes the contents of a Range from the containing document or document fragment without returning a reference to the removed content. <a href="#a151aeca48596eda20500bfe4b1fe50bc">More...</a><br/></td></tr>
<tr class="separator:a151aeca48596eda20500bfe4b1fe50bc"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a36031cc656affc081fd231f4344f4ef6"><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="classxercesc_1_1DOMDocumentFragment.html">DOMDocumentFragment</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classxercesc_1_1DOMRange.html#a36031cc656affc081fd231f4344f4ef6">extractContents</a> ()=0</td></tr>
<tr class="memdesc:a36031cc656affc081fd231f4344f4ef6"><td class="mdescLeft">&#160;</td><td class="mdescRight">Moves the contents of a Range from the containing document or document fragment to a new <a class="el" href="classxercesc_1_1DOMDocumentFragment.html" title="DOMDocumentFragment is a &quot;lightweight&quot; or &quot;minimal&quot; DOMDocument object. ">DOMDocumentFragment</a>. <a href="#a36031cc656affc081fd231f4344f4ef6">More...</a><br/></td></tr>
<tr class="separator:a36031cc656affc081fd231f4344f4ef6"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:abdc6a6f6174d7148dfba135b09edb850"><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="classxercesc_1_1DOMDocumentFragment.html">DOMDocumentFragment</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classxercesc_1_1DOMRange.html#abdc6a6f6174d7148dfba135b09edb850">cloneContents</a> () const =0</td></tr>
<tr class="memdesc:abdc6a6f6174d7148dfba135b09edb850"><td class="mdescLeft">&#160;</td><td class="mdescRight">Duplicates the contents of a Range. <a href="#abdc6a6f6174d7148dfba135b09edb850">More...</a><br/></td></tr>
<tr class="separator:abdc6a6f6174d7148dfba135b09edb850"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae54835ad569bd500cc6166456c069d2f"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classxercesc_1_1DOMRange.html#ae54835ad569bd500cc6166456c069d2f">insertNode</a> (<a class="el" href="classxercesc_1_1DOMNode.html">DOMNode</a> *newNode)=0</td></tr>
<tr class="memdesc:ae54835ad569bd500cc6166456c069d2f"><td class="mdescLeft">&#160;</td><td class="mdescRight">Inserts a node into the <a class="el" href="classxercesc_1_1DOMDocument.html" title="The DOMDocument interface represents the entire XML document. ">DOMDocument</a> or <a class="el" href="classxercesc_1_1DOMDocumentFragment.html" title="DOMDocumentFragment is a &quot;lightweight&quot; or &quot;minimal&quot; DOMDocument object. ">DOMDocumentFragment</a> at the start of the Range. <a href="#ae54835ad569bd500cc6166456c069d2f">More...</a><br/></td></tr>
<tr class="separator:ae54835ad569bd500cc6166456c069d2f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a131a8c953b0e6dfa6abf39ed96551c2a"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classxercesc_1_1DOMRange.html#a131a8c953b0e6dfa6abf39ed96551c2a">surroundContents</a> (<a class="el" href="classxercesc_1_1DOMNode.html">DOMNode</a> *newParent)=0</td></tr>
<tr class="memdesc:a131a8c953b0e6dfa6abf39ed96551c2a"><td class="mdescLeft">&#160;</td><td class="mdescRight">Reparents the contents of the Range to the given node and inserts the node at the position of the start of the Range. <a href="#a131a8c953b0e6dfa6abf39ed96551c2a">More...</a><br/></td></tr>
<tr class="separator:a131a8c953b0e6dfa6abf39ed96551c2a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af8c069b9162a05facb00cadb05baf395"><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="classxercesc_1_1DOMRange.html">DOMRange</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classxercesc_1_1DOMRange.html#af8c069b9162a05facb00cadb05baf395">cloneRange</a> () const =0</td></tr>
<tr class="memdesc:af8c069b9162a05facb00cadb05baf395"><td class="mdescLeft">&#160;</td><td class="mdescRight">Produces a new Range whose boundary-points are equal to the boundary-points of the Range. <a href="#af8c069b9162a05facb00cadb05baf395">More...</a><br/></td></tr>
<tr class="separator:af8c069b9162a05facb00cadb05baf395"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a74b794d8751ebc50f97451272f6ea5c3"><td class="memItemLeft" align="right" valign="top">virtual const XMLCh *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classxercesc_1_1DOMRange.html#a74b794d8751ebc50f97451272f6ea5c3">toString</a> () const =0</td></tr>
<tr class="memdesc:a74b794d8751ebc50f97451272f6ea5c3"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns the contents of a Range as a string. <a href="#a74b794d8751ebc50f97451272f6ea5c3">More...</a><br/></td></tr>
<tr class="separator:a74b794d8751ebc50f97451272f6ea5c3"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0cd4d64c7e08a3b72e12cd8eb06b6888"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classxercesc_1_1DOMRange.html#a0cd4d64c7e08a3b72e12cd8eb06b6888">detach</a> ()=0</td></tr>
<tr class="memdesc:a0cd4d64c7e08a3b72e12cd8eb06b6888"><td class="mdescLeft">&#160;</td><td class="mdescRight">Called to indicate that the Range is no longer in use and that the implementation may relinquish any resources associated with this Range. <a href="#a0cd4d64c7e08a3b72e12cd8eb06b6888">More...</a><br/></td></tr>
<tr class="separator:a0cd4d64c7e08a3b72e12cd8eb06b6888"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr><td colspan="2"><div class="groupHeader">Non-standard Extension</div></td></tr>
<tr class="memitem:abc2f073c570238ebc51d896e068b7333"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classxercesc_1_1DOMRange.html#abc2f073c570238ebc51d896e068b7333">release</a> ()=0</td></tr>
<tr class="memdesc:abc2f073c570238ebc51d896e068b7333"><td class="mdescLeft">&#160;</td><td class="mdescRight">Called to indicate that this Range is no longer in use and that the implementation may relinquish any resources associated with it. <a href="#abc2f073c570238ebc51d896e068b7333">More...</a><br/></td></tr>
<tr class="separator:abc2f073c570238ebc51d896e068b7333"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pro-methods"></a>
Protected Member Functions</h2></td></tr>
<tr><td colspan="2"><div class="groupHeader">Hidden constructors</div></td></tr>
<tr class="memitem:a55cc14fcbe9b32c109689bc33f7ca425"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classxercesc_1_1DOMRange.html#a55cc14fcbe9b32c109689bc33f7ca425">DOMRange</a> ()</td></tr>
<tr class="separator:a55cc14fcbe9b32c109689bc33f7ca425"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a53db0c08257f4bbeb3b9597f656dd31d"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classxercesc_1_1DOMRange.html#a53db0c08257f4bbeb3b9597f656dd31d">DOMRange</a> (const <a class="el" href="classxercesc_1_1DOMRange.html">DOMRange</a> &amp;)</td></tr>
<tr class="separator:a53db0c08257f4bbeb3b9597f656dd31d"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><p>See also the <a href="http://www.w3.org/TR/2000/REC-DOM-Level-2-Traversal-Range-20001113">Document Object Model (DOM) Level 2 Traversal and Range Specification</a>. </p>
<dl class="section since"><dt>Since</dt><dd>DOM Level 2 </dd></dl>
</div><h2 class="groupheader">Member Enumeration Documentation</h2>
<a class="anchor" id="aa09aef968bc14cd4a17a64e9909c24a8"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">enum <a class="el" href="classxercesc_1_1DOMRange.html#aa09aef968bc14cd4a17a64e9909c24a8">xercesc::DOMRange::CompareHow</a></td>
</tr>
</table>
</div><div class="memdoc">
<p>Constants CompareHow. </p>
<p><code>START_TO_START:</code> Compare start boundary-point of <code>sourceRange</code> to start boundary-point of Range on which <code>compareBoundaryPoints</code> is invoked.</p>
<p><code>START_TO_END:</code> Compare start boundary-point of <code>sourceRange</code> to end boundary-point of Range on which <code>compareBoundaryPoints</code> is invoked.</p>
<p><code>END_TO_END:</code> Compare end boundary-point of <code>sourceRange</code> to end boundary-point of Range on which <code>compareBoundaryPoints</code> is invoked.</p>
<p><code>END_TO_START:</code> Compare end boundary-point of <code>sourceRange</code> to start boundary-point of Range on which <code>compareBoundaryPoints</code> is invoked.</p>
<dl class="section since"><dt>Since</dt><dd>DOM Level 2 </dd></dl>
<table class="fieldtable">
<tr><th colspan="2">Enumerator</th></tr><tr><td class="fieldname"><em><a class="anchor" id="aa09aef968bc14cd4a17a64e9909c24a8a9649fea7f983f05b75a95f22e16667f9"></a>START_TO_START</em>&nbsp;</td><td class="fielddoc">
</td></tr>
<tr><td class="fieldname"><em><a class="anchor" id="aa09aef968bc14cd4a17a64e9909c24a8ac6b5ab309618a64b8a5b06de2ef91530"></a>START_TO_END</em>&nbsp;</td><td class="fielddoc">
</td></tr>
<tr><td class="fieldname"><em><a class="anchor" id="aa09aef968bc14cd4a17a64e9909c24a8a60fca29ffc73ba8037e7e15a839a4019"></a>END_TO_END</em>&nbsp;</td><td class="fielddoc">
</td></tr>
<tr><td class="fieldname"><em><a class="anchor" id="aa09aef968bc14cd4a17a64e9909c24a8a791b1951bc5f462ace1e30acc5a4c261"></a>END_TO_START</em>&nbsp;</td><td class="fielddoc">
</td></tr>
</table>
</div>
</div>
<h2 class="groupheader">Constructor &amp; Destructor Documentation</h2>
<a class="anchor" id="a55cc14fcbe9b32c109689bc33f7ca425"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">xercesc::DOMRange::DOMRange </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">protected</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
</div>
</div>
<a class="anchor" id="a53db0c08257f4bbeb3b9597f656dd31d"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<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;&#160;</td>
<td class="paramname"></td><td>)</td>
<td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">protected</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
</div>
</div>
<a class="anchor" id="a6911af3e9b1a093ea192be117aa57119"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">virtual xercesc::DOMRange::~DOMRange </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">virtual</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Destructor. </p>
</div>
</div>
<h2 class="groupheader">Member Function Documentation</h2>
<a class="anchor" id="abdc6a6f6174d7148dfba135b09edb850"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<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>)</td>
<td> const</td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">pure virtual</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Duplicates the contents of a Range. </p>
<dl class="section return"><dt>Returns</dt><dd>A <a class="el" href="classxercesc_1_1DOMDocumentFragment.html" title="DOMDocumentFragment is a &quot;lightweight&quot; or &quot;minimal&quot; DOMDocument object. ">DOMDocumentFragment</a> that contains content equivalent to this Range. </dd></dl>
<dl class="exception"><dt>Exceptions</dt><dd>
<table class="exception">
<tr><td class="paramname"><a class="el" href="classxercesc_1_1DOMException.html">DOMException</a></td><td>HIERARCHY_REQUEST_ERR: Raised if a <a class="el" href="classxercesc_1_1DOMDocumentType.html" title="Each DOMDocument has a doctype attribute whose value is either null or a DOMDocumentType object...">DOMDocumentType</a> node would be extracted into the new <a class="el" href="classxercesc_1_1DOMDocumentFragment.html" title="DOMDocumentFragment is a &quot;lightweight&quot; or &quot;minimal&quot; DOMDocument object. ">DOMDocumentFragment</a>. <br/>
INVALID_STATE_ERR: Raised if <code><a class="el" href="classxercesc_1_1DOMRange.html#a0cd4d64c7e08a3b72e12cd8eb06b6888" title="Called to indicate that the Range is no longer in use and that the implementation may relinquish any ...">detach()</a></code> has already been invoked on this object.</td></tr>
</table>
</dd>
</dl>
<dl class="section since"><dt>Since</dt><dd>DOM Level 2 </dd></dl>
</div>
</div>
<a class="anchor" id="af8c069b9162a05facb00cadb05baf395"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<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>)</td>
<td> const</td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">pure virtual</span></span> </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="section return"><dt>Returns</dt><dd>The duplicated Range. </dd></dl>
<dl class="exception"><dt>Exceptions</dt><dd>
<table class="exception">
<tr><td class="paramname"><a class="el" href="classxercesc_1_1DOMException.html">DOMException</a></td><td>INVALID_STATE_ERR: Raised if <code><a class="el" href="classxercesc_1_1DOMRange.html#a0cd4d64c7e08a3b72e12cd8eb06b6888" title="Called to indicate that the Range is no longer in use and that the implementation may relinquish any ...">detach()</a></code> has already been invoked on this object.</td></tr>
</table>
</dd>
</dl>
<dl class="section since"><dt>Since</dt><dd>DOM Level 2 </dd></dl>
</div>
</div>
<a class="anchor" id="ac67d1cbebf33de056c856763b2215886"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">virtual void xercesc::DOMRange::collapse </td>
<td>(</td>
<td class="paramtype">bool&#160;</td>
<td class="paramname"><em>toStart</em></td><td>)</td>
<td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">pure virtual</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Collapse a Range onto one of its boundary-points. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">toStart</td><td>If TRUE, collapses the Range onto its start; if FALSE, collapses it onto its end. </td></tr>
</table>
</dd>
</dl>
<dl class="exception"><dt>Exceptions</dt><dd>
<table class="exception">
<tr><td class="paramname"><a class="el" href="classxercesc_1_1DOMException.html">DOMException</a></td><td>INVALID_STATE_ERR: Raised if <code><a class="el" href="classxercesc_1_1DOMRange.html#a0cd4d64c7e08a3b72e12cd8eb06b6888" title="Called to indicate that the Range is no longer in use and that the implementation may relinquish any ...">detach()</a></code> has already been invoked on this object.</td></tr>
</table>
</dd>
</dl>
<dl class="section since"><dt>Since</dt><dd>DOM Level 2 </dd></dl>
</div>
</div>
<a class="anchor" id="ac4eae1fd612570ced81e8ca2bf2e1445"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<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#aa09aef968bc14cd4a17a64e9909c24a8">CompareHow</a>&#160;</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> *&#160;</td>
<td class="paramname"><em>sourceRange</em>&#160;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td> const</td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">pure virtual</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Compare the boundary-points of two Ranges in a document. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">how</td><td>A code representing the type of comparison, as defined above. </td></tr>
<tr><td class="paramname">sourceRange</td><td>The <code>Range</code> on which this current <code>Range</code> is compared to. </td></tr>
</table>
</dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>-1, 0 or 1 depending on whether the corresponding boundary-point of the Range is respectively before, equal to, or after the corresponding boundary-point of <code>sourceRange</code>. </dd></dl>
<dl class="exception"><dt>Exceptions</dt><dd>
<table class="exception">
<tr><td class="paramname"><a class="el" href="classxercesc_1_1DOMException.html">DOMException</a></td><td>WRONG_DOCUMENT_ERR: Raised if the two Ranges are not in the same <a class="el" href="classxercesc_1_1DOMDocument.html" title="The DOMDocument interface represents the entire XML document. ">DOMDocument</a> or <a class="el" href="classxercesc_1_1DOMDocumentFragment.html" title="DOMDocumentFragment is a &quot;lightweight&quot; or &quot;minimal&quot; DOMDocument object. ">DOMDocumentFragment</a>. <br/>
INVALID_STATE_ERR: Raised if <code><a class="el" href="classxercesc_1_1DOMRange.html#a0cd4d64c7e08a3b72e12cd8eb06b6888" title="Called to indicate that the Range is no longer in use and that the implementation may relinquish any ...">detach()</a></code> has already been invoked on this object.</td></tr>
</table>
</dd>
</dl>
<dl class="section since"><dt>Since</dt><dd>DOM Level 2 </dd></dl>
</div>
</div>
<a class="anchor" id="a151aeca48596eda20500bfe4b1fe50bc"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">virtual void xercesc::DOMRange::deleteContents </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">pure virtual</span></span> </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 class="exception"><dt>Exceptions</dt><dd>
<table class="exception">
<tr><td class="paramname"><a class="el" href="classxercesc_1_1DOMException.html">DOMException</a></td><td>NO_MODIFICATION_ALLOWED_ERR: Raised if any portion of the content of the Range is read-only or any of the nodes that contain any of the content of the Range are read-only. <br/>
INVALID_STATE_ERR: Raised if <code><a class="el" href="classxercesc_1_1DOMRange.html#a0cd4d64c7e08a3b72e12cd8eb06b6888" title="Called to indicate that the Range is no longer in use and that the implementation may relinquish any ...">detach()</a></code> has already been invoked on this object.</td></tr>
</table>
</dd>
</dl>
<dl class="section since"><dt>Since</dt><dd>DOM Level 2 </dd></dl>
</div>
</div>
<a class="anchor" id="a0cd4d64c7e08a3b72e12cd8eb06b6888"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">virtual void xercesc::DOMRange::detach </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">pure virtual</span></span> </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>
<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>. </p>
<dl class="exception"><dt>Exceptions</dt><dd>
<table class="exception">
<tr><td class="paramname"><a class="el" href="classxercesc_1_1DOMException.html">DOMException</a></td><td>INVALID_STATE_ERR: Raised if <code><a class="el" href="classxercesc_1_1DOMRange.html#a0cd4d64c7e08a3b72e12cd8eb06b6888" title="Called to indicate that the Range is no longer in use and that the implementation may relinquish any ...">detach()</a></code> has already been invoked on this object.</td></tr>
</table>
</dd>
</dl>
<dl class="section since"><dt>Since</dt><dd>DOM Level 2 </dd></dl>
</div>
</div>
<a class="anchor" id="a36031cc656affc081fd231f4344f4ef6"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<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>)</td>
<td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">pure virtual</span></span> </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" title="DOMDocumentFragment is a &quot;lightweight&quot; or &quot;minimal&quot; DOMDocument object. ">DOMDocumentFragment</a>. </p>
<dl class="section return"><dt>Returns</dt><dd>A <a class="el" href="classxercesc_1_1DOMDocumentFragment.html" title="DOMDocumentFragment is a &quot;lightweight&quot; or &quot;minimal&quot; DOMDocument object. ">DOMDocumentFragment</a> containing the extracted contents. </dd></dl>
<dl class="exception"><dt>Exceptions</dt><dd>
<table class="exception">
<tr><td class="paramname"><a class="el" href="classxercesc_1_1DOMException.html">DOMException</a></td><td>NO_MODIFICATION_ALLOWED_ERR: Raised if any portion of the content of the Range is read-only or any of the nodes which contain any of the content of the Range are read-only. <br/>
HIERARCHY_REQUEST_ERR: Raised if a <a class="el" href="classxercesc_1_1DOMDocumentType.html" title="Each DOMDocument has a doctype attribute whose value is either null or a DOMDocumentType object...">DOMDocumentType</a> node would be extracted into the new <a class="el" href="classxercesc_1_1DOMDocumentFragment.html" title="DOMDocumentFragment is a &quot;lightweight&quot; or &quot;minimal&quot; DOMDocument object. ">DOMDocumentFragment</a>. <br/>
INVALID_STATE_ERR: Raised if <code><a class="el" href="classxercesc_1_1DOMRange.html#a0cd4d64c7e08a3b72e12cd8eb06b6888" title="Called to indicate that the Range is no longer in use and that the implementation may relinquish any ...">detach()</a></code> has already been invoked on this object.</td></tr>
</table>
</dd>
</dl>
<dl class="section since"><dt>Since</dt><dd>DOM Level 2 </dd></dl>
</div>
</div>
<a class="anchor" id="aaa6ac9a07eb3a94b732ea1b7aa9109ed"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">virtual bool xercesc::DOMRange::getCollapsed </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td> const</td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">pure virtual</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>TRUE if the Range is collapsed </p>
<dl class="exception"><dt>Exceptions</dt><dd>
<table class="exception">
<tr><td class="paramname"><a class="el" href="classxercesc_1_1DOMException.html">DOMException</a></td><td>INVALID_STATE_ERR: Raised if <code><a class="el" href="classxercesc_1_1DOMRange.html#a0cd4d64c7e08a3b72e12cd8eb06b6888" title="Called to indicate that the Range is no longer in use and that the implementation may relinquish any ...">detach()</a></code> has already been invoked on this object. </td></tr>
</table>
</dd>
</dl>
</p>
<dl class="section since"><dt>Since</dt><dd>DOM Level 2 </dd></dl>
</div>
</div>
<a class="anchor" id="a69837c26e44c82f917922b25f9239053"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<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>)</td>
<td> const</td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">pure virtual</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>The deepest common ancestor container of the Range's two boundary-points. </p>
<dl class="exception"><dt>Exceptions</dt><dd>
<table class="exception">
<tr><td class="paramname"><a class="el" href="classxercesc_1_1DOMException.html">DOMException</a></td><td>INVALID_STATE_ERR: Raised if <code><a class="el" href="classxercesc_1_1DOMRange.html#a0cd4d64c7e08a3b72e12cd8eb06b6888" title="Called to indicate that the Range is no longer in use and that the implementation may relinquish any ...">detach()</a></code> has already been invoked on this object.</td></tr>
</table>
</dd>
</dl>
<dl class="section since"><dt>Since</dt><dd>DOM Level 2 </dd></dl>
</div>
</div>
<a class="anchor" id="a5298920b07a4b5c7972b7194ed8cb602"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<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>)</td>
<td> const</td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">pure virtual</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p><a class="el" href="classxercesc_1_1DOMNode.html" title="The DOMNode interface is the primary datatype for the entire Document Object Model. ">DOMNode</a> within which the Range ends </p>
<dl class="exception"><dt>Exceptions</dt><dd>
<table class="exception">
<tr><td class="paramname"><a class="el" href="classxercesc_1_1DOMException.html">DOMException</a></td><td>INVALID_STATE_ERR: Raised if <code><a class="el" href="classxercesc_1_1DOMRange.html#a0cd4d64c7e08a3b72e12cd8eb06b6888" title="Called to indicate that the Range is no longer in use and that the implementation may relinquish any ...">detach()</a></code> has already been invoked on this object. </td></tr>
</table>
</dd>
</dl>
</p>
<dl class="section since"><dt>Since</dt><dd>DOM Level 2 </dd></dl>
</div>
</div>
<a class="anchor" id="a377b108202cf215059f1598666168b20"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">virtual XMLSize_t xercesc::DOMRange::getEndOffset </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td> const</td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">pure virtual</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Offset within the ending node of the Range. </p>
<dl class="exception"><dt>Exceptions</dt><dd>
<table class="exception">
<tr><td class="paramname"><a class="el" href="classxercesc_1_1DOMException.html">DOMException</a></td><td>INVALID_STATE_ERR: Raised if <code><a class="el" href="classxercesc_1_1DOMRange.html#a0cd4d64c7e08a3b72e12cd8eb06b6888" title="Called to indicate that the Range is no longer in use and that the implementation may relinquish any ...">detach()</a></code> has already been invoked on this object.</td></tr>
</table>
</dd>
</dl>
<dl class="section since"><dt>Since</dt><dd>DOM Level 2 </dd></dl>
</div>
</div>
<a class="anchor" id="a5a31342429a993a2b5f857f702380416"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<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>)</td>
<td> const</td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">pure virtual</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p><a class="el" href="classxercesc_1_1DOMNode.html" title="The DOMNode interface is the primary datatype for the entire Document Object Model. ">DOMNode</a> within which the Range begins </p>
<dl class="exception"><dt>Exceptions</dt><dd>
<table class="exception">
<tr><td class="paramname"><a class="el" href="classxercesc_1_1DOMException.html">DOMException</a></td><td>INVALID_STATE_ERR: Raised if <code><a class="el" href="classxercesc_1_1DOMRange.html#a0cd4d64c7e08a3b72e12cd8eb06b6888" title="Called to indicate that the Range is no longer in use and that the implementation may relinquish any ...">detach()</a></code> has already been invoked on this object. </td></tr>
</table>
</dd>
</dl>
</p>
<dl class="section since"><dt>Since</dt><dd>DOM Level 2 </dd></dl>
</div>
</div>
<a class="anchor" id="a2fac6cfdf4a53a0a2576ecdb22a9b6db"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">virtual XMLSize_t xercesc::DOMRange::getStartOffset </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td> const</td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">pure virtual</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Offset within the starting node of the Range. </p>
<dl class="exception"><dt>Exceptions</dt><dd>
<table class="exception">
<tr><td class="paramname"><a class="el" href="classxercesc_1_1DOMException.html">DOMException</a></td><td>INVALID_STATE_ERR: Raised if <code><a class="el" href="classxercesc_1_1DOMRange.html#a0cd4d64c7e08a3b72e12cd8eb06b6888" title="Called to indicate that the Range is no longer in use and that the implementation may relinquish any ...">detach()</a></code> has already been invoked on this object.</td></tr>
</table>
</dd>
</dl>
<dl class="section since"><dt>Since</dt><dd>DOM Level 2 </dd></dl>
</div>
</div>
<a class="anchor" id="ae54835ad569bd500cc6166456c069d2f"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<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> *&#160;</td>
<td class="paramname"><em>newNode</em></td><td>)</td>
<td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">pure virtual</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Inserts a node into the <a class="el" href="classxercesc_1_1DOMDocument.html" title="The DOMDocument interface represents the entire XML document. ">DOMDocument</a> or <a class="el" href="classxercesc_1_1DOMDocumentFragment.html" title="DOMDocumentFragment is a &quot;lightweight&quot; or &quot;minimal&quot; DOMDocument object. ">DOMDocumentFragment</a> at the start of the Range. </p>
<p>If the container is a <a class="el" href="classxercesc_1_1DOMText.html" title="The DOMText interface inherits from DOMCharacterData and represents the textual content (termed chara...">DOMText</a> node, this will be split at the start of the Range (as if the <a class="el" href="classxercesc_1_1DOMText.html" title="The DOMText interface inherits from DOMCharacterData and represents the textual content (termed chara...">DOMText</a> node's splitText method was performed at the insertion point) and the insertion will occur between the two resulting <a class="el" href="classxercesc_1_1DOMText.html" title="The DOMText interface inherits from DOMCharacterData and represents the textual content (termed chara...">DOMText</a> nodes. Adjacent <a class="el" href="classxercesc_1_1DOMText.html" title="The DOMText interface inherits from DOMCharacterData and represents the textual content (termed chara...">DOMText</a> nodes will not be automatically merged. If the node to be inserted is a <a class="el" href="classxercesc_1_1DOMDocumentFragment.html" title="DOMDocumentFragment is a &quot;lightweight&quot; or &quot;minimal&quot; DOMDocument object. ">DOMDocumentFragment</a> node, the children will be inserted rather than the <a class="el" href="classxercesc_1_1DOMDocumentFragment.html" title="DOMDocumentFragment is a &quot;lightweight&quot; or &quot;minimal&quot; DOMDocument object. ">DOMDocumentFragment</a> node itself. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">newNode</td><td>The node to insert at the start of the Range </td></tr>
</table>
</dd>
</dl>
<dl class="exception"><dt>Exceptions</dt><dd>
<table class="exception">
<tr><td class="paramname"><a class="el" href="classxercesc_1_1DOMException.html">DOMException</a></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#a0cd4d64c7e08a3b72e12cd8eb06b6888" title="Called to indicate that the Range is no longer in use and that the implementation may relinquish any ...">detach()</a></code> has already been invoked on this object. </td></tr>
<tr><td class="paramname"><a class="el" href="classxercesc_1_1DOMRangeException.html" title="Range operations may throw a DOMRangeException as specified in their method descriptions. ">DOMRangeException</a></td><td>INVALID_NODE_TYPE_ERR: Raised if <code>newNode</code> is an <a class="el" href="classxercesc_1_1DOMAttr.html" title="The DOMAttr class refers to an attribute of an XML element. ">DOMAttr</a>, <a class="el" href="classxercesc_1_1DOMEntity.html" title="This interface represents an entity, either parsed or unparsed, in an XML document. ">DOMEntity</a>, <a class="el" href="classxercesc_1_1DOMNotation.html" title="This interface represents a notation declared in the DTD. ">DOMNotation</a>, or <a class="el" href="classxercesc_1_1DOMDocument.html" title="The DOMDocument interface represents the entire XML document. ">DOMDocument</a> node.</td></tr>
</table>
</dd>
</dl>
<dl class="section since"><dt>Since</dt><dd>DOM Level 2 </dd></dl>
</div>
</div>
<a class="anchor" id="abc2f073c570238ebc51d896e068b7333"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">virtual void xercesc::DOMRange::release </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">pure virtual</span></span> </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>
<p>(<a class="el" href="classxercesc_1_1DOMRange.html#abc2f073c570238ebc51d896e068b7333" title="Called to indicate that this Range is no longer in use and that the implementation may relinquish any...">release()</a> will call <a class="el" href="classxercesc_1_1DOMRange.html#a0cd4d64c7e08a3b72e12cd8eb06b6888" title="Called to indicate that the Range is no longer in use and that the implementation may relinquish any ...">detach()</a> where appropriate)</p>
<p>Access to a released object will lead to unexpected result. </p>
</div>
</div>
<a class="anchor" id="aad306fc55a88c86089520fea19114937"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<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> *&#160;</td>
<td class="paramname"><em>refNode</em></td><td>)</td>
<td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">pure virtual</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Select a node and its contents. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">refNode</td><td>The node to select. </td></tr>
</table>
</dd>
</dl>
<dl class="exception"><dt>Exceptions</dt><dd>
<table class="exception">
<tr><td class="paramname"><a class="el" href="classxercesc_1_1DOMRangeException.html" title="Range operations may throw a DOMRangeException as specified in their method descriptions. ">DOMRangeException</a></td><td>INVALID_NODE_TYPE_ERR: Raised if an ancestor of <code>refNode</code> is an <a class="el" href="classxercesc_1_1DOMEntity.html" title="This interface represents an entity, either parsed or unparsed, in an XML document. ">DOMEntity</a>, <a class="el" href="classxercesc_1_1DOMNotation.html" title="This interface represents a notation declared in the DTD. ">DOMNotation</a> or <a class="el" href="classxercesc_1_1DOMDocumentType.html" title="Each DOMDocument has a doctype attribute whose value is either null or a DOMDocumentType object...">DOMDocumentType</a> node or if <code>refNode</code> is a <a class="el" href="classxercesc_1_1DOMDocument.html" title="The DOMDocument interface represents the entire XML document. ">DOMDocument</a>, <a class="el" href="classxercesc_1_1DOMDocumentFragment.html" title="DOMDocumentFragment is a &quot;lightweight&quot; or &quot;minimal&quot; DOMDocument object. ">DOMDocumentFragment</a>, <a class="el" href="classxercesc_1_1DOMAttr.html" title="The DOMAttr class refers to an attribute of an XML element. ">DOMAttr</a>, <a class="el" href="classxercesc_1_1DOMEntity.html" title="This interface represents an entity, either parsed or unparsed, in an XML document. ">DOMEntity</a>, or <a class="el" href="classxercesc_1_1DOMNotation.html" title="This interface represents a notation declared in the DTD. ">DOMNotation</a> node. </td></tr>
<tr><td class="paramname"><a class="el" href="classxercesc_1_1DOMException.html">DOMException</a></td><td>INVALID_STATE_ERR: Raised if <code><a class="el" href="classxercesc_1_1DOMRange.html#a0cd4d64c7e08a3b72e12cd8eb06b6888" title="Called to indicate that the Range is no longer in use and that the implementation may relinquish any ...">detach()</a></code> has already been invoked on this object. <br/>
WRONG_DOCUMENT_ERR: Raised if <code>refNode</code> was created from a different document than the one that created this range.</td></tr>
</table>
</dd>
</dl>
<dl class="section since"><dt>Since</dt><dd>DOM Level 2 </dd></dl>
</div>
</div>
<a class="anchor" id="afb6889557d50f5aaa76304da409a9f5d"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<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> *&#160;</td>
<td class="paramname"><em>refNode</em></td><td>)</td>
<td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">pure virtual</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Select the contents within a node. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">refNode</td><td><a class="el" href="classxercesc_1_1DOMNode.html" title="The DOMNode interface is the primary datatype for the entire Document Object Model. ">DOMNode</a> to select from </td></tr>
</table>
</dd>
</dl>
<dl class="exception"><dt>Exceptions</dt><dd>
<table class="exception">
<tr><td class="paramname"><a class="el" href="classxercesc_1_1DOMRangeException.html" title="Range operations may throw a DOMRangeException as specified in their method descriptions. ">DOMRangeException</a></td><td>INVALID_NODE_TYPE_ERR: Raised if <code>refNode</code> or an ancestor of <code>refNode</code> is an <a class="el" href="classxercesc_1_1DOMEntity.html" title="This interface represents an entity, either parsed or unparsed, in an XML document. ">DOMEntity</a>, <a class="el" href="classxercesc_1_1DOMNotation.html" title="This interface represents a notation declared in the DTD. ">DOMNotation</a> or <a class="el" href="classxercesc_1_1DOMDocumentType.html" title="Each DOMDocument has a doctype attribute whose value is either null or a DOMDocumentType object...">DOMDocumentType</a> node. </td></tr>
<tr><td class="paramname"><a class="el" href="classxercesc_1_1DOMException.html">DOMException</a></td><td>INVALID_STATE_ERR: Raised if <code><a class="el" href="classxercesc_1_1DOMRange.html#a0cd4d64c7e08a3b72e12cd8eb06b6888" title="Called to indicate that the Range is no longer in use and that the implementation may relinquish any ...">detach()</a></code> has already been invoked on this object. <br/>
WRONG_DOCUMENT_ERR: Raised if <code>refNode</code> was created from a different document than the one that created this range.</td></tr>
</table>
</dd>
</dl>
<dl class="section since"><dt>Since</dt><dd>DOM Level 2 </dd></dl>
</div>
</div>
<a class="anchor" id="a33e63dc548fc8f452dc4662fc8ca05dd"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<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> *&#160;</td>
<td class="paramname"><em>refNode</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">XMLSize_t&#160;</td>
<td class="paramname"><em>offset</em>&#160;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">pure virtual</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Sets the attributes describing the end of a Range. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">refNode</td><td>The <code>refNode</code> value. This parameter must be different from <code>null</code>. </td></tr>
<tr><td class="paramname">offset</td><td>The <code>endOffset</code> value. </td></tr>
</table>
</dd>
</dl>
<dl class="exception"><dt>Exceptions</dt><dd>
<table class="exception">
<tr><td class="paramname"><a class="el" href="classxercesc_1_1DOMRangeException.html" title="Range operations may throw a DOMRangeException as specified in their method descriptions. ">DOMRangeException</a></td><td>INVALID_NODE_TYPE_ERR: Raised if <code>refNode</code> or an ancestor of <code>refNode</code> is an <a class="el" href="classxercesc_1_1DOMEntity.html" title="This interface represents an entity, either parsed or unparsed, in an XML document. ">DOMEntity</a>, <a class="el" href="classxercesc_1_1DOMNotation.html" title="This interface represents a notation declared in the DTD. ">DOMNotation</a>, or <a class="el" href="classxercesc_1_1DOMDocumentType.html" title="Each DOMDocument has a doctype attribute whose value is either null or a DOMDocumentType object...">DOMDocumentType</a> node. </td></tr>
<tr><td class="paramname"><a class="el" href="classxercesc_1_1DOMException.html">DOMException</a></td><td>INDEX_SIZE_ERR: Raised if <code>offset</code> is negative or greater than the number of child units in <code>refNode</code>. Child units are 16-bit units if <code>refNode</code> is a type of <a class="el" href="classxercesc_1_1DOMCharacterData.html" title="The DOMCharacterData interface extends DOMNode with a set of attributes and methods for accessing cha...">DOMCharacterData</a> node (e.g., a <a class="el" href="classxercesc_1_1DOMText.html" title="The DOMText interface inherits from DOMCharacterData and represents the textual content (termed chara...">DOMText</a> or <a class="el" href="classxercesc_1_1DOMComment.html" title="This interface inherits from CharacterData and represents the content of a comment, i.e., all the characters between the starting &#39; &lt;!&#39; and ending &#39;&gt;&#39;. ">DOMComment</a> node) or a <a class="el" href="classxercesc_1_1DOMProcessingInstruction.html" title="The DOMProcessingInstruction interface represents a &quot;processing instruction&quot;, used in XML as a way to...">DOMProcessingInstruction</a> node. Child units are Nodes in all other cases. <br/>
INVALID_STATE_ERR: Raised if <code><a class="el" href="classxercesc_1_1DOMRange.html#a0cd4d64c7e08a3b72e12cd8eb06b6888" title="Called to indicate that the Range is no longer in use and that the implementation may relinquish any ...">detach()</a></code> has already been invoked on this object. <br/>
WRONG_DOCUMENT_ERR: Raised if <code>refNode</code> was created from a different document than the one that created this range.</td></tr>
</table>
</dd>
</dl>
<dl class="section since"><dt>Since</dt><dd>DOM Level 2 </dd></dl>
</div>
</div>
<a class="anchor" id="a0a86ad551674e72cf9f7b8e7192d6b57"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<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> *&#160;</td>
<td class="paramname"><em>refNode</em></td><td>)</td>
<td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">pure virtual</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Sets the end of a Range to be after a node. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">refNode</td><td>Range ends after <code>refNode</code>. </td></tr>
</table>
</dd>
</dl>
<dl class="exception"><dt>Exceptions</dt><dd>
<table class="exception">
<tr><td class="paramname"><a class="el" href="classxercesc_1_1DOMRangeException.html" title="Range operations may throw a DOMRangeException as specified in their method descriptions. ">DOMRangeException</a></td><td>INVALID_NODE_TYPE_ERR: Raised if the root container of <code>refNode</code> is not a <a class="el" href="classxercesc_1_1DOMAttr.html" title="The DOMAttr class refers to an attribute of an XML element. ">DOMAttr</a>, <a class="el" href="classxercesc_1_1DOMDocument.html" title="The DOMDocument interface represents the entire XML document. ">DOMDocument</a> or <a class="el" href="classxercesc_1_1DOMDocumentFragment.html" title="DOMDocumentFragment is a &quot;lightweight&quot; or &quot;minimal&quot; DOMDocument object. ">DOMDocumentFragment</a> node or if <code>refNode</code> is a <a class="el" href="classxercesc_1_1DOMDocument.html" title="The DOMDocument interface represents the entire XML document. ">DOMDocument</a>, <a class="el" href="classxercesc_1_1DOMDocumentFragment.html" title="DOMDocumentFragment is a &quot;lightweight&quot; or &quot;minimal&quot; DOMDocument object. ">DOMDocumentFragment</a>, <a class="el" href="classxercesc_1_1DOMAttr.html" title="The DOMAttr class refers to an attribute of an XML element. ">DOMAttr</a>, <a class="el" href="classxercesc_1_1DOMEntity.html" title="This interface represents an entity, either parsed or unparsed, in an XML document. ">DOMEntity</a>, or <a class="el" href="classxercesc_1_1DOMNotation.html" title="This interface represents a notation declared in the DTD. ">DOMNotation</a> node. </td></tr>
<tr><td class="paramname"><a class="el" href="classxercesc_1_1DOMException.html">DOMException</a></td><td>INVALID_STATE_ERR: Raised if <code><a class="el" href="classxercesc_1_1DOMRange.html#a0cd4d64c7e08a3b72e12cd8eb06b6888" title="Called to indicate that the Range is no longer in use and that the implementation may relinquish any ...">detach()</a></code> has already been invoked on this object. <br/>
WRONG_DOCUMENT_ERR: Raised if <code>refNode</code> was created from a different document than the one that created this range.</td></tr>
</table>
</dd>
</dl>
<dl class="section since"><dt>Since</dt><dd>DOM Level 2 </dd></dl>
</div>
</div>
<a class="anchor" id="afac8fad87367742b7d8a28d618876d6b"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<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> *&#160;</td>
<td class="paramname"><em>refNode</em></td><td>)</td>
<td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">pure virtual</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Sets the end position to be before a node. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">refNode</td><td>Range ends before <code>refNode</code> </td></tr>
</table>
</dd>
</dl>
<dl class="exception"><dt>Exceptions</dt><dd>
<table class="exception">
<tr><td class="paramname"><a class="el" href="classxercesc_1_1DOMRangeException.html" title="Range operations may throw a DOMRangeException as specified in their method descriptions. ">DOMRangeException</a></td><td>INVALID_NODE_TYPE_ERR: Raised if the root container of <code>refNode</code> is not an <a class="el" href="classxercesc_1_1DOMAttr.html" title="The DOMAttr class refers to an attribute of an XML element. ">DOMAttr</a>, <a class="el" href="classxercesc_1_1DOMDocument.html" title="The DOMDocument interface represents the entire XML document. ">DOMDocument</a>, or <a class="el" href="classxercesc_1_1DOMDocumentFragment.html" title="DOMDocumentFragment is a &quot;lightweight&quot; or &quot;minimal&quot; DOMDocument object. ">DOMDocumentFragment</a> node or if <code>refNode</code> is a <a class="el" href="classxercesc_1_1DOMDocument.html" title="The DOMDocument interface represents the entire XML document. ">DOMDocument</a>, <a class="el" href="classxercesc_1_1DOMDocumentFragment.html" title="DOMDocumentFragment is a &quot;lightweight&quot; or &quot;minimal&quot; DOMDocument object. ">DOMDocumentFragment</a>, <a class="el" href="classxercesc_1_1DOMAttr.html" title="The DOMAttr class refers to an attribute of an XML element. ">DOMAttr</a>, <a class="el" href="classxercesc_1_1DOMEntity.html" title="This interface represents an entity, either parsed or unparsed, in an XML document. ">DOMEntity</a>, or <a class="el" href="classxercesc_1_1DOMNotation.html" title="This interface represents a notation declared in the DTD. ">DOMNotation</a> node. </td></tr>
<tr><td class="paramname"><a class="el" href="classxercesc_1_1DOMException.html">DOMException</a></td><td>INVALID_STATE_ERR: Raised if <code><a class="el" href="classxercesc_1_1DOMRange.html#a0cd4d64c7e08a3b72e12cd8eb06b6888" title="Called to indicate that the Range is no longer in use and that the implementation may relinquish any ...">detach()</a></code> has already been invoked on this object. <br/>
WRONG_DOCUMENT_ERR: Raised if <code>refNode</code> was created from a different document than the one that created this range.</td></tr>
</table>
</dd>
</dl>
<dl class="section since"><dt>Since</dt><dd>DOM Level 2 </dd></dl>
</div>
</div>
<a class="anchor" id="a8eaad84f9c769745f44422a3aec5ee8d"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<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> *&#160;</td>
<td class="paramname"><em>refNode</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">XMLSize_t&#160;</td>
<td class="paramname"><em>offset</em>&#160;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">pure virtual</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Sets the attributes describing the start of the Range. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">refNode</td><td>The <code>refNode</code> value. This parameter must be different from <code>null</code>. </td></tr>
<tr><td class="paramname">offset</td><td>The <code>startOffset</code> value. </td></tr>
</table>
</dd>
</dl>
<dl class="exception"><dt>Exceptions</dt><dd>
<table class="exception">
<tr><td class="paramname"><a class="el" href="classxercesc_1_1DOMRangeException.html" title="Range operations may throw a DOMRangeException as specified in their method descriptions. ">DOMRangeException</a></td><td>INVALID_NODE_TYPE_ERR: Raised if <code>refNode</code> or an ancestor of <code>refNode</code> is an <a class="el" href="classxercesc_1_1DOMEntity.html" title="This interface represents an entity, either parsed or unparsed, in an XML document. ">DOMEntity</a>, <a class="el" href="classxercesc_1_1DOMNotation.html" title="This interface represents a notation declared in the DTD. ">DOMNotation</a>, or <a class="el" href="classxercesc_1_1DOMDocumentType.html" title="Each DOMDocument has a doctype attribute whose value is either null or a DOMDocumentType object...">DOMDocumentType</a> node. </td></tr>
<tr><td class="paramname"><a class="el" href="classxercesc_1_1DOMException.html">DOMException</a></td><td>INDEX_SIZE_ERR: Raised if <code>offset</code> is negative or greater than the number of child units in <code>refNode</code>. Child units are 16-bit units if <code>refNode</code> is a type of <a class="el" href="classxercesc_1_1DOMCharacterData.html" title="The DOMCharacterData interface extends DOMNode with a set of attributes and methods for accessing cha...">DOMCharacterData</a> node (e.g., a <a class="el" href="classxercesc_1_1DOMText.html" title="The DOMText interface inherits from DOMCharacterData and represents the textual content (termed chara...">DOMText</a> or <a class="el" href="classxercesc_1_1DOMComment.html" title="This interface inherits from CharacterData and represents the content of a comment, i.e., all the characters between the starting &#39; &lt;!&#39; and ending &#39;&gt;&#39;. ">DOMComment</a> node) or a <a class="el" href="classxercesc_1_1DOMProcessingInstruction.html" title="The DOMProcessingInstruction interface represents a &quot;processing instruction&quot;, used in XML as a way to...">DOMProcessingInstruction</a> node. Child units are Nodes in all other cases. <br/>
INVALID_STATE_ERR: Raised if <code><a class="el" href="classxercesc_1_1DOMRange.html#a0cd4d64c7e08a3b72e12cd8eb06b6888" title="Called to indicate that the Range is no longer in use and that the implementation may relinquish any ...">detach()</a></code> has already been invoked on this object. <br/>
WRONG_DOCUMENT_ERR: Raised if <code>refNode</code> was created from a different document than the one that created this range.</td></tr>
</table>
</dd>
</dl>
<dl class="section since"><dt>Since</dt><dd>DOM Level 2 </dd></dl>
</div>
</div>
<a class="anchor" id="a960bd9c6f8fd16b92dc5629bf927424b"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<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> *&#160;</td>
<td class="paramname"><em>refNode</em></td><td>)</td>
<td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">pure virtual</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Sets the start position to be after a node. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">refNode</td><td>Range starts after <code>refNode</code> </td></tr>
</table>
</dd>
</dl>
<dl class="exception"><dt>Exceptions</dt><dd>
<table class="exception">
<tr><td class="paramname"><a class="el" href="classxercesc_1_1DOMRangeException.html" title="Range operations may throw a DOMRangeException as specified in their method descriptions. ">DOMRangeException</a></td><td>INVALID_NODE_TYPE_ERR: Raised if the root container of <code>refNode</code> is not an <a class="el" href="classxercesc_1_1DOMAttr.html" title="The DOMAttr class refers to an attribute of an XML element. ">DOMAttr</a>, <a class="el" href="classxercesc_1_1DOMDocument.html" title="The DOMDocument interface represents the entire XML document. ">DOMDocument</a>, or <a class="el" href="classxercesc_1_1DOMDocumentFragment.html" title="DOMDocumentFragment is a &quot;lightweight&quot; or &quot;minimal&quot; DOMDocument object. ">DOMDocumentFragment</a> node or if <code>refNode</code> is a <a class="el" href="classxercesc_1_1DOMDocument.html" title="The DOMDocument interface represents the entire XML document. ">DOMDocument</a>, <a class="el" href="classxercesc_1_1DOMDocumentFragment.html" title="DOMDocumentFragment is a &quot;lightweight&quot; or &quot;minimal&quot; DOMDocument object. ">DOMDocumentFragment</a>, <a class="el" href="classxercesc_1_1DOMAttr.html" title="The DOMAttr class refers to an attribute of an XML element. ">DOMAttr</a>, <a class="el" href="classxercesc_1_1DOMEntity.html" title="This interface represents an entity, either parsed or unparsed, in an XML document. ">DOMEntity</a>, or <a class="el" href="classxercesc_1_1DOMNotation.html" title="This interface represents a notation declared in the DTD. ">DOMNotation</a> node. </td></tr>
<tr><td class="paramname"><a class="el" href="classxercesc_1_1DOMException.html">DOMException</a></td><td>INVALID_STATE_ERR: Raised if <code><a class="el" href="classxercesc_1_1DOMRange.html#a0cd4d64c7e08a3b72e12cd8eb06b6888" title="Called to indicate that the Range is no longer in use and that the implementation may relinquish any ...">detach()</a></code> has already been invoked on this object. <br/>
WRONG_DOCUMENT_ERR: Raised if <code>refNode</code> was created from a different document than the one that created this range.</td></tr>
</table>
</dd>
</dl>
<dl class="section since"><dt>Since</dt><dd>DOM Level 2 </dd></dl>
</div>
</div>
<a class="anchor" id="a04db3d0ff11e8153214797f618512ca9"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<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> *&#160;</td>
<td class="paramname"><em>refNode</em></td><td>)</td>
<td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">pure virtual</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Sets the start position to be before a node. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">refNode</td><td>Range starts before <code>refNode</code> </td></tr>
</table>
</dd>
</dl>
<dl class="exception"><dt>Exceptions</dt><dd>
<table class="exception">
<tr><td class="paramname"><a class="el" href="classxercesc_1_1DOMRangeException.html" title="Range operations may throw a DOMRangeException as specified in their method descriptions. ">DOMRangeException</a></td><td>INVALID_NODE_TYPE_ERR: Raised if the root container of <code>refNode</code> is not an <a class="el" href="classxercesc_1_1DOMAttr.html" title="The DOMAttr class refers to an attribute of an XML element. ">DOMAttr</a>, <a class="el" href="classxercesc_1_1DOMDocument.html" title="The DOMDocument interface represents the entire XML document. ">DOMDocument</a>, or <a class="el" href="classxercesc_1_1DOMDocumentFragment.html" title="DOMDocumentFragment is a &quot;lightweight&quot; or &quot;minimal&quot; DOMDocument object. ">DOMDocumentFragment</a> node or if <code>refNode</code> is a <a class="el" href="classxercesc_1_1DOMDocument.html" title="The DOMDocument interface represents the entire XML document. ">DOMDocument</a>, <a class="el" href="classxercesc_1_1DOMDocumentFragment.html" title="DOMDocumentFragment is a &quot;lightweight&quot; or &quot;minimal&quot; DOMDocument object. ">DOMDocumentFragment</a>, <a class="el" href="classxercesc_1_1DOMAttr.html" title="The DOMAttr class refers to an attribute of an XML element. ">DOMAttr</a>, <a class="el" href="classxercesc_1_1DOMEntity.html" title="This interface represents an entity, either parsed or unparsed, in an XML document. ">DOMEntity</a>, or <a class="el" href="classxercesc_1_1DOMNotation.html" title="This interface represents a notation declared in the DTD. ">DOMNotation</a> node. </td></tr>
<tr><td class="paramname"><a class="el" href="classxercesc_1_1DOMException.html">DOMException</a></td><td>INVALID_STATE_ERR: Raised if <code><a class="el" href="classxercesc_1_1DOMRange.html#a0cd4d64c7e08a3b72e12cd8eb06b6888" title="Called to indicate that the Range is no longer in use and that the implementation may relinquish any ...">detach()</a></code> has already been invoked on this object. <br/>
WRONG_DOCUMENT_ERR: Raised if <code>refNode</code> was created from a different document than the one that created this range.</td></tr>
</table>
</dd>
</dl>
<dl class="section since"><dt>Since</dt><dd>DOM Level 2 </dd></dl>
</div>
</div>
<a class="anchor" id="a131a8c953b0e6dfa6abf39ed96551c2a"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<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> *&#160;</td>
<td class="paramname"><em>newParent</em></td><td>)</td>
<td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">pure virtual</span></span> </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 class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">newParent</td><td>The node to surround the contents with. </td></tr>
</table>
</dd>
</dl>
<dl class="exception"><dt>Exceptions</dt><dd>
<table class="exception">
<tr><td class="paramname"><a class="el" href="classxercesc_1_1DOMException.html">DOMException</a></td><td>NO_MODIFICATION_ALLOWED_ERR: Raised if an ancestor container of either boundary-point of the Range is read-only. <br/>
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#a0cd4d64c7e08a3b72e12cd8eb06b6888" title="Called to indicate that the Range is no longer in use and that the implementation may relinquish any ...">detach()</a></code> has already been invoked on this object. </td></tr>
<tr><td class="paramname"><a class="el" href="classxercesc_1_1DOMRangeException.html" title="Range operations may throw a DOMRangeException as specified in their method descriptions. ">DOMRangeException</a></td><td>BAD_BOUNDARYPOINTS_ERR: Raised if the Range partially selects a non-text node. <br/>
INVALID_NODE_TYPE_ERR: Raised if <code> node</code> is an <a class="el" href="classxercesc_1_1DOMAttr.html" title="The DOMAttr class refers to an attribute of an XML element. ">DOMAttr</a>, <a class="el" href="classxercesc_1_1DOMEntity.html" title="This interface represents an entity, either parsed or unparsed, in an XML document. ">DOMEntity</a>, <a class="el" href="classxercesc_1_1DOMDocumentType.html" title="Each DOMDocument has a doctype attribute whose value is either null or a DOMDocumentType object...">DOMDocumentType</a>, <a class="el" href="classxercesc_1_1DOMNotation.html" title="This interface represents a notation declared in the DTD. ">DOMNotation</a>, <a class="el" href="classxercesc_1_1DOMDocument.html" title="The DOMDocument interface represents the entire XML document. ">DOMDocument</a>, or <a class="el" href="classxercesc_1_1DOMDocumentFragment.html" title="DOMDocumentFragment is a &quot;lightweight&quot; or &quot;minimal&quot; DOMDocument object. ">DOMDocumentFragment</a> node.</td></tr>
</table>
</dd>
</dl>
<dl class="section since"><dt>Since</dt><dd>DOM Level 2 </dd></dl>
</div>
</div>
<a class="anchor" id="a74b794d8751ebc50f97451272f6ea5c3"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">virtual const XMLCh* xercesc::DOMRange::toString </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td> const</td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">pure virtual</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Returns the contents of a Range as a string. </p>
<p>This string contains only the data characters, not any markup. </p>
<dl class="section return"><dt>Returns</dt><dd>The contents of the Range. </dd></dl>
<dl class="exception"><dt>Exceptions</dt><dd>
<table class="exception">
<tr><td class="paramname"><a class="el" href="classxercesc_1_1DOMException.html">DOMException</a></td><td>INVALID_STATE_ERR: Raised if <code><a class="el" href="classxercesc_1_1DOMRange.html#a0cd4d64c7e08a3b72e12cd8eb06b6888" title="Called to indicate that the Range is no longer in use and that the implementation may relinquish any ...">detach()</a></code> has already been invoked on this object.</td></tr>
</table>
</dd>
</dl>
<dl class="section since"><dt>Since</dt><dd>DOM Level 2 </dd></dl>
</div>
</div>
<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></li>
</ul>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.5
</small></address>
</body>
</html>