Xerces-C++ 3.1.3

- Main Page
- Related Pages
- Classes
- Files

- File List
- File Members

DOMDocumentTraversal.hpp
Go to the documentation of this file.
1 /*
2 * Licensed to the Apache Software Foundation (ASF) under one or more
3 * contributor license agreements. See the NOTICE file distributed with
4 * this work for additional information regarding copyright ownership.
5 * The ASF licenses this file to You under the Apache License, Version 2.0
6 * (the "License"); you may not use this file except in compliance with
7 * the License. You may obtain a copy of the License at
8 *
9 * http://www.apache.org/licenses/LICENSE-2.0
10 *
11 * Unless required by applicable law or agreed to in writing, software
12 * distributed under the License is distributed on an "AS IS" BASIS,
13 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14 * See the License for the specific language governing permissions and
15 * limitations under the License.
16 */
17
18 /*
19 * $Id: DOMDocumentTraversal.hpp 671894 2008-06-26 13:29:21Z borisk $
20 */
21
22 #if !defined(XERCESC_INCLUDE_GUARD_DOMDOCUMENTTRAVERSAL_HPP)
23 #define XERCESC_INCLUDE_GUARD_DOMDOCUMENTTRAVERSAL_HPP
24
25 #include <xercesc/util/XercesDefs.hpp>
26 #include <xercesc/dom/DOMNodeFilter.hpp>
27
28 XERCES_CPP_NAMESPACE_BEGIN
29
30
31 class DOMNode;
32 class DOMNodeIterator;
33 class DOMTreeWalker;
34
35
47 class CDOM_EXPORT DOMDocumentTraversal {
48
49 protected:
50 // -----------------------------------------------------------------------
51 // Hidden constructors
52 // -----------------------------------------------------------------------
55 DOMDocumentTraversal() {};
57
58 private:
59 // -----------------------------------------------------------------------
60 // Unimplemented constructors and operators
61 // -----------------------------------------------------------------------
64 DOMDocumentTraversal(const DOMDocumentTraversal &);
65 DOMDocumentTraversal & operator = (const DOMDocumentTraversal &);
67
68 public:
69 // -----------------------------------------------------------------------
70 // All constructors are hidden, just the destructor is available
71 // -----------------------------------------------------------------------
78 virtual ~DOMDocumentTraversal() {};
80
81 // -----------------------------------------------------------------------
82 // Virtual DOMDocumentRange interface
83 // -----------------------------------------------------------------------
110 virtual DOMNodeIterator *createNodeIterator(DOMNode* root,
111 DOMNodeFilter::ShowType whatToShow,
112 DOMNodeFilter* filter,
113 bool entityReferenceExpansion) = 0;
144 virtual DOMTreeWalker *createTreeWalker(DOMNode* root,
145 DOMNodeFilter::ShowType whatToShow,
146 DOMNodeFilter* filter,
147 bool entityReferenceExpansion) = 0;
148
150 };
151
152
153 XERCES_CPP_NAMESPACE_END
154
155 #endif