521 lines
27 KiB
HTML
521 lines
27 KiB
HTML
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
|
|
<html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1">
|
|
<title>XQilla DOM3 API Documentation</title>
|
|
<link href="doxygen.css" rel="stylesheet" type="text/css">
|
|
<link href="tabs.css" rel="stylesheet" type="text/css">
|
|
</head><body>
|
|
<a style="float:right;" href="http://sourceforge.net/projects/xqilla"><img src="http://sflogo.sourceforge.net/sflogo.php?group_id=152021&type=2" border="0" alt="SourceForge.net Logo" /></a>
|
|
<!-- Generated by Doxygen 1.5.1 -->
|
|
<div class="tabs">
|
|
<ul>
|
|
<li><a href="index.html"><span>Main 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 List</span></a></li>
|
|
<li><a href="annotated.html"><span>Class List</span></a></li>
|
|
<li><a href="hierarchy.html"><span>Class Hierarchy</span></a></li>
|
|
<li><a href="functions.html"><span>Class Members</span></a></li>
|
|
</ul></div>
|
|
<div class="nav">
|
|
<a class="el" href="namespacexercesc.html">xercesc</a>::<a class="el" href="classxercesc_1_1DOMError.html">DOMError</a></div>
|
|
<h1>xercesc::DOMError Class Reference</h1><!-- doxytag: class="xercesc::DOMError" --><a class="el" href="classxercesc_1_1DOMError.html">DOMError</a> is an interface that describes an error.
|
|
<a href="#_details">More...</a>
|
|
<p>
|
|
<code>#include <<a class="el" href="DOMError_8hpp-source.html">DOMError.hpp</a>></code>
|
|
<p>
|
|
<a href="classxercesc_1_1DOMError-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 constants</div></td></tr>
|
|
<tr><td class="memItemLeft" nowrap align="right" valign="top">enum </td><td class="memItemRight" valign="bottom"><a class="el" href="classxercesc_1_1DOMError.html#2ee4056c45823760a3d9af523c263255">ErrorSeverity</a> { <a class="el" href="classxercesc_1_1DOMError.html#2ee4056c45823760a3d9af523c263255942d0ffe98b046da0a71b776dafab0b2">DOM_SEVERITY_WARNING</a> = 0,
|
|
<a class="el" href="classxercesc_1_1DOMError.html#2ee4056c45823760a3d9af523c2632551da26eaa4eaf7be383afc4279c6518b0">DOM_SEVERITY_ERROR</a> = 1,
|
|
<a class="el" href="classxercesc_1_1DOMError.html#2ee4056c45823760a3d9af523c263255a482572cbda6d79a807bf9ce4ff87874">DOM_SEVERITY_FATAL_ERROR</a> = 2
|
|
}</td></tr>
|
|
|
|
<tr><td class="mdescLeft"> </td><td class="mdescRight">The severity of the error described by the <code><a class="el" href="classxercesc_1_1DOMError.html">DOMError</a></code>. <a href="classxercesc_1_1DOMError.html#2ee4056c45823760a3d9af523c263255">More...</a><br></td></tr>
|
|
<tr><td colspan="2"><br><h2>Public Member Functions</h2></td></tr>
|
|
<tr><td colspan="2"><div class="groupHeader">Functions introduced in DOM Level 3</div></td></tr>
|
|
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual short </td><td class="memItemRight" valign="bottom"><a class="el" href="classxercesc_1_1DOMError.html#31346830628afae8d77745fbfa250603">getSeverity</a> () const=0</td></tr>
|
|
|
|
<tr><td class="mdescLeft"> </td><td class="mdescRight">Get the severity of the error. <a href="#31346830628afae8d77745fbfa250603"></a><br></td></tr>
|
|
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual const XMLCh * </td><td class="memItemRight" valign="bottom"><a class="el" href="classxercesc_1_1DOMError.html#725c04cf648c53b0ce17d01961ce6524">getMessage</a> () const=0</td></tr>
|
|
|
|
<tr><td class="mdescLeft"> </td><td class="mdescRight">Get the message describing the error that occured. <a href="#725c04cf648c53b0ce17d01961ce6524"></a><br></td></tr>
|
|
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual <a class="el" href="classxercesc_1_1DOMLocator.html">DOMLocator</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="classxercesc_1_1DOMError.html#594207a115959a600315412075ffa260">getLocation</a> () const=0</td></tr>
|
|
|
|
<tr><td class="mdescLeft"> </td><td class="mdescRight">Get the location of the error. <a href="#594207a115959a600315412075ffa260"></a><br></td></tr>
|
|
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual void * </td><td class="memItemRight" valign="bottom"><a class="el" href="classxercesc_1_1DOMError.html#6c456fd5a32526c49e0082928a3e4df2">getRelatedException</a> () const=0</td></tr>
|
|
|
|
<tr><td class="mdescLeft"> </td><td class="mdescRight">The related platform dependent exception if any. <a href="#6c456fd5a32526c49e0082928a3e4df2"></a><br></td></tr>
|
|
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual const XMLCh * </td><td class="memItemRight" valign="bottom"><a class="el" href="classxercesc_1_1DOMError.html#276b62a731c3bd37fc8cffe523085431">getType</a> () const=0</td></tr>
|
|
|
|
<tr><td class="mdescLeft"> </td><td class="mdescRight">A <code>XMLCh*</code> indicating which related data is expected in relatedData. <a href="#276b62a731c3bd37fc8cffe523085431"></a><br></td></tr>
|
|
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual void * </td><td class="memItemRight" valign="bottom"><a class="el" href="classxercesc_1_1DOMError.html#4071104da06ac3f5f27ccb59c3504357">getRelatedData</a> () const=0</td></tr>
|
|
|
|
<tr><td class="mdescLeft"> </td><td class="mdescRight">The related DOMError.type dependent data if any. <a href="#4071104da06ac3f5f27ccb59c3504357"></a><br></td></tr>
|
|
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="classxercesc_1_1DOMError.html#847ad3bb2769dec8cfad6555b9f774fa">setSeverity</a> (const short severity)=0</td></tr>
|
|
|
|
<tr><td class="mdescLeft"> </td><td class="mdescRight">Set the severity of the error. <a href="#847ad3bb2769dec8cfad6555b9f774fa"></a><br></td></tr>
|
|
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="classxercesc_1_1DOMError.html#e5818cbc906526e411ce3b308360483e">setMessage</a> (const XMLCh *const message)=0</td></tr>
|
|
|
|
<tr><td class="mdescLeft"> </td><td class="mdescRight">Set the error message. <a href="#e5818cbc906526e411ce3b308360483e"></a><br></td></tr>
|
|
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="classxercesc_1_1DOMError.html#5d0f10e535c5c624378c6c311a15cea3">setLocation</a> (<a class="el" href="classxercesc_1_1DOMLocator.html">DOMLocator</a> *const location)=0</td></tr>
|
|
|
|
<tr><td class="mdescLeft"> </td><td class="mdescRight">Set the location of the error. <a href="#5d0f10e535c5c624378c6c311a15cea3"></a><br></td></tr>
|
|
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="classxercesc_1_1DOMError.html#fb68a6adfee873fca8d9be5d26de7412">setRelatedException</a> (void *exc) const=0</td></tr>
|
|
|
|
<tr><td class="mdescLeft"> </td><td class="mdescRight">The related platform dependent exception if any. <a href="#fb68a6adfee873fca8d9be5d26de7412"></a><br></td></tr>
|
|
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="classxercesc_1_1DOMError.html#4af03bb2900037afd722612b1f60e769">setType</a> (const XMLCh *type)=0</td></tr>
|
|
|
|
<tr><td class="mdescLeft"> </td><td class="mdescRight">A <code>XMLCh*</code> indicating which related data is expected in relatedData. <a href="#4af03bb2900037afd722612b1f60e769"></a><br></td></tr>
|
|
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="classxercesc_1_1DOMError.html#c050664cbeb482f2dd5a9a7ea005c7da">setRelatedData</a> (void *relatedData)=0</td></tr>
|
|
|
|
<tr><td class="mdescLeft"> </td><td class="mdescRight">The related DOMError.type dependent data if any. <a href="#c050664cbeb482f2dd5a9a7ea005c7da"></a><br></td></tr>
|
|
</table>
|
|
<hr><a name="_details"></a><h2>Detailed Description</h2>
|
|
<a class="el" href="classxercesc_1_1DOMError.html">DOMError</a> is an interface that describes an error.
|
|
<p>
|
|
<dl class="see" compact><dt><b>See also:</b></dt><dd><a class="el" href="classxercesc_1_1DOMErrorHandler.html#67c9662c66074fa8c026cf08b6039ad3">DOMErrorHandler::handleError</a> </dd></dl>
|
|
<dl class="since" compact><dt><b>Since:</b></dt><dd>DOM Level 3 </dd></dl>
|
|
|
|
<p>
|
|
<hr><h2>Member Enumeration Documentation</h2>
|
|
<a class="anchor" name="2ee4056c45823760a3d9af523c263255"></a><!-- doxytag: member="xercesc::DOMError::ErrorSeverity" ref="2ee4056c45823760a3d9af523c263255" args="" -->
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">enum <a class="el" href="classxercesc_1_1DOMError.html#2ee4056c45823760a3d9af523c263255">xercesc::DOMError::ErrorSeverity</a> </td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
<div class="memdoc">
|
|
|
|
<p>
|
|
The severity of the error described by the <code><a class="el" href="classxercesc_1_1DOMError.html">DOMError</a></code>.
|
|
<p>
|
|
<dl class="since" compact><dt><b>Since:</b></dt><dd>DOM Level 3 </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="2ee4056c45823760a3d9af523c263255942d0ffe98b046da0a71b776dafab0b2"></a><!-- doxytag: member="DOM_SEVERITY_WARNING" ref="2ee4056c45823760a3d9af523c263255942d0ffe98b046da0a71b776dafab0b2" args="" -->DOM_SEVERITY_WARNING</em> </td><td>
|
|
</td></tr>
|
|
<tr><td valign="top"><em><a class="anchor" name="2ee4056c45823760a3d9af523c2632551da26eaa4eaf7be383afc4279c6518b0"></a><!-- doxytag: member="DOM_SEVERITY_ERROR" ref="2ee4056c45823760a3d9af523c2632551da26eaa4eaf7be383afc4279c6518b0" args="" -->DOM_SEVERITY_ERROR</em> </td><td>
|
|
</td></tr>
|
|
<tr><td valign="top"><em><a class="anchor" name="2ee4056c45823760a3d9af523c263255a482572cbda6d79a807bf9ce4ff87874"></a><!-- doxytag: member="DOM_SEVERITY_FATAL_ERROR" ref="2ee4056c45823760a3d9af523c263255a482572cbda6d79a807bf9ce4ff87874" args="" -->DOM_SEVERITY_FATAL_ERROR</em> </td><td>
|
|
</td></tr>
|
|
</table>
|
|
</dl>
|
|
|
|
</div>
|
|
</div><p>
|
|
<hr><h2>Constructor & Destructor Documentation</h2>
|
|
<a class="anchor" name="80ab02454c9a7bb8e26e003b6956b367"></a><!-- doxytag: member="xercesc::DOMError::DOMError" ref="80ab02454c9a7bb8e26e003b6956b367" args="()" -->
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">xercesc::DOMError::DOMError </td>
|
|
<td>(</td>
|
|
<td class="paramname"> </td>
|
|
<td> ) </td>
|
|
<td width="100%"><code> [inline, protected]</code></td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
<div class="memdoc">
|
|
|
|
<p>
|
|
|
|
</div>
|
|
</div><p>
|
|
<a class="anchor" name="8887c14def49d790f176ca19dcac5a1d"></a><!-- doxytag: member="xercesc::DOMError::~DOMError" ref="8887c14def49d790f176ca19dcac5a1d" args="()" -->
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">virtual xercesc::DOMError::~DOMError </td>
|
|
<td>(</td>
|
|
<td class="paramname"> </td>
|
|
<td> ) </td>
|
|
<td width="100%"><code> [inline, virtual]</code></td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
<div class="memdoc">
|
|
|
|
<p>
|
|
Destructor.
|
|
<p>
|
|
|
|
</div>
|
|
</div><p>
|
|
<a class="anchor" name="80ab02454c9a7bb8e26e003b6956b367"></a><!-- doxytag: member="xercesc::DOMError::DOMError" ref="80ab02454c9a7bb8e26e003b6956b367" args="()" -->
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">xercesc::DOMError::DOMError </td>
|
|
<td>(</td>
|
|
<td class="paramname"> </td>
|
|
<td> ) </td>
|
|
<td width="100%"><code> [inline, protected]</code></td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
<div class="memdoc">
|
|
|
|
<p>
|
|
|
|
</div>
|
|
</div><p>
|
|
<a class="anchor" name="8887c14def49d790f176ca19dcac5a1d"></a><!-- doxytag: member="xercesc::DOMError::~DOMError" ref="8887c14def49d790f176ca19dcac5a1d" args="()" -->
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">virtual xercesc::DOMError::~DOMError </td>
|
|
<td>(</td>
|
|
<td class="paramname"> </td>
|
|
<td> ) </td>
|
|
<td width="100%"><code> [inline, virtual]</code></td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
<div class="memdoc">
|
|
|
|
<p>
|
|
Destructor.
|
|
<p>
|
|
|
|
</div>
|
|
</div><p>
|
|
<hr><h2>Member Function Documentation</h2>
|
|
<a class="anchor" name="31346830628afae8d77745fbfa250603"></a><!-- doxytag: member="xercesc::DOMError::getSeverity" ref="31346830628afae8d77745fbfa250603" args="() const=0" -->
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">virtual short xercesc::DOMError::getSeverity </td>
|
|
<td>(</td>
|
|
<td class="paramname"> </td>
|
|
<td> ) </td>
|
|
<td width="100%"> const<code> [pure virtual]</code></td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
<div class="memdoc">
|
|
|
|
<p>
|
|
Get the severity of the error.
|
|
<p>
|
|
<b>"Experimental - subject to change"</b><p>
|
|
<dl class="see" compact><dt><b>See also:</b></dt><dd><a class="el" href="classxercesc_1_1DOMError.html#847ad3bb2769dec8cfad6555b9f774fa">setSeverity</a> </dd></dl>
|
|
<dl class="since" compact><dt><b>Since:</b></dt><dd>DOM Level 3 </dd></dl>
|
|
|
|
</div>
|
|
</div><p>
|
|
<a class="anchor" name="725c04cf648c53b0ce17d01961ce6524"></a><!-- doxytag: member="xercesc::DOMError::getMessage" ref="725c04cf648c53b0ce17d01961ce6524" args="() const=0" -->
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">virtual const XMLCh* xercesc::DOMError::getMessage </td>
|
|
<td>(</td>
|
|
<td class="paramname"> </td>
|
|
<td> ) </td>
|
|
<td width="100%"> const<code> [pure virtual]</code></td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
<div class="memdoc">
|
|
|
|
<p>
|
|
Get the message describing the error that occured.
|
|
<p>
|
|
<b>"Experimental - subject to change"</b><p>
|
|
<dl class="see" compact><dt><b>See also:</b></dt><dd><a class="el" href="classxercesc_1_1DOMError.html#e5818cbc906526e411ce3b308360483e">setMessage</a> </dd></dl>
|
|
<dl class="since" compact><dt><b>Since:</b></dt><dd>DOM Level 3 </dd></dl>
|
|
|
|
</div>
|
|
</div><p>
|
|
<a class="anchor" name="594207a115959a600315412075ffa260"></a><!-- doxytag: member="xercesc::DOMError::getLocation" ref="594207a115959a600315412075ffa260" args="() const=0" -->
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">virtual <a class="el" href="classxercesc_1_1DOMLocator.html">DOMLocator</a>* xercesc::DOMError::getLocation </td>
|
|
<td>(</td>
|
|
<td class="paramname"> </td>
|
|
<td> ) </td>
|
|
<td width="100%"> const<code> [pure virtual]</code></td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
<div class="memdoc">
|
|
|
|
<p>
|
|
Get the location of the error.
|
|
<p>
|
|
<b>"Experimental - subject to change"</b><p>
|
|
<dl class="see" compact><dt><b>See also:</b></dt><dd><a class="el" href="classxercesc_1_1DOMError.html#5d0f10e535c5c624378c6c311a15cea3">setLocation</a> </dd></dl>
|
|
<dl class="since" compact><dt><b>Since:</b></dt><dd>DOM Level 3 </dd></dl>
|
|
|
|
</div>
|
|
</div><p>
|
|
<a class="anchor" name="6c456fd5a32526c49e0082928a3e4df2"></a><!-- doxytag: member="xercesc::DOMError::getRelatedException" ref="6c456fd5a32526c49e0082928a3e4df2" args="() const=0" -->
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">virtual void* xercesc::DOMError::getRelatedException </td>
|
|
<td>(</td>
|
|
<td class="paramname"> </td>
|
|
<td> ) </td>
|
|
<td width="100%"> const<code> [pure virtual]</code></td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
<div class="memdoc">
|
|
|
|
<p>
|
|
The related platform dependent exception if any.
|
|
<p>
|
|
<b>"Experimental - subject to change"</b><p>
|
|
<dl class="see" compact><dt><b>See also:</b></dt><dd><a class="el" href="classxercesc_1_1DOMError.html#fb68a6adfee873fca8d9be5d26de7412">setRelatedException</a> </dd></dl>
|
|
<dl class="since" compact><dt><b>Since:</b></dt><dd>DOM Level 3 </dd></dl>
|
|
|
|
</div>
|
|
</div><p>
|
|
<a class="anchor" name="276b62a731c3bd37fc8cffe523085431"></a><!-- doxytag: member="xercesc::DOMError::getType" ref="276b62a731c3bd37fc8cffe523085431" args="() const=0" -->
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">virtual const XMLCh* xercesc::DOMError::getType </td>
|
|
<td>(</td>
|
|
<td class="paramname"> </td>
|
|
<td> ) </td>
|
|
<td width="100%"> const<code> [pure virtual]</code></td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
<div class="memdoc">
|
|
|
|
<p>
|
|
A <code>XMLCh*</code> indicating which related data is expected in relatedData.
|
|
<p>
|
|
Users should refer to the specification of the error in order to find its <code>XMLCh*</code> type and relatedData definitions if any.<p>
|
|
Note: As an example, [DOM Level 3 Load and Save] does not keep the [baseURI] property defined on a Processing Instruction information item. Therefore, the <a class="el" href="classxercesc_1_1DOMBuilder.html">DOMBuilder</a> generates a SEVERITY_WARNING with type "infoset-baseURI" and the lost [baseURI] property represented as a DOMString in the relatedData attribute.<p>
|
|
<b>"Experimental - subject to change"</b><p>
|
|
<dl class="see" compact><dt><b>See also:</b></dt><dd><a class="el" href="classxercesc_1_1DOMError.html#4af03bb2900037afd722612b1f60e769">setType</a> </dd></dl>
|
|
<dl class="since" compact><dt><b>Since:</b></dt><dd>DOM Level 3 </dd></dl>
|
|
|
|
</div>
|
|
</div><p>
|
|
<a class="anchor" name="4071104da06ac3f5f27ccb59c3504357"></a><!-- doxytag: member="xercesc::DOMError::getRelatedData" ref="4071104da06ac3f5f27ccb59c3504357" args="() const=0" -->
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">virtual void* xercesc::DOMError::getRelatedData </td>
|
|
<td>(</td>
|
|
<td class="paramname"> </td>
|
|
<td> ) </td>
|
|
<td width="100%"> const<code> [pure virtual]</code></td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
<div class="memdoc">
|
|
|
|
<p>
|
|
The related DOMError.type dependent data if any.
|
|
<p>
|
|
<b>"Experimental - subject to change"</b><p>
|
|
<dl class="see" compact><dt><b>See also:</b></dt><dd><a class="el" href="classxercesc_1_1DOMError.html#c050664cbeb482f2dd5a9a7ea005c7da">setRelatedData</a> </dd></dl>
|
|
<dl class="since" compact><dt><b>Since:</b></dt><dd>DOM Level 3 </dd></dl>
|
|
|
|
</div>
|
|
</div><p>
|
|
<a class="anchor" name="847ad3bb2769dec8cfad6555b9f774fa"></a><!-- doxytag: member="xercesc::DOMError::setSeverity" ref="847ad3bb2769dec8cfad6555b9f774fa" args="(const short severity)=0" -->
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">virtual void xercesc::DOMError::setSeverity </td>
|
|
<td>(</td>
|
|
<td class="paramtype">const short </td>
|
|
<td class="paramname"> <em>severity</em> </td>
|
|
<td> ) </td>
|
|
<td width="100%"><code> [pure virtual]</code></td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
<div class="memdoc">
|
|
|
|
<p>
|
|
Set the severity of the error.
|
|
<p>
|
|
<b>"Experimental - subject to change"</b><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>severity</em> </td><td>the type of the error to set </td></tr>
|
|
</table>
|
|
</dl>
|
|
<dl class="see" compact><dt><b>See also:</b></dt><dd><a class="el" href="classxercesc_1_1DOMError.html#594207a115959a600315412075ffa260">getLocation</a> </dd></dl>
|
|
<dl class="since" compact><dt><b>Since:</b></dt><dd>DOM Level 3 </dd></dl>
|
|
|
|
</div>
|
|
</div><p>
|
|
<a class="anchor" name="e5818cbc906526e411ce3b308360483e"></a><!-- doxytag: member="xercesc::DOMError::setMessage" ref="e5818cbc906526e411ce3b308360483e" args="(const XMLCh *const message)=0" -->
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">virtual void xercesc::DOMError::setMessage </td>
|
|
<td>(</td>
|
|
<td class="paramtype">const XMLCh *const </td>
|
|
<td class="paramname"> <em>message</em> </td>
|
|
<td> ) </td>
|
|
<td width="100%"><code> [pure virtual]</code></td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
<div class="memdoc">
|
|
|
|
<p>
|
|
Set the error message.
|
|
<p>
|
|
<b>"Experimental - subject to change"</b><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>message</em> </td><td>the error message to set. </td></tr>
|
|
</table>
|
|
</dl>
|
|
<dl class="see" compact><dt><b>See also:</b></dt><dd><a class="el" href="classxercesc_1_1DOMError.html#725c04cf648c53b0ce17d01961ce6524">getMessage</a> </dd></dl>
|
|
<dl class="since" compact><dt><b>Since:</b></dt><dd>DOM Level 3 </dd></dl>
|
|
|
|
</div>
|
|
</div><p>
|
|
<a class="anchor" name="5d0f10e535c5c624378c6c311a15cea3"></a><!-- doxytag: member="xercesc::DOMError::setLocation" ref="5d0f10e535c5c624378c6c311a15cea3" args="(DOMLocator *const location)=0" -->
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">virtual void xercesc::DOMError::setLocation </td>
|
|
<td>(</td>
|
|
<td class="paramtype"><a class="el" href="classxercesc_1_1DOMLocator.html">DOMLocator</a> *const </td>
|
|
<td class="paramname"> <em>location</em> </td>
|
|
<td> ) </td>
|
|
<td width="100%"><code> [pure virtual]</code></td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
<div class="memdoc">
|
|
|
|
<p>
|
|
Set the location of the error.
|
|
<p>
|
|
<b>"Experimental - subject to change"</b><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>location</em> </td><td>the location of the error to set. </td></tr>
|
|
</table>
|
|
</dl>
|
|
<dl class="see" compact><dt><b>See also:</b></dt><dd><a class="el" href="classxercesc_1_1DOMError.html#594207a115959a600315412075ffa260">getLocation</a> </dd></dl>
|
|
<dl class="since" compact><dt><b>Since:</b></dt><dd>DOM Level 3 </dd></dl>
|
|
|
|
</div>
|
|
</div><p>
|
|
<a class="anchor" name="fb68a6adfee873fca8d9be5d26de7412"></a><!-- doxytag: member="xercesc::DOMError::setRelatedException" ref="fb68a6adfee873fca8d9be5d26de7412" args="(void *exc) const=0" -->
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">virtual void xercesc::DOMError::setRelatedException </td>
|
|
<td>(</td>
|
|
<td class="paramtype">void * </td>
|
|
<td class="paramname"> <em>exc</em> </td>
|
|
<td> ) </td>
|
|
<td width="100%"> const<code> [pure virtual]</code></td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
<div class="memdoc">
|
|
|
|
<p>
|
|
The related platform dependent exception if any.
|
|
<p>
|
|
<b>"Experimental - subject to change"</b><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>exc</em> </td><td>the related exception to set. </td></tr>
|
|
</table>
|
|
</dl>
|
|
<dl class="see" compact><dt><b>See also:</b></dt><dd><a class="el" href="classxercesc_1_1DOMError.html#6c456fd5a32526c49e0082928a3e4df2">getRelatedException</a> </dd></dl>
|
|
<dl class="since" compact><dt><b>Since:</b></dt><dd>DOM Level 3 </dd></dl>
|
|
|
|
</div>
|
|
</div><p>
|
|
<a class="anchor" name="4af03bb2900037afd722612b1f60e769"></a><!-- doxytag: member="xercesc::DOMError::setType" ref="4af03bb2900037afd722612b1f60e769" args="(const XMLCh *type)=0" -->
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">virtual void xercesc::DOMError::setType </td>
|
|
<td>(</td>
|
|
<td class="paramtype">const XMLCh * </td>
|
|
<td class="paramname"> <em>type</em> </td>
|
|
<td> ) </td>
|
|
<td width="100%"><code> [pure virtual]</code></td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
<div class="memdoc">
|
|
|
|
<p>
|
|
A <code>XMLCh*</code> indicating which related data is expected in relatedData.
|
|
<p>
|
|
Users should refer to the specification of the error in order to find its <code>XMLCh*</code> type and relatedData definitions if any.<p>
|
|
Note: As an example, [DOM Level 3 Load and Save] does not keep the [baseURI] property defined on a Processing Instruction information item. Therefore, the <a class="el" href="classxercesc_1_1DOMBuilder.html">DOMBuilder</a> generates a SEVERITY_WARNING with type "infoset-baseURI" and the lost [baseURI] property represented as a DOMString in the relatedData attribute.<p>
|
|
<b>"Experimental - subject to change"</b><p>
|
|
<dl class="see" compact><dt><b>See also:</b></dt><dd><a class="el" href="classxercesc_1_1DOMError.html#276b62a731c3bd37fc8cffe523085431">getType</a> </dd></dl>
|
|
<dl class="since" compact><dt><b>Since:</b></dt><dd>DOM Level 3 </dd></dl>
|
|
|
|
</div>
|
|
</div><p>
|
|
<a class="anchor" name="c050664cbeb482f2dd5a9a7ea005c7da"></a><!-- doxytag: member="xercesc::DOMError::setRelatedData" ref="c050664cbeb482f2dd5a9a7ea005c7da" args="(void *relatedData)=0" -->
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">virtual void xercesc::DOMError::setRelatedData </td>
|
|
<td>(</td>
|
|
<td class="paramtype">void * </td>
|
|
<td class="paramname"> <em>relatedData</em> </td>
|
|
<td> ) </td>
|
|
<td width="100%"><code> [pure virtual]</code></td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
<div class="memdoc">
|
|
|
|
<p>
|
|
The related DOMError.type dependent data if any.
|
|
<p>
|
|
<b>"Experimental - subject to change"</b><p>
|
|
<dl class="see" compact><dt><b>See also:</b></dt><dd><a class="el" href="classxercesc_1_1DOMError.html#4071104da06ac3f5f27ccb59c3504357">getRelatedData</a> </dd></dl>
|
|
<dl class="since" compact><dt><b>Since:</b></dt><dd>DOM Level 3 </dd></dl>
|
|
|
|
</div>
|
|
</div><p>
|
|
<hr>The documentation for this class was generated from the following file:<ul>
|
|
<li><a class="el" href="DOMError_8hpp-source.html">DOMError.hpp</a></ul>
|
|
<hr size="1"><address style="align: right;"><small>Generated on Tue Apr 8 14:29:46 2008 for XQilla DOM Level 3 API by
|
|
<a href="http://www.doxygen.org/index.html">
|
|
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.1 </small></address>
|
|
</body>
|
|
</html>
|