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

115 lines
9.7 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&amp;type=2" border="0" alt="SourceForge.net Logo" /></a>
<!-- Generated by Doxygen 1.3.9.1 -->
<div class="qindex"><a class="qindex" href="index.html">Main&nbsp;Page</a> | <a class="qindex" href="namespaces.html">Namespace List</a> | <a class="qindex" href="hierarchy.html">Class&nbsp;Hierarchy</a> | <a class="qindex" href="classes.html">Alphabetical&nbsp;List</a> | <a class="qindex" href="annotated.html">Class&nbsp;List</a> | <a class="qindex" href="dirs.html">Directories</a> | <a class="qindex" href="files.html">File&nbsp;List</a> | <a class="qindex" href="namespacemembers.html">Namespace&nbsp;Members</a> | <a class="qindex" href="functions.html">Class&nbsp;Members</a> | <a class="qindex" href="globals.html">File&nbsp;Members</a> | <a class="qindex" href="examples.html">Examples</a></div>
<div class="nav">
<a class="el" href="dir_000000.html">xerces-c-3.0.1</a>&nbsp;/&nbsp;<a class="el" href="dir_000001.html">src</a>&nbsp;/&nbsp;<a class="el" href="dir_000002.html">xercesc</a>&nbsp;/&nbsp;<a class="el" href="dir_000003.html">dom</a></div>
<h1>DOMTreeWalker.hpp</h1><a href="DOMTreeWalker_8hpp.html">Go to the documentation of this file.</a><div class="fragment"><pre class="fragment">00001 <span class="comment">/*</span>
00002 <span class="comment"> * Licensed to the Apache Software Foundation (ASF) under one or more</span>
00003 <span class="comment"> * contributor license agreements. See the NOTICE file distributed with</span>
00004 <span class="comment"> * this work for additional information regarding copyright ownership.</span>
00005 <span class="comment"> * The ASF licenses this file to You under the Apache License, Version 2.0</span>
00006 <span class="comment"> * (the "License"); you may not use this file except in compliance with</span>
00007 <span class="comment"> * the License. You may obtain a copy of the License at</span>
00008 <span class="comment"> *</span>
00009 <span class="comment"> * http://www.apache.org/licenses/LICENSE-2.0</span>
00010 <span class="comment"> *</span>
00011 <span class="comment"> * Unless required by applicable law or agreed to in writing, software</span>
00012 <span class="comment"> * distributed under the License is distributed on an "AS IS" BASIS,</span>
00013 <span class="comment"> * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.</span>
00014 <span class="comment"> * See the License for the specific language governing permissions and</span>
00015 <span class="comment"> * limitations under the License.</span>
00016 <span class="comment"> */</span>
00017
00018 <span class="comment">/*</span>
00019 <span class="comment"> * $Id: DOMTreeWalker.hpp 671894 2008-06-26 13:29:21Z borisk $</span>
00020 <span class="comment"> */</span>
00021
00022 <span class="preprocessor">#if !defined(XERCESC_INCLUDE_GUARD_DOMTREEWALKER_HPP)</span>
<a name="l00023"></a><a class="code" href="DOMTreeWalker_8hpp.html#a0">00023</a> <span class="preprocessor"></span><span class="preprocessor">#define XERCESC_INCLUDE_GUARD_DOMTREEWALKER_HPP</span>
00024 <span class="preprocessor"></span>
00025 <span class="preprocessor">#include &lt;<a class="code" href="DOMNode_8hpp.html">xercesc/dom/DOMNode.hpp</a>&gt;</span>
00026 <span class="preprocessor">#include &lt;<a class="code" href="DOMNodeFilter_8hpp.html">xercesc/dom/DOMNodeFilter.hpp</a>&gt;</span>
00027
00028 XERCES_CPP_NAMESPACE_BEGIN
00029
00030
<a name="l00050"></a><a class="code" href="classxercesc_1_1DOMTreeWalker.html">00050</a> <span class="keyword">class </span>CDOM_EXPORT DOMTreeWalker {
00051 <span class="keyword">protected</span>:
00052 <span class="comment">// -----------------------------------------------------------------------</span>
00053 <span class="comment">// Hidden constructors</span>
00054 <span class="comment">// -----------------------------------------------------------------------</span>
<a name="l00057"></a><a class="code" href="classxercesc_1_1DOMTreeWalker.html#z439_0">00057</a> <span class="comment"></span> DOMTreeWalker() {}
<a name="l00058"></a><a class="code" href="classxercesc_1_1DOMTreeWalker.html#z439_1">00058</a> DOMTreeWalker(<span class="keyword">const</span> DOMTreeWalker &amp;) {}
00060
00061 <span class="keyword">private</span>:
00062 <span class="comment">// -----------------------------------------------------------------------</span>
00063 <span class="comment">// Unimplemented constructors and operators</span>
00064 <span class="comment">// -----------------------------------------------------------------------</span>
00067 <span class="comment"></span> DOMTreeWalker &amp; operator = (<span class="keyword">const</span> DOMTreeWalker &amp;);
00069
00070 <span class="keyword">public</span>:
00071 <span class="comment">// -----------------------------------------------------------------------</span>
00072 <span class="comment">// All constructors are hidden, just the destructor is available</span>
00073 <span class="comment">// -----------------------------------------------------------------------</span>
<a name="l00080"></a><a class="code" href="classxercesc_1_1DOMTreeWalker.html#z443_0">00080</a> <span class="comment"></span> <span class="keyword">virtual</span> ~DOMTreeWalker() {};
00082
00083 <span class="comment">// -----------------------------------------------------------------------</span>
00084 <span class="comment">// Virtual DOMTreeWalker interface</span>
00085 <span class="comment">// -----------------------------------------------------------------------</span>
00088 <span class="comment"></span> <span class="comment">// -----------------------------------------------------------------------</span>
00089 <span class="comment">// Getter methods</span>
00090 <span class="comment">// -----------------------------------------------------------------------</span>
00091
00098 <span class="keyword">virtual</span> <a class="code" href="classxercesc_1_1DOMNode.html">DOMNode</a>* getRoot() = 0;
00109 <span class="keyword">virtual</span> DOMNodeFilter::ShowType getWhatToShow()= 0;
00110
00116 <span class="keyword">virtual</span> <a class="code" href="classxercesc_1_1DOMNodeFilter.html">DOMNodeFilter</a>* getFilter()= 0;
00117
00135 <span class="keyword">virtual</span> <span class="keywordtype">bool</span> getExpandEntityReferences()= 0;
00136
00142 <span class="keyword">virtual</span> <a class="code" href="classxercesc_1_1DOMNode.html">DOMNode</a>* getCurrentNode()= 0;
00143
00144 <span class="comment">// -----------------------------------------------------------------------</span>
00145 <span class="comment">// Query methods</span>
00146 <span class="comment">// -----------------------------------------------------------------------</span>
00158 <span class="comment"></span> <span class="keyword">virtual</span> <a class="code" href="classxercesc_1_1DOMNode.html">DOMNode</a>* parentNode()= 0;
00159
00170 <span class="keyword">virtual</span> <a class="code" href="classxercesc_1_1DOMNode.html">DOMNode</a>* firstChild()= 0;
00171
00182 <span class="keyword">virtual</span> <a class="code" href="classxercesc_1_1DOMNode.html">DOMNode</a>* lastChild()= 0;
00183
00194 <span class="keyword">virtual</span> <a class="code" href="classxercesc_1_1DOMNode.html">DOMNode</a>* previousSibling()= 0;
00195
00205 <span class="keyword">virtual</span> <a class="code" href="classxercesc_1_1DOMNode.html">DOMNode</a>* nextSibling()= 0;
00206
00219 <span class="keyword">virtual</span> <a class="code" href="classxercesc_1_1DOMNode.html">DOMNode</a>* previousNode()= 0;
00220
00232 <span class="keyword">virtual</span> <a class="code" href="classxercesc_1_1DOMNode.html">DOMNode</a>* nextNode()= 0;
00233
00234 <span class="comment">// -----------------------------------------------------------------------</span>
00235 <span class="comment">// Setter methods</span>
00236 <span class="comment">// -----------------------------------------------------------------------</span>
00254 <span class="comment"></span> <span class="keyword">virtual</span> <span class="keywordtype">void</span> setCurrentNode(<a class="code" href="classxercesc_1_1DOMNode.html">DOMNode</a>* currentNode)= 0;
00256
00257 <span class="comment">// -----------------------------------------------------------------------</span>
00258 <span class="comment">// Non-standard Extension</span>
00259 <span class="comment">// -----------------------------------------------------------------------</span>
00268 <span class="comment"></span> <span class="keyword">virtual</span> <span class="keywordtype">void</span> release() = 0;
00270 };
00271
<a name="l00272"></a><a class="code" href="DOMTreeWalker_8hpp.html#a1">00272</a> <span class="preprocessor">#define GetDOMTreeWalkerMemoryManager GET_INDIRECT_MM(fCurrentNode)</span>
00273 <span class="preprocessor"></span>
00274 XERCES_CPP_NAMESPACE_END
00275
00276 <span class="preprocessor">#endif</span>
</pre></div><hr size="1"><address style="align: right;"><small>Generated on Fri Sep 25 06:55:48 2009 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.3.9.1 </small></address>
</body>
</html>