Xalan-C++ API Reference  1.12.0
XercesTreeWalker.hpp
Go to the documentation of this file.
1 /*
2  * Licensed to the Apache Software Foundation (ASF) under one
3  * or more contributor license agreements. See the NOTICE file
4  * distributed with this work for additional information
5  * regarding copyright ownership. The ASF licenses this file
6  * to you under the Apache License, Version 2.0 (the "License");
7  * you may not use this file except in compliance with the License.
8  * You may obtain a copy of the License at
9  *
10  * http://www.apache.org/licenses/LICENSE-2.0
11  *
12  * Unless required by applicable law or agreed to in writing, software
13  * distributed under the License is distributed on an "AS IS" BASIS,
14  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15  * See the License for the specific language governing permissions and
16  * limitations under the License.
17  */
18 #if !defined(XERCESTREEWALKER_HEADER_GUARD_1357924680)
19 #define XERCESTREEWALKER_HEADER_GUARD_1357924680
20 
21 
22 
24 
25 
26 
28 
29 
30 
31 namespace XALAN_CPP_NAMESPACE {
32 
33 /**
34  * This class is deprecated.
35  *
36  * @deprecated This class works with the deprecated Xerces DOM bridge.
37  */
39 {
40 public:
41 
42  /**
43  * Constructor.
44  */
46 
47  virtual
49 
50  /**
51  * Perform a pre-order traversal non-recursive style.
52  */
53  virtual void
54  traverse(const DOM_NodeType& pos);
55 
56  /**
57  * Perform a pre-order traversal non-recursive style.
58  */
59  virtual void
60  traverse(
61  const DOM_NodeType& pos,
62  const DOM_NodeType& parent);
63 
64 protected:
65 
66  virtual void
67  startNode(const DOM_NodeType& node) = 0;
68 
69  virtual void
70  endNode(const DOM_NodeType& node) = 0;
71 };
72 
73 
74 
75 }
76 
77 
78 
79 #endif // XERCESTREEWALKER_HEADER_GUARD_1357924680
xalanc::XercesTreeWalker
This class is deprecated.
Definition: XercesTreeWalker.hpp:38
XALAN_CPP_NAMESPACE
#define XALAN_CPP_NAMESPACE
Xalan-C++ namespace, including major and minor version.
Definition: XalanVersion.hpp:76
xalanc::DOM_NodeType
xercesc::DOM_Node DOM_NodeType
Definition: XercesBridgeTypes.hpp:74
XercesParserLiaisonDefinitions.hpp
XALAN_XERCESPARSERLIAISON_EXPORT
#define XALAN_XERCESPARSERLIAISON_EXPORT
Definition: XercesParserLiaisonDefinitions.hpp:39
XercesBridgeTypes.hpp