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

148 lines
14 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: DOMElement.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>DOMElement.hpp</h1><a href="DOMElement_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 DOMElement_HEADER_GUARD_</span>
<a name="l00002"></a>00002 <span class="preprocessor"></span><span class="preprocessor">#define DOMElement_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 2001-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: DOMElement.hpp 176280 2005-01-07 15:32:34Z amassari $</span>
<a name="l00022"></a>00022 <span class="comment"> */</span>
<a name="l00023"></a>00023
<a name="l00024"></a>00024 <span class="preprocessor">#include &lt;xercesc/util/XercesDefs.hpp&gt;</span>
<a name="l00025"></a>00025 <span class="preprocessor">#include &lt;<a class="code" href="DOMNode_8hpp.html">xercesc/dom/DOMNode.hpp</a>&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
<a name="l00030"></a>00030 <span class="keyword">class </span>DOMAttr;
<a name="l00031"></a>00031 <span class="keyword">class </span>DOMNodeList;
<a name="l00032"></a>00032 <span class="keyword">class </span>DOMTypeInfo;
<a name="l00033"></a>00033
<a name="l00034"></a>00034
<a name="l00062"></a><a class="code" href="classxercesc_1_1DOMElement.html">00062</a> <span class="keyword">class </span>CDOM_EXPORT <a class="code" href="classxercesc_1_1DOMElement.html">DOMElement</a>: <span class="keyword">public</span> <a class="code" href="classxercesc_1_1DOMNode.html">DOMNode</a> {
<a name="l00063"></a>00063 <span class="keyword">protected</span>:
<a name="l00064"></a>00064 <span class="comment">// -----------------------------------------------------------------------</span>
<a name="l00065"></a>00065 <span class="comment">// Hidden constructors</span>
<a name="l00066"></a>00066 <span class="comment">// -----------------------------------------------------------------------</span>
<a name="l00069"></a><a class="code" href="classxercesc_1_1DOMElement.html#164ac09569974d71cd8717f8ec3ce859">00069</a> <span class="comment"></span> <a class="code" href="classxercesc_1_1DOMElement.html">DOMElement</a>() {}
<a name="l00070"></a><a class="code" href="classxercesc_1_1DOMElement.html#8d73c64f17c99af7d470b92876bdb4f3">00070</a> <a class="code" href="classxercesc_1_1DOMElement.html">DOMElement</a>(<span class="keyword">const</span> <a class="code" href="classxercesc_1_1DOMElement.html">DOMElement</a> &amp;other) : <a class="code" href="classxercesc_1_1DOMNode.html">DOMNode</a>(other) {}
<a name="l00072"></a>00072
<a name="l00073"></a>00073 <span class="keyword">private</span>:
<a name="l00074"></a>00074 <span class="comment">// -----------------------------------------------------------------------</span>
<a name="l00075"></a>00075 <span class="comment">// Unimplemented constructors and operators</span>
<a name="l00076"></a>00076 <span class="comment">// -----------------------------------------------------------------------</span>
<a name="l00079"></a>00079 <span class="comment"></span> <a class="code" href="classxercesc_1_1DOMElement.html">DOMElement</a> &amp; operator = (<span class="keyword">const</span> <a class="code" href="classxercesc_1_1DOMElement.html">DOMElement</a> &amp;);
<a name="l00081"></a>00081
<a name="l00082"></a>00082 <span class="keyword">public</span>:
<a name="l00083"></a>00083 <span class="comment">// -----------------------------------------------------------------------</span>
<a name="l00084"></a>00084 <span class="comment">// All constructors are hidden, just the destructor is available</span>
<a name="l00085"></a>00085 <span class="comment">// -----------------------------------------------------------------------</span>
<a name="l00092"></a><a class="code" href="classxercesc_1_1DOMElement.html#2032fad44d4a1a5c5a7c1371b1f81ba6">00092</a> <span class="comment"></span> <span class="keyword">virtual</span> ~<a class="code" href="classxercesc_1_1DOMElement.html">DOMElement</a>() {};
<a name="l00094"></a>00094
<a name="l00095"></a>00095 <span class="comment">// -----------------------------------------------------------------------</span>
<a name="l00096"></a>00096 <span class="comment">// Virtual DOMElement interface</span>
<a name="l00097"></a>00097 <span class="comment">// -----------------------------------------------------------------------</span>
<a name="l00100"></a>00100 <span class="comment"></span> <span class="comment">// -----------------------------------------------------------------------</span>
<a name="l00101"></a>00101 <span class="comment">// Getter methods</span>
<a name="l00102"></a>00102 <span class="comment">// -----------------------------------------------------------------------</span>
<a name="l00112"></a>00112 <span class="comment"></span> <span class="keyword">virtual</span> <span class="keyword">const</span> XMLCh * getTagName() <span class="keyword">const </span>= 0;
<a name="l00113"></a>00113
<a name="l00122"></a>00122 <span class="keyword">virtual</span> <span class="keyword">const</span> XMLCh * getAttribute(<span class="keyword">const</span> XMLCh *name) <span class="keyword">const </span>= 0;
<a name="l00123"></a>00123
<a name="l00132"></a>00132 <span class="keyword">virtual</span> <a class="code" href="classxercesc_1_1DOMAttr.html">DOMAttr</a> * getAttributeNode(<span class="keyword">const</span> XMLCh *name) <span class="keyword">const </span>= 0;
<a name="l00133"></a>00133
<a name="l00144"></a>00144 <span class="keyword">virtual</span> <a class="code" href="classxercesc_1_1DOMNodeList.html">DOMNodeList</a> * getElementsByTagName(<span class="keyword">const</span> XMLCh *name) <span class="keyword">const </span>= 0;
<a name="l00145"></a>00145
<a name="l00146"></a>00146 <span class="comment">// -----------------------------------------------------------------------</span>
<a name="l00147"></a>00147 <span class="comment">// Setter methods</span>
<a name="l00148"></a>00148 <span class="comment">// -----------------------------------------------------------------------</span>
<a name="l00171"></a>00171 <span class="comment"></span> <span class="keyword">virtual</span> <span class="keywordtype">void</span> setAttribute(<span class="keyword">const</span> XMLCh *name,
<a name="l00172"></a>00172 <span class="keyword">const</span> XMLCh *value) = 0;
<a name="l00193"></a>00193 <span class="keyword">virtual</span> <a class="code" href="classxercesc_1_1DOMAttr.html">DOMAttr</a> * setAttributeNode(<a class="code" href="classxercesc_1_1DOMAttr.html">DOMAttr</a> *newAttr) = 0;
<a name="l00194"></a>00194
<a name="l00211"></a>00211 <span class="keyword">virtual</span> <a class="code" href="classxercesc_1_1DOMAttr.html">DOMAttr</a> * removeAttributeNode(<a class="code" href="classxercesc_1_1DOMAttr.html">DOMAttr</a> *oldAttr) = 0;
<a name="l00212"></a>00212
<a name="l00226"></a>00226 <span class="keyword">virtual</span> <span class="keywordtype">void</span> removeAttribute(<span class="keyword">const</span> XMLCh *name) = 0;
<a name="l00228"></a>00228
<a name="l00242"></a>00242 <span class="keyword">virtual</span> <span class="keyword">const</span> XMLCh * getAttributeNS(<span class="keyword">const</span> XMLCh *namespaceURI,
<a name="l00243"></a>00243 <span class="keyword">const</span> XMLCh *localName) <span class="keyword">const </span>= 0;
<a name="l00244"></a>00244
<a name="l00284"></a>00284 <span class="keyword">virtual</span> <span class="keywordtype">void</span> setAttributeNS(<span class="keyword">const</span> XMLCh *namespaceURI,
<a name="l00285"></a>00285 <span class="keyword">const</span> XMLCh *qualifiedName, <span class="keyword">const</span> XMLCh *value) = 0;
<a name="l00286"></a>00286
<a name="l00301"></a>00301 <span class="keyword">virtual</span> <span class="keywordtype">void</span> removeAttributeNS(<span class="keyword">const</span> XMLCh *namespaceURI,
<a name="l00302"></a>00302 <span class="keyword">const</span> XMLCh *localName) = 0;
<a name="l00303"></a>00303
<a name="l00315"></a>00315 <span class="keyword">virtual</span> <a class="code" href="classxercesc_1_1DOMAttr.html">DOMAttr</a> * getAttributeNodeNS(<span class="keyword">const</span> XMLCh *namespaceURI,
<a name="l00316"></a>00316 <span class="keyword">const</span> XMLCh *localName) <span class="keyword">const </span>= 0;
<a name="l00317"></a>00317
<a name="l00339"></a>00339 <span class="keyword">virtual</span> <a class="code" href="classxercesc_1_1DOMAttr.html">DOMAttr</a> * setAttributeNodeNS(<a class="code" href="classxercesc_1_1DOMAttr.html">DOMAttr</a> *newAttr) = 0;
<a name="l00340"></a>00340
<a name="l00356"></a>00356 <span class="keyword">virtual</span> <a class="code" href="classxercesc_1_1DOMNodeList.html">DOMNodeList</a> * getElementsByTagNameNS(<span class="keyword">const</span> XMLCh *namespaceURI,
<a name="l00357"></a>00357 <span class="keyword">const</span> XMLCh *localName) <span class="keyword">const </span>= 0;
<a name="l00358"></a>00358
<a name="l00369"></a>00369 <span class="keyword">virtual</span> <span class="keywordtype">bool</span> hasAttribute(<span class="keyword">const</span> XMLCh *name) <span class="keyword">const </span>= 0;
<a name="l00370"></a>00370
<a name="l00383"></a>00383 <span class="keyword">virtual</span> <span class="keywordtype">bool</span> hasAttributeNS(<span class="keyword">const</span> XMLCh *namespaceURI,
<a name="l00384"></a>00384 <span class="keyword">const</span> XMLCh *localName) <span class="keyword">const </span>= 0;
<a name="l00386"></a>00386
<a name="l00389"></a>00389
<a name="l00408"></a>00408 <span class="keyword">virtual</span> <span class="keywordtype">void</span> setIdAttribute(<span class="keyword">const</span> XMLCh* name) = 0;
<a name="l00409"></a>00409
<a name="l00410"></a>00410
<a name="l00428"></a>00428 <span class="keyword">virtual</span> <span class="keywordtype">void</span> setIdAttributeNS(<span class="keyword">const</span> XMLCh* namespaceURI, <span class="keyword">const</span> XMLCh* localName) = 0;
<a name="l00429"></a>00429
<a name="l00430"></a>00430
<a name="l00431"></a>00431
<a name="l00447"></a>00447 <span class="keyword">virtual</span> <span class="keywordtype">void</span> setIdAttributeNode(<span class="keyword">const</span> <a class="code" href="classxercesc_1_1DOMAttr.html">DOMAttr</a> *idAttr) = 0;
<a name="l00448"></a>00448
<a name="l00449"></a>00449
<a name="l00450"></a>00450
<a name="l00459"></a>00459 <span class="keyword">virtual</span> <span class="keyword">const</span> <a class="code" href="classxercesc_1_1DOMTypeInfo.html">DOMTypeInfo</a>* getTypeInfo() <span class="keyword">const </span>= 0;
<a name="l00460"></a>00460
<a name="l00462"></a>00462
<a name="l00463"></a>00463 };
<a name="l00464"></a>00464
<a name="l00465"></a>00465 XERCES_CPP_NAMESPACE_END
<a name="l00466"></a>00466
<a name="l00467"></a>00467 <span class="preprocessor">#endif</span>
<a name="l00468"></a>00468 <span class="preprocessor"></span>
<a name="l00469"></a>00469
<a name="l00470"></a>00470
</pre></div><hr size="1"><address style="align: right;"><small>Generated on Tue Dec 12 00:19:01 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>