Xerces-C++  3.1.2
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 
27 
29 
30 
31 class DOMNode;
32 class DOMNodeIterator;
33 class DOMTreeWalker;
34 
35 
48 
49 protected:
50  // -----------------------------------------------------------------------
51  // Hidden constructors
52  // -----------------------------------------------------------------------
57 
58 private:
59  // -----------------------------------------------------------------------
60  // Unimplemented constructors and operators
61  // -----------------------------------------------------------------------
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 
154 
155 #endif
DOMDocumentTraversal contains methods that create DOMNodeIterators and DOMTreeWalkers to traverse a n...
Definition: DOMDocumentTraversal.hpp:47
Filters are objects that know how to "filter out" nodes.
Definition: DOMNodeFilter.hpp:49
DOMDocumentTraversal()
Definition: DOMDocumentTraversal.hpp:55
DOMNodeIterators are used to step through a set of nodes, e.g.
Definition: DOMNodeIterator.hpp:44
unsigned long ShowType
Definition: DOMNodeFilter.hpp:193
#define CDOM_EXPORT
Definition: XercesDefs.hpp:166
DOMTreeWalker objects are used to navigate a document tree or subtree using the view of the document ...
Definition: DOMTreeWalker.hpp:50
#define XERCES_CPP_NAMESPACE_BEGIN
Definition: XercesDefs.hpp:112
#define XERCES_CPP_NAMESPACE_END
Definition: XercesDefs.hpp:113
virtual ~DOMDocumentTraversal()
Destructor.
Definition: DOMDocumentTraversal.hpp:78
The DOMNode interface is the primary datatype for the entire Document Object Model.
Definition: DOMNode.hpp:139