Xerces-C++ 3.3.0
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$
20*/
21
22#if !defined(XERCESC_INCLUDE_GUARD_DOMDOCUMENTTRAVERSAL_HPP)
23#define XERCESC_INCLUDE_GUARD_DOMDOCUMENTTRAVERSAL_HPP
24
27
29
30
31class DOMNode;
32class DOMNodeIterator;
33class DOMTreeWalker;
34
35
48
49protected:
50 // -----------------------------------------------------------------------
51 // Hidden constructors
52 // -----------------------------------------------------------------------
57
58private:
59 // -----------------------------------------------------------------------
60 // Unimplemented constructors and operators
61 // -----------------------------------------------------------------------
65 DOMDocumentTraversal & operator = (const DOMDocumentTraversal &);
67
68public:
69 // -----------------------------------------------------------------------
70 // All constructors are hidden, just the destructor is available
71 // -----------------------------------------------------------------------
80
81 // -----------------------------------------------------------------------
82 // Virtual DOMDocumentRange interface
83 // -----------------------------------------------------------------------
111 DOMNodeFilter::ShowType whatToShow,
112 DOMNodeFilter* filter,
113 bool entityReferenceExpansion) = 0;
145 DOMNodeFilter::ShowType whatToShow,
146 DOMNodeFilter* filter,
147 bool entityReferenceExpansion) = 0;
148
150};
151
152
154
155#endif
#define CDOM_EXPORT
Definition XercesDefs.hpp:166
#define XERCES_CPP_NAMESPACE_BEGIN
Definition XercesDefs.hpp:112
#define XERCES_CPP_NAMESPACE_END
Definition XercesDefs.hpp:113
DOMDocumentTraversal contains methods that create DOMNodeIterators and DOMTreeWalkers to traverse a n...
Definition DOMDocumentTraversal.hpp:47
virtual DOMNodeIterator * createNodeIterator(DOMNode *root, DOMNodeFilter::ShowType whatToShow, DOMNodeFilter *filter, bool entityReferenceExpansion)=0
Creates a NodeIterator object.
DOMDocumentTraversal()
Definition DOMDocumentTraversal.hpp:55
virtual ~DOMDocumentTraversal()
Destructor.
Definition DOMDocumentTraversal.hpp:78
virtual DOMTreeWalker * createTreeWalker(DOMNode *root, DOMNodeFilter::ShowType whatToShow, DOMNodeFilter *filter, bool entityReferenceExpansion)=0
Creates a TreeWalker object.
Filters are objects that know how to "filter out" nodes.
Definition DOMNodeFilter.hpp:50
unsigned long ShowType
Definition DOMNodeFilter.hpp:193
DOMNodeIterators are used to step through a set of nodes, e.g.
Definition DOMNodeIterator.hpp:45
The DOMNode interface is the primary datatype for the entire Document Object Model.
Definition DOMNode.hpp:139
DOMTreeWalker objects are used to navigate a document tree or subtree using the view of the document ...
Definition DOMTreeWalker.hpp:50