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(XERCESDOMWALKER_HEADER_GUARD_1357924680) 00017 #define XERCESDOMWALKER_HEADER_GUARD_1357924680 00018 00019 00020 00021 #include <xalanc/XercesParserLiaison/XercesParserLiaisonDefinitions.hpp> 00022 #include <xalanc/XercesParserLiaison/XercesWrapperTypes.hpp> 00023 00024 00025 00026 XALAN_CPP_NAMESPACE_BEGIN 00027 00028 00029 00030 class XALAN_XERCESPARSERLIAISON_EXPORT XercesDOMWalker 00031 { 00032 public: 00033 00037 XercesDOMWalker(); 00038 00039 virtual 00040 ~XercesDOMWalker(); 00041 00057 const DOMNodeType* 00058 traverse(const DOMNodeType* pos); 00059 00075 DOMNodeType* 00076 traverse(DOMNodeType* pos); 00077 00095 const DOMNodeType* 00096 traverse( 00097 const DOMNodeType* pos, 00098 const DOMNodeType* parent); 00099 00117 DOMNodeType* 00118 traverse( 00119 DOMNodeType* pos, 00120 DOMNodeType* parent); 00121 00127 void 00128 traverseSubtree(const DOMNodeType* pos); 00129 00135 void 00136 traverseSubtree(DOMNodeType* pos); 00137 00138 protected: 00139 00147 virtual bool 00148 startNode(const DOMNodeType* node) = 0; 00149 00157 virtual bool 00158 startNode(DOMNodeType* node); 00159 00167 virtual bool 00168 endNode(const DOMNodeType* node) = 0; 00169 00177 virtual bool 00178 endNode(DOMNodeType* node); 00179 }; 00180 00181 00182 00183 XALAN_CPP_NAMESPACE_END 00184 00185 00186 00187 #endif // XERCESDOMWALKER_HEADER_GUARD_1357924680
Doxygen and GraphViz are used to generate this API documentation from the Xalan-C header files.
Xalan-C++ XSLT Processor Version 1.10 |
|