Xalan-C++ API Reference 1.12.0
NamedNodeMapAttributeList.hpp
Go to the documentation of this file.
1/*
2 * Licensed to the Apache Software Foundation (ASF) under one
3 * or more contributor license agreements. See the NOTICE file
4 * distributed with this work for additional information
5 * regarding copyright ownership. The ASF licenses this file
6 * to you under the Apache License, Version 2.0 (the "License");
7 * you may not use this file except in compliance with the License.
8 * You may obtain a copy of the License at
9 *
10 * http://www.apache.org/licenses/LICENSE-2.0
11 *
12 * Unless required by applicable law or agreed to in writing, software
13 * distributed under the License is distributed on an "AS IS" BASIS,
14 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15 * See the License for the specific language governing permissions and
16 * limitations under the License.
17 */
18#if !defined(NAMEDNODEMAPATTRIBUTELIST_HEADER_GUARD_1357924680)
19#define NAMEDNODEMAPATTRIBUTELIST_HEADER_GUARD_1357924680
20
21
22
23// Base include file. Must be first.
25
26
27
28#include <xercesc/sax/AttributeList.hpp>
29
31
32
33namespace XALAN_CPP_NAMESPACE {
34
35
36
37class XalanNamedNodeMap;
38
39
40
41class XALAN_PLATFORMSUPPORT_EXPORT NamedNodeMapAttributeList : public xercesc::AttributeList
42{
43public:
44
45 typedef xercesc::AttributeList ParentType;
46
47 explicit
50 MemoryManager& theManager);
51
52 virtual
54
55 // These are inherited from AttributeList
56 virtual XalanSize_t
57 getLength() const;
58
59 virtual const XalanDOMChar*
60 getName(const XalanSize_t index) const;
61
62 virtual const XalanDOMChar*
63 getType(const XalanSize_t index) const;
64
65 virtual const XalanDOMChar*
66 getValue(const XalanSize_t index) const;
67
68 virtual const XalanDOMChar*
69 getType(const XalanDOMChar* const name) const;
70
71 virtual const XalanDOMChar*
72 getValue(const XalanDOMChar* const name) const;
73
74 virtual const XalanDOMChar*
75 getValue(const char* const name) const;
76
77private:
78
79 // Not implemented...
81 operator=(const NamedNodeMapAttributeList&);
82
83 bool
85
86 // Data members...
87 const XalanNamedNodeMap& m_nodeMap;
88
89 const XalanSize_t m_length;
90
91 MemoryManager& m_memoryManager;
92
93 static const XalanDOMChar s_typeString[];
94};
95
96
97
98}
99
100
101
102#endif // NAMEDNODEMAPATTRIBUTELIST_HEADER_GUARD_1357924680
#define XALAN_PLATFORMSUPPORT_EXPORT
#define XALAN_CPP_NAMESPACE
Xalan-C++ namespace, including major and minor version.
virtual const XalanDOMChar * getType(const XalanSize_t index) const
virtual const XalanDOMChar * getType(const XalanDOMChar *const name) const
virtual XalanSize_t getLength() const
virtual const XalanDOMChar * getValue(const char *const name) const
virtual const XalanDOMChar * getValue(const XalanDOMChar *const name) const
virtual const XalanDOMChar * getName(const XalanSize_t index) const
virtual const XalanDOMChar * getValue(const XalanSize_t index) const
NamedNodeMapAttributeList(const XalanNamedNodeMap &theMap, MemoryManager &theManager)
bool operator==(const XalanVector< Type > &theLHS, const XalanVector< Type > &theRHS)