XQuilla/docs/dom3-api/classxercesc_1_1DOMRangeException.html
2020-02-17 22:05:20 +01:00

287 lines
16 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 DOM Level 3 API: xercesc::DOMRangeException Class Reference</title>
<link href="doxygen.css" rel="stylesheet" type="text/css">
<link href="tabs.css" rel="stylesheet" type="text/css">
</head><body>
<!-- Generated by Doxygen 1.4.6 -->
<div class="tabs">
<ul>
<li><a href="index.html"><span>Main&nbsp;Page</span></a></li>
<li><a href="namespaces.html"><span>Namespaces</span></a></li>
<li id="current"><a href="classes.html"><span>Classes</span></a></li>
<li><a href="files.html"><span>Files</span></a></li>
</ul></div>
<div class="tabs">
<ul>
<li><a href="classes.html"><span>Alphabetical&nbsp;List</span></a></li>
<li><a href="annotated.html"><span>Class&nbsp;List</span></a></li>
<li><a href="hierarchy.html"><span>Class&nbsp;Hierarchy</span></a></li>
<li><a href="functions.html"><span>Class&nbsp;Members</span></a></li>
</ul></div>
<div class="nav">
<a class="el" href="namespacexercesc.html">xercesc</a>::<a class="el" href="classxercesc_1_1DOMRangeException.html">DOMRangeException</a></div>
<h1>xercesc::DOMRangeException Class Reference</h1><!-- doxytag: class="xercesc::DOMRangeException" --><!-- doxytag: inherits="xercesc::DOMException" -->Range operations may throw a <code><a class="el" href="classxercesc_1_1DOMRangeException.html">DOMRangeException</a></code> as specified in their method descriptions.
<a href="#_details">More...</a>
<p>
<code>#include &lt;<a class="el" href="DOMRangeException_8hpp-source.html">DOMRangeException.hpp</a>&gt;</code>
<p>
Inheritance diagram for xercesc::DOMRangeException:<p><center><img src="classxercesc_1_1DOMRangeException__inherit__graph.png" border="0" usemap="#xercesc_1_1DOMRangeException__inherit__map" alt="Inheritance graph"></center>
<map name="xercesc_1_1DOMRangeException__inherit__map">
<area href="classxercesc_1_1DOMException.html" shape="rect" coords="27,9,193,33" alt="">
</map>
<center><font size="2">[<a href="graph_legend.html">legend</a>]</font></center><a href="classxercesc_1_1DOMRangeException-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_1DOMRangeException.html#0f40b071f3de6036e04c2de8c73ed677">RangeExceptionCode</a> { <a class="el" href="classxercesc_1_1DOMRangeException.html#0f40b071f3de6036e04c2de8c73ed677d431a4d70e6fabeab60ac64256a171f4">BAD_BOUNDARYPOINTS_ERR</a> = 1,
<a class="el" href="classxercesc_1_1DOMRangeException.html#0f40b071f3de6036e04c2de8c73ed67789af06e361544059118a1f7479603b6f">INVALID_NODE_TYPE_ERR</a> = 2
}</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Enumerators for DOM Range Exceptions. <a href="classxercesc_1_1DOMRangeException.html#0f40b071f3de6036e04c2de8c73ed677">More...</a><br></td></tr>
<tr><td colspan="2"><br><h2>Public Member Functions</h2></td></tr>
<tr><td colspan="2"><div class="groupHeader">Constructors</div></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classxercesc_1_1DOMRangeException.html#d18b730ab66177386367aad19618743a">DOMRangeException</a> ()</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Default constructor for <a class="el" href="classxercesc_1_1DOMRangeException.html">DOMRangeException</a>. <a href="#d18b730ab66177386367aad19618743a"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classxercesc_1_1DOMRangeException.html#26258b474e495554f1d97e92813bd896">DOMRangeException</a> (<a class="el" href="classxercesc_1_1DOMRangeException.html#0f40b071f3de6036e04c2de8c73ed677">RangeExceptionCode</a> <a class="el" href="classxercesc_1_1DOMRangeException.html#e428cbf465be1d7cb2cdd7542515965e">code</a>, const XMLCh *message, <a class="el" href="classxercesc_1_1MemoryManager.html">MemoryManager</a> *const memoryManager)</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Constructor which takes an error code and a message. <a href="#26258b474e495554f1d97e92813bd896"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classxercesc_1_1DOMRangeException.html#8ee4e06b2bdd41ded6f20a8004278b83">DOMRangeException</a> (const <a class="el" href="classxercesc_1_1DOMRangeException.html">DOMRangeException</a> &amp;other)</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Copy constructor. <a href="#8ee4e06b2bdd41ded6f20a8004278b83"></a><br></td></tr>
<tr><td colspan="2"><div class="groupHeader">Destructor.</div></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classxercesc_1_1DOMRangeException.html#89221acecc8f7f809ffef94904c8631c">~DOMRangeException</a> ()</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Destructor for <a class="el" href="classxercesc_1_1DOMRangeException.html">DOMRangeException</a>. <a href="#89221acecc8f7f809ffef94904c8631c"></a><br></td></tr>
<tr><td colspan="2"><br><h2>Public Attributes</h2></td></tr>
<tr><td colspan="2"><div class="groupHeader">Public variables</div></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="classxercesc_1_1DOMRangeException.html#0f40b071f3de6036e04c2de8c73ed677">RangeExceptionCode</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classxercesc_1_1DOMRangeException.html#e428cbf465be1d7cb2cdd7542515965e">code</a></td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">A code value, from the set defined by the RangeExceptionCode enum, indicating the type of error that occured. <a href="#e428cbf465be1d7cb2cdd7542515965e"></a><br></td></tr>
</table>
<hr><a name="_details"></a><h2>Detailed Description</h2>
Range operations may throw a <code><a class="el" href="classxercesc_1_1DOMRangeException.html">DOMRangeException</a></code> as specified in their method descriptions.
<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>. <dl compact><dt><b>Since:</b></dt><dd>DOM Level 2 </dd></dl>
<p>
<hr><h2>Member Enumeration Documentation</h2>
<a class="anchor" name="0f40b071f3de6036e04c2de8c73ed677"></a><!-- doxytag: member="xercesc::DOMRangeException::RangeExceptionCode" ref="0f40b071f3de6036e04c2de8c73ed677" args="" --><p>
<table class="mdTable" cellpadding="2" cellspacing="0">
<tr>
<td class="mdRow">
<table cellpadding="0" cellspacing="0" border="0">
<tr>
<td class="md" nowrap valign="top">enum <a class="el" href="classxercesc_1_1DOMRangeException.html#0f40b071f3de6036e04c2de8c73ed677">xercesc::DOMRangeException::RangeExceptionCode</a> </td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing="5" cellpadding="0" border="0">
<tr>
<td>
&nbsp;
</td>
<td>
<p>
Enumerators for DOM Range Exceptions.
<p>
<code>BAD_BOUNDARYPOINTS_ERR:</code> If the boundary-points of a Range do not meet specific requirements.<p>
<code>INVALID_NODE_TYPE_ERR:</code> If the container of an boundary-point of a Range is being set to either a node of an invalid type or a node with an ancestor of an invalid type.<p>
<dl compact><dt><b>Since:</b></dt><dd>DOM Level 2 </dd></dl>
<dl compact><dt><b>Enumerator: </b></dt><dd>
<table border="0" cellspacing="2" cellpadding="0">
<tr><td valign="top"><em><a class="anchor" name="0f40b071f3de6036e04c2de8c73ed677d431a4d70e6fabeab60ac64256a171f4"></a><!-- doxytag: member="BAD_BOUNDARYPOINTS_ERR" ref="0f40b071f3de6036e04c2de8c73ed677d431a4d70e6fabeab60ac64256a171f4" args="" -->BAD_BOUNDARYPOINTS_ERR</em>&nbsp;</td><td>
</td></tr>
<tr><td valign="top"><em><a class="anchor" name="0f40b071f3de6036e04c2de8c73ed67789af06e361544059118a1f7479603b6f"></a><!-- doxytag: member="INVALID_NODE_TYPE_ERR" ref="0f40b071f3de6036e04c2de8c73ed67789af06e361544059118a1f7479603b6f" args="" -->INVALID_NODE_TYPE_ERR</em>&nbsp;</td><td>
</td></tr>
</table>
</dl>
</td>
</tr>
</table>
<hr><h2>Constructor &amp; Destructor Documentation</h2>
<a class="anchor" name="d18b730ab66177386367aad19618743a"></a><!-- doxytag: member="xercesc::DOMRangeException::DOMRangeException" ref="d18b730ab66177386367aad19618743a" args="()" --><p>
<table class="mdTable" cellpadding="2" cellspacing="0">
<tr>
<td class="mdRow">
<table cellpadding="0" cellspacing="0" border="0">
<tr>
<td class="md" nowrap valign="top">xercesc::DOMRangeException::DOMRangeException </td>
<td class="md" valign="top">(&nbsp;</td>
<td class="mdname1" valign="top" nowrap> </td>
<td class="md" valign="top">&nbsp;)&nbsp;</td>
<td class="md" nowrap></td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing="5" cellpadding="0" border="0">
<tr>
<td>
&nbsp;
</td>
<td>
<p>
Default constructor for <a class="el" href="classxercesc_1_1DOMRangeException.html">DOMRangeException</a>.
<p>
</td>
</tr>
</table>
<a class="anchor" name="26258b474e495554f1d97e92813bd896"></a><!-- doxytag: member="xercesc::DOMRangeException::DOMRangeException" ref="26258b474e495554f1d97e92813bd896" args="(RangeExceptionCode code, const XMLCh *message, MemoryManager *const memoryManager)" --><p>
<table class="mdTable" cellpadding="2" cellspacing="0">
<tr>
<td class="mdRow">
<table cellpadding="0" cellspacing="0" border="0">
<tr>
<td class="md" nowrap valign="top">xercesc::DOMRangeException::DOMRangeException </td>
<td class="md" valign="top">(&nbsp;</td>
<td class="md" nowrap valign="top"><a class="el" href="classxercesc_1_1DOMRangeException.html#0f40b071f3de6036e04c2de8c73ed677">RangeExceptionCode</a>&nbsp;</td>
<td class="mdname" nowrap> <em>code</em>, </td>
</tr>
<tr>
<td class="md" nowrap align="right"></td>
<td class="md"></td>
<td class="md" nowrap>const XMLCh *&nbsp;</td>
<td class="mdname" nowrap> <em>message</em>, </td>
</tr>
<tr>
<td class="md" nowrap align="right"></td>
<td class="md"></td>
<td class="md" nowrap><a class="el" href="classxercesc_1_1MemoryManager.html">MemoryManager</a> *const &nbsp;</td>
<td class="mdname" nowrap> <em>memoryManager</em></td>
</tr>
<tr>
<td class="md"></td>
<td class="md">)&nbsp;</td>
<td class="md" colspan="2"></td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing="5" cellpadding="0" border="0">
<tr>
<td>
&nbsp;
</td>
<td>
<p>
Constructor which takes an error code and a message.
<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>code</em>&nbsp;</td><td>The error code which indicates the exception </td></tr>
<tr><td valign="top"></td><td valign="top"><em>message</em>&nbsp;</td><td>The string containing the error message </td></tr>
<tr><td valign="top"></td><td valign="top"><em>memoryManager</em>&nbsp;</td><td>The memory manager used to (de)allocate memory </td></tr>
</table>
</dl>
</td>
</tr>
</table>
<a class="anchor" name="8ee4e06b2bdd41ded6f20a8004278b83"></a><!-- doxytag: member="xercesc::DOMRangeException::DOMRangeException" ref="8ee4e06b2bdd41ded6f20a8004278b83" args="(const DOMRangeException &amp;other)" --><p>
<table class="mdTable" cellpadding="2" cellspacing="0">
<tr>
<td class="mdRow">
<table cellpadding="0" cellspacing="0" border="0">
<tr>
<td class="md" nowrap valign="top">xercesc::DOMRangeException::DOMRangeException </td>
<td class="md" valign="top">(&nbsp;</td>
<td class="md" nowrap valign="top">const <a class="el" href="classxercesc_1_1DOMRangeException.html">DOMRangeException</a> &amp;&nbsp;</td>
<td class="mdname1" valign="top" nowrap> <em>other</em> </td>
<td class="md" valign="top">&nbsp;)&nbsp;</td>
<td class="md" nowrap></td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing="5" cellpadding="0" border="0">
<tr>
<td>
&nbsp;
</td>
<td>
<p>
Copy constructor.
<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>other</em>&nbsp;</td><td>The object to be copied. </td></tr>
</table>
</dl>
</td>
</tr>
</table>
<a class="anchor" name="89221acecc8f7f809ffef94904c8631c"></a><!-- doxytag: member="xercesc::DOMRangeException::~DOMRangeException" ref="89221acecc8f7f809ffef94904c8631c" args="()" --><p>
<table class="mdTable" cellpadding="2" cellspacing="0">
<tr>
<td class="mdRow">
<table cellpadding="0" cellspacing="0" border="0">
<tr>
<td class="md" nowrap valign="top">xercesc::DOMRangeException::~DOMRangeException </td>
<td class="md" valign="top">(&nbsp;</td>
<td class="mdname1" valign="top" nowrap> </td>
<td class="md" valign="top">&nbsp;)&nbsp;</td>
<td class="md" nowrap><code> [virtual]</code></td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing="5" cellpadding="0" border="0">
<tr>
<td>
&nbsp;
</td>
<td>
<p>
Destructor for <a class="el" href="classxercesc_1_1DOMRangeException.html">DOMRangeException</a>.
<p>
</td>
</tr>
</table>
<hr><h2>Member Data Documentation</h2>
<a class="anchor" name="e428cbf465be1d7cb2cdd7542515965e"></a><!-- doxytag: member="xercesc::DOMRangeException::code" ref="e428cbf465be1d7cb2cdd7542515965e" args="" --><p>
<table class="mdTable" cellpadding="2" cellspacing="0">
<tr>
<td class="mdRow">
<table cellpadding="0" cellspacing="0" border="0">
<tr>
<td class="md" nowrap valign="top"><a class="el" href="classxercesc_1_1DOMRangeException.html#0f40b071f3de6036e04c2de8c73ed677">RangeExceptionCode</a> <a class="el" href="classxercesc_1_1DOMRangeException.html#e428cbf465be1d7cb2cdd7542515965e">xercesc::DOMRangeException::code</a> </td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing="5" cellpadding="0" border="0">
<tr>
<td>
&nbsp;
</td>
<td>
<p>
A code value, from the set defined by the RangeExceptionCode enum, indicating the type of error that occured.
<p>
<dl compact><dt><b>Since:</b></dt><dd>DOM Level 2 </dd></dl>
<p>
Reimplemented from <a class="el" href="classxercesc_1_1DOMException.html#c4a8f81a9038b083df54b2be440954ce">xercesc::DOMException</a>. </td>
</tr>
</table>
<hr>The documentation for this class was generated from the following files:<ul>
<li><a class="el" href="DOMRangeException_8hpp-source.html">DOMRangeException.hpp</a><li><a class="el" href="DOMRangeException_8cpp.html">DOMRangeException.cpp</a></ul>
<hr size="1"><address style="align: right;"><small>Generated on Tue Dec 12 00:19:02 2006 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.4.6 </small></address>
</body>
</html>