XQuilla/docs/dom3-api/DOMError_8hpp-source.html
2020-02-17 22:08:05 +01:00

127 lines
11 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: DOMError.hpp Source File</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><a href="classes.html"><span>Classes</span></a></li>
<li id="current"><a href="files.html"><span>Files</span></a></li>
</ul></div>
<div class="tabs">
<ul>
<li><a href="files.html"><span>File&nbsp;List</span></a></li>
<li><a href="globals.html"><span>File&nbsp;Members</span></a></li>
</ul></div>
<h1>DOMError.hpp</h1><a href="DOMError_8hpp.html">Go to the documentation of this file.</a><div class="fragment"><pre class="fragment"><a name="l00001"></a>00001 <span class="preprocessor">#ifndef DOMError_HEADER_GUARD_</span>
<a name="l00002"></a>00002 <span class="preprocessor"></span><span class="preprocessor">#define DOMError_HEADER_GUARD_</span>
<a name="l00003"></a>00003 <span class="preprocessor"></span>
<a name="l00004"></a>00004 <span class="comment">/*</span>
<a name="l00005"></a>00005 <span class="comment"> * Copyright 2002,2004 The Apache Software Foundation.</span>
<a name="l00006"></a>00006 <span class="comment"> * </span>
<a name="l00007"></a>00007 <span class="comment"> * Licensed under the Apache License, Version 2.0 (the "License");</span>
<a name="l00008"></a>00008 <span class="comment"> * you may not use this file except in compliance with the License.</span>
<a name="l00009"></a>00009 <span class="comment"> * You may obtain a copy of the License at</span>
<a name="l00010"></a>00010 <span class="comment"> * </span>
<a name="l00011"></a>00011 <span class="comment"> * http://www.apache.org/licenses/LICENSE-2.0</span>
<a name="l00012"></a>00012 <span class="comment"> * </span>
<a name="l00013"></a>00013 <span class="comment"> * Unless required by applicable law or agreed to in writing, software</span>
<a name="l00014"></a>00014 <span class="comment"> * distributed under the License is distributed on an "AS IS" BASIS,</span>
<a name="l00015"></a>00015 <span class="comment"> * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.</span>
<a name="l00016"></a>00016 <span class="comment"> * See the License for the specific language governing permissions and</span>
<a name="l00017"></a>00017 <span class="comment"> * limitations under the License.</span>
<a name="l00018"></a>00018 <span class="comment"> */</span>
<a name="l00019"></a>00019
<a name="l00020"></a>00020 <span class="comment">/*</span>
<a name="l00021"></a>00021 <span class="comment"> * $Id: DOMError.hpp 191054 2005-06-17 02:56:35Z jberry $</span>
<a name="l00022"></a>00022 <span class="comment"> */</span>
<a name="l00023"></a>00023
<a name="l00024"></a>00024
<a name="l00025"></a>00025 <span class="preprocessor">#include &lt;xercesc/util/XercesDefs.hpp&gt;</span>
<a name="l00026"></a>00026
<a name="l00027"></a>00027 XERCES_CPP_NAMESPACE_BEGIN
<a name="l00028"></a>00028
<a name="l00029"></a>00029 <span class="keyword">class </span>DOMLocator;
<a name="l00030"></a>00030
<a name="l00031"></a>00031
<a name="l00039"></a><a class="code" href="classxercesc_1_1DOMError.html">00039</a> <span class="keyword">class </span>CDOM_EXPORT <a class="code" href="classxercesc_1_1DOMError.html">DOMError</a>
<a name="l00040"></a>00040 {
<a name="l00041"></a>00041 <span class="keyword">protected</span>:
<a name="l00042"></a>00042 <span class="comment">// -----------------------------------------------------------------------</span>
<a name="l00043"></a>00043 <span class="comment">// Hidden constructors</span>
<a name="l00044"></a>00044 <span class="comment">// -----------------------------------------------------------------------</span>
<a name="l00047"></a><a class="code" href="classxercesc_1_1DOMError.html#80ab02454c9a7bb8e26e003b6956b367">00047</a> <span class="comment"></span> <a class="code" href="classxercesc_1_1DOMError.html">DOMError</a>() {};
<a name="l00049"></a>00049
<a name="l00050"></a>00050 <span class="keyword">private</span>:
<a name="l00051"></a>00051 <span class="comment">// -----------------------------------------------------------------------</span>
<a name="l00052"></a>00052 <span class="comment">// Unimplemented constructors and operators</span>
<a name="l00053"></a>00053 <span class="comment">// -----------------------------------------------------------------------</span>
<a name="l00056"></a>00056 <span class="comment"></span> <a class="code" href="classxercesc_1_1DOMError.html">DOMError</a>(<span class="keyword">const</span> <a class="code" href="classxercesc_1_1DOMError.html">DOMError</a> &amp;);
<a name="l00057"></a>00057 <a class="code" href="classxercesc_1_1DOMError.html">DOMError</a> &amp; operator = (<span class="keyword">const</span> <a class="code" href="classxercesc_1_1DOMError.html">DOMError</a> &amp;);
<a name="l00059"></a>00059
<a name="l00060"></a>00060 <span class="keyword">public</span>:
<a name="l00061"></a>00061 <span class="comment">// -----------------------------------------------------------------------</span>
<a name="l00062"></a>00062 <span class="comment">// All constructors are hidden, just the destructor is available</span>
<a name="l00063"></a>00063 <span class="comment">// -----------------------------------------------------------------------</span>
<a name="l00070"></a><a class="code" href="classxercesc_1_1DOMError.html#8887c14def49d790f176ca19dcac5a1d">00070</a> <span class="comment"></span> <span class="keyword">virtual</span> ~<a class="code" href="classxercesc_1_1DOMError.html">DOMError</a>() {};
<a name="l00072"></a>00072
<a name="l00073"></a>00073 <span class="comment">// -----------------------------------------------------------------------</span>
<a name="l00074"></a>00074 <span class="comment">// Class types</span>
<a name="l00075"></a>00075 <span class="comment">// -----------------------------------------------------------------------</span>
<a name="l00083"></a><a class="code" href="classxercesc_1_1DOMError.html#2ee4056c45823760a3d9af523c263255">00083</a> <span class="comment"></span> <span class="keyword">enum</span> <a class="code" href="classxercesc_1_1DOMError.html#2ee4056c45823760a3d9af523c263255">ErrorSeverity</a>
<a name="l00084"></a>00084 {
<a name="l00085"></a>00085 DOM_SEVERITY_WARNING = 0,
<a name="l00086"></a>00086 DOM_SEVERITY_ERROR = 1,
<a name="l00087"></a>00087 DOM_SEVERITY_FATAL_ERROR = 2
<a name="l00088"></a>00088 };
<a name="l00090"></a>00090
<a name="l00091"></a>00091
<a name="l00092"></a>00092 <span class="comment">// -----------------------------------------------------------------------</span>
<a name="l00093"></a>00093 <span class="comment">// Virtual DOMError interface</span>
<a name="l00094"></a>00094 <span class="comment">// -----------------------------------------------------------------------</span>
<a name="l00097"></a>00097 <span class="comment"></span> <span class="comment">// -----------------------------------------------------------------------</span>
<a name="l00098"></a>00098 <span class="comment">// Getter methods</span>
<a name="l00099"></a>00099 <span class="comment">// -----------------------------------------------------------------------</span>
<a name="l00108"></a>00108 <span class="comment"></span> <span class="keyword">virtual</span> <span class="keywordtype">short</span> getSeverity() <span class="keyword">const </span>= 0;
<a name="l00109"></a>00109
<a name="l00118"></a>00118 <span class="keyword">virtual</span> <span class="keyword">const</span> XMLCh* getMessage() <span class="keyword">const </span>= 0;
<a name="l00119"></a>00119
<a name="l00128"></a>00128 <span class="keyword">virtual</span> <a class="code" href="classxercesc_1_1DOMLocator.html">DOMLocator</a>* getLocation() <span class="keyword">const </span>= 0;
<a name="l00129"></a>00129
<a name="l00138"></a>00138 <span class="keyword">virtual</span> <span class="keywordtype">void</span>* getRelatedException() <span class="keyword">const </span>= 0;
<a name="l00139"></a>00139
<a name="l00157"></a>00157 <span class="keyword">virtual</span> <span class="keyword">const</span> XMLCh* getType() <span class="keyword">const </span>= 0;
<a name="l00158"></a>00158
<a name="l00167"></a>00167 <span class="keyword">virtual</span> <span class="keywordtype">void</span>* getRelatedData() <span class="keyword">const </span>= 0;
<a name="l00168"></a>00168
<a name="l00169"></a>00169
<a name="l00170"></a>00170 <span class="comment">// -----------------------------------------------------------------------</span>
<a name="l00171"></a>00171 <span class="comment">// Setter methods</span>
<a name="l00172"></a>00172 <span class="comment">// -----------------------------------------------------------------------</span>
<a name="l00182"></a>00182 <span class="comment"></span> <span class="keyword">virtual</span> <span class="keywordtype">void</span> setSeverity(<span class="keyword">const</span> <span class="keywordtype">short</span> severity) = 0;
<a name="l00183"></a>00183
<a name="l00193"></a>00193 <span class="keyword">virtual</span> <span class="keywordtype">void</span> setMessage(<span class="keyword">const</span> XMLCh* <span class="keyword">const</span> message) = 0;
<a name="l00194"></a>00194
<a name="l00204"></a>00204 <span class="keyword">virtual</span> <span class="keywordtype">void</span> setLocation(<a class="code" href="classxercesc_1_1DOMLocator.html">DOMLocator</a>* <span class="keyword">const</span> location) = 0;
<a name="l00205"></a>00205
<a name="l00215"></a>00215 <span class="keyword">virtual</span> <span class="keywordtype">void</span> setRelatedException(<span class="keywordtype">void</span>* exc) <span class="keyword">const </span>= 0;
<a name="l00216"></a>00216
<a name="l00234"></a>00234 <span class="keyword">virtual</span> <span class="keywordtype">void</span> setType(<span class="keyword">const</span> XMLCh* type) = 0;
<a name="l00235"></a>00235
<a name="l00244"></a>00244 <span class="keyword">virtual</span> <span class="keywordtype">void</span> setRelatedData(<span class="keywordtype">void</span>* relatedData) = 0;
<a name="l00245"></a>00245
<a name="l00247"></a>00247
<a name="l00248"></a>00248 };
<a name="l00249"></a>00249
<a name="l00250"></a>00250 XERCES_CPP_NAMESPACE_END
<a name="l00251"></a>00251
<a name="l00252"></a>00252 <span class="preprocessor">#endif</span>
</pre></div><hr size="1"><address style="align: right;"><small>Generated on Mon Feb 12 16:52:11 2007 for XQilla DOM Level 3 API by&nbsp;
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.6 </small></address>
</body>
</html>