## Xalan-C++ API Documentation

### The Xalan C++ XSLT Processor Version 1.10

Main Page Class Hierarchy Alphabetical List Compound List File List Compound Members File Members

# TreeWalker.hpp

Go to the documentation of this file.

    00001 /*
    00002  * Copyright 1999-2004 The Apache Software Foundation.
    00003  *
    00004  * Licensed under the Apache License, Version 2.0 (the "License");
    00005  * you may not use this file except in compliance with the License.
    00006  * You may obtain a copy of the License at
    00007  *
    00008  *     http://www.apache.org/licenses/LICENSE-2.0
    00009  *
    00010  * Unless required by applicable law or agreed to in writing, software
    00011  * distributed under the License is distributed on an "AS IS" BASIS,
    00012  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
    00013  * See the License for the specific language governing permissions and
    00014  * limitations under the License.
    00015  */
    00016 #if !defined(TREEWALKER_HEADER_GUARD_1357924680)
    00017 #define TREEWALKER_HEADER_GUARD_1357924680
    00018
    00019
    00020
    00021 // Base include file.  Must be first.
    00022 #include <xalanc/DOMSupport/DOMSupportDefinitions.hpp>
    00023
    00024
    00025
    00026 XALAN_CPP_NAMESPACE_BEGIN
    00027
    00028
    00029
    00030 class XalanNode;
    00031
    00032
    00033
    00034 class XALAN_DOMSUPPORT_EXPORT TreeWalker
    00035 {
    00036 public:
    00037
    00041     TreeWalker();
    00042
    00043     virtual
    00044     ~TreeWalker();
    00045
    00061     const XalanNode*
    00062     traverse(const XalanNode*   pos);
    00063
    00079     XalanNode*
    00080     traverse(XalanNode*     pos);
    00081
    00099     const XalanNode*
    00100     traverse(
    00101             const XalanNode*    pos,
    00102             const XalanNode*    parent);
    00103
    00121     XalanNode*
    00122     traverse(
    00123             XalanNode*  pos,
    00124             XalanNode*  parent);
    00125
    00131     virtual void
    00132     traverseSubtree(const XalanNode*    pos);
    00133
    00139     virtual void
    00140     traverseSubtree(XalanNode*  pos);
    00141
    00142 protected:
    00143
    00151     virtual bool
    00152     startNode(const XalanNode*  node) = 0;
    00153
    00161     virtual bool
    00162     startNode(XalanNode*    node) = 0;
    00163
    00171     virtual bool
    00172     endNode(const XalanNode*    node) = 0;
    00173
    00181     virtual bool
    00182     endNode(XalanNode*  node) = 0;
    00183
    00184 private:
    00185 };
    00186
    00187
    00188
    00189 XALAN_CPP_NAMESPACE_END
    00190
    00191
    00192
    00193 #endif  // TREEWALKER_HEADER_GUARD_1357924680

Interpreting class diagrams

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

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