Xalan-C++ API Documentation

The Xalan C++ XSLT Processor Version 1.10

XalanEmptyNamedNodeMap.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(XALANEMPTYNAMEDNODEMAP_HEADER_GUARD_1357924680)
17 #define XALANEMPTYNAMEDNODEMAP_HEADER_GUARD_1357924680
18 
19 
20 
22 
23 
24 
25 XALAN_CPP_NAMESPACE_BEGIN
26 
27 
28 
29 /*
30  * <meta name="usage" content="experimental"/>
31  *
32  * Class to implement a "faux" (always empty) named node map.
33  * The map is read-only!
34  *
35  * This class is experimental and subject to change!!
36  */
37 
39 {
40 public:
41 
43 
44  virtual
46 
48 
50  operator=(const XalanEmptyNamedNodeMap& theSource);
51 
52  bool
53  operator==(const XalanEmptyNamedNodeMap& theRHS) const;
54 
55 
56  virtual XalanNode*
57  setNamedItem(XalanNode* arg);
58 
59  virtual XalanNode*
60  item(unsigned int index) const;
61 
62  virtual XalanNode*
63  getNamedItem(const XalanDOMString& name) const;
64 
65  virtual unsigned int
66  getLength() const;
67 
68  virtual XalanNode*
69  removeNamedItem(const XalanDOMString& name);
70 
71  virtual XalanNode*
73  const XalanDOMString& namespaceURI,
74  const XalanDOMString& localName) const;
75 
76  virtual XalanNode*
78 
79  virtual XalanNode*
81  const XalanDOMString& namespaceURI,
82  const XalanDOMString& localName);
83 
84 private:
85 };
86 
87 
88 
89 XALAN_CPP_NAMESPACE_END
90 
91 
92 
93 #endif // !defined(XALANEMPTYNAMEDNODEMAP_HEADER_GUARD_1357924680)
Definition: XalanNode.hpp:44
Definition: XalanEmptyNamedNodeMap.hpp:38
bool operator==(const XalanNamedNodeMap &theRHS) const
virtual XalanNode * setNamedItem(XalanNode *arg)=0
Adds a node using its nodeName attribute.
virtual XalanNode * getNamedItemNS(const XalanDOMString &namespaceURI, const XalanDOMString &localName) const =0
Retrieves a node specified by local name and namespace URI.
#define XALAN_DOM_EXPORT
Definition: XalanDOMDefinitions.hpp:35
Definition: XalanNamedNodeMap.hpp:42
virtual XalanNode * setNamedItemNS(XalanNode *arg)=0
Adds a node using its namespaceURI and localName.
virtual XalanNode * removeNamedItem(const XalanDOMString &name)=0
Removes a node specified by name.
virtual XalanNode * getNamedItem(const XalanDOMString &name) const =0
Retrieves a node specified by name.
virtual XalanNode * item(unsigned int index) const =0
Returns the indexth item in the map.
virtual XalanNode * removeNamedItemNS(const XalanDOMString &namespaceURI, const XalanDOMString &localName)=0
Removes a node specified by local name and namespace URI.
Definition: XalanDOMString.hpp:42
XalanNamedNodeMap & operator=(const XalanNamedNodeMap &theSource)
virtual unsigned int getLength() const =0
The number of nodes in the map.

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