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 at00007 *00008 * http://www.apache.org/licenses/LICENSE-2.000009 *00010 * Unless required by applicable law or agreed to in writing, software00011 * 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 and00014 * limitations under the License.00015 */00016 #if !defined(XERCESTREEWALKER_HEADER_GUARD_1357924680)00017#define XERCESTREEWALKER_HEADER_GUARD_135792468000018
00019
00020
00021 #include <xalanc/XercesParserLiaison/XercesParserLiaisonDefinitions.hpp>00022
00023
00024
00025 #include <xalanc/XercesParserLiaison/Deprecated/XercesBridgeTypes.hpp>00026
00027
00028
00029 XALAN_CPP_NAMESPACE_BEGIN
00030
00036class XALAN_XERCESPARSERLIAISON_EXPORTXercesTreeWalker00037 {
00038 public:
00039
00043 XercesTreeWalker();
00044
00045 virtual00046 ~XercesTreeWalker();
00047
00051 virtualvoid00052 traverse(constDOM_NodeType& pos);
00053
00057 virtualvoid00058 traverse(
00059 constDOM_NodeType& pos,
00060 constDOM_NodeType& parent);
00061
00062 protected:
00063
00064 virtualvoid00065 startNode(constDOM_NodeType& node) = 0;
00066
00067 virtualvoid00068 endNode(constDOM_NodeType& node) = 0;
00069 };
00070
00071
00072
00073 XALAN_CPP_NAMESPACE_END
00074
00075
00076
00077 #endif // XERCESTREEWALKER_HEADER_GUARD_1357924680