Xalan-C++ API Documentation

The Xalan C++ XSLT Processor Version 1.10

TreeWalker.hpp
Go to the documentation of this file.
1 /*
2  * Copyright 1999-2004 The Apache Software Foundation.
3  *
4  * Licensed under the Apache License, Version 2.0 (the "License");
5  * you may not use this file except in compliance with the License.
6  * You may obtain a copy of the License at
7  *
8  * http://www.apache.org/licenses/LICENSE-2.0
9  *
10  * Unless required by applicable law or agreed to in writing, software
11  * distributed under the License is distributed on an "AS IS" BASIS,
12  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13  * See the License for the specific language governing permissions and
14  * limitations under the License.
15  */
16 #if !defined(TREEWALKER_HEADER_GUARD_1357924680)
17 #define TREEWALKER_HEADER_GUARD_1357924680
18 
19 
20 
21 // Base include file. Must be first.
23 
24 
25 
26 XALAN_CPP_NAMESPACE_BEGIN
27 
28 
29 
30 class XalanNode;
31 
32 
33 
35 {
36 public:
37 
41  TreeWalker();
42 
43  virtual
44  ~TreeWalker();
45 
61  const XalanNode*
62  traverse(const XalanNode* pos);
63 
79  XalanNode*
80  traverse(XalanNode* pos);
81 
99  const XalanNode*
100  traverse(
101  const XalanNode* pos,
102  const XalanNode* parent);
103 
121  XalanNode*
122  traverse(
123  XalanNode* pos,
124  XalanNode* parent);
125 
131  virtual void
132  traverseSubtree(const XalanNode* pos);
133 
139  virtual void
140  traverseSubtree(XalanNode* pos);
141 
142 protected:
143 
151  virtual bool
152  startNode(const XalanNode* node) = 0;
153 
161  virtual bool
162  startNode(XalanNode* node) = 0;
163 
171  virtual bool
172  endNode(const XalanNode* node) = 0;
173 
181  virtual bool
182  endNode(XalanNode* node) = 0;
183 
184 private:
185 };
186 
187 
188 
189 XALAN_CPP_NAMESPACE_END
190 
191 
192 
193 #endif // TREEWALKER_HEADER_GUARD_1357924680

Interpreting class diagrams

Doxygen and GraphViz are used to generate this API documentation from the Xalan-C header files.

dot

Xalan-C++ XSLT Processor Version 1.10
Copyright © 1999-2004 The Apache Software Foundation. All Rights Reserved.

Apache Logo