Xalan-C++ API Documentation

The Xalan C++ XSLT Processor Version 1.10

XalanNamedNodeMap.hpp
Go to the documentation of this file.
1 /*
2  * Copyright 1999-2004 The Apache Software Foundation.
3  *
4  * Licensed under the Apache License, Version 2.0 (the "License");
5  * you may not use this file except in compliance with the License.
6  * You may obtain a copy of the License at
7  *
8  * http://www.apache.org/licenses/LICENSE-2.0
9  *
10  * Unless required by applicable law or agreed to in writing, software
11  * distributed under the License is distributed on an "AS IS" BASIS,
12  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13  * See the License for the specific language governing permissions and
14  * limitations under the License.
15  */
16 #if !defined(XALANNAMEDNODEMAP_HEADER_GUARD_1357924680)
17 #define XALANNAMEDNODEMAP_HEADER_GUARD_1357924680
18 
19 
20 
22 
23 
24 
25 XALAN_CPP_NAMESPACE_BEGIN
26 
27 
28 
29 class XalanDOMString;
30 class XalanNode;
31 
32 
33 
34 /*
35  * <meta name="usage" content="experimental"/>
36  *
37  * Base class for the DOM NamedNodeMap interface.
38  *
39  * This class is experimental and subject to change!!
40  */
41 
43 {
44 public:
45 
47 
48  virtual
50 
53 
79  virtual XalanNode*
80  setNamedItem(XalanNode* arg) = 0;
81 
93  virtual XalanNode*
94  item(unsigned int index) const = 0;
95 
97 
99 
108  virtual XalanNode*
109  getNamedItem(const XalanDOMString& name) const = 0;
110 
117  virtual unsigned int
118  getLength() const = 0;
119 
121 
123 
139  virtual XalanNode*
140  removeNamedItem(const XalanDOMString& name) = 0;
141 
143 
145 
156  virtual XalanNode*
157  getNamedItemNS(
158  const XalanDOMString& namespaceURI,
159  const XalanDOMString& localName) const = 0;
160 
182  virtual XalanNode*
183  setNamedItemNS(XalanNode* arg) = 0;
184 
206  virtual XalanNode*
207  removeNamedItemNS(
208  const XalanDOMString& namespaceURI,
209  const XalanDOMString& localName) = 0;
210 
212 
213 protected:
214 
215  XalanNamedNodeMap(const XalanNamedNodeMap& theSource);
216 
218  operator=(const XalanNamedNodeMap& theSource);
219 
220  bool
221  operator==(const XalanNamedNodeMap& theRHS) const;
222 
223 private:
224 };
225 
226 
227 
228 XALAN_CPP_NAMESPACE_END
229 
230 
231 
232 #endif // !defined(XALANNAMEDNODEMAP_HEADER_GUARD_1357924680)
bool operator==(const XalanVector< Type > &theLHS, const XalanVector< Type > &theRHS)
Definition: XalanVector.hpp:1111
Definition: XalanNode.hpp:44
#define XALAN_DOM_EXPORT
Definition: XalanDOMDefinitions.hpp:35
Definition: XalanNamedNodeMap.hpp:42
Definition: XalanDOMString.hpp:42

Interpreting class diagrams

Doxygen and GraphViz are used to generate this API documentation from the Xalan-C header files.

dot

Xalan-C++ XSLT Processor Version 1.10
Copyright © 1999-2004 The Apache Software Foundation. All Rights Reserved.

Apache Logo