Xalan-C++ API Documentation

The Xalan C++ XSLT Processor Version 1.10

NamedNodeMapAttributeList.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(NAMEDNODEMAPATTRIBUTELIST_HEADER_GUARD_1357924680)
17 #define NAMEDNODEMAPATTRIBUTELIST_HEADER_GUARD_1357924680
18 
19 
20 
21 // Base include file. Must be first.
23 
24 
25 
26 #include <xercesc/sax/AttributeList.hpp>
27 
29 
30 
31 XALAN_CPP_NAMESPACE_BEGIN
32 
33 
34 
35 class XalanNamedNodeMap;
36 
37 
38 
39 class XALAN_PLATFORMSUPPORT_EXPORT NamedNodeMapAttributeList : public XERCES_CPP_NAMESPACE_QUALIFIER AttributeList
40 {
41 public:
42 
43  typedef XERCES_CPP_NAMESPACE_QUALIFIER AttributeList ParentType;
44 
45  explicit
47  MemoryManagerType& theManager);
48 
49  virtual
51 
52  // These are inherited from AttributeList
53  virtual unsigned int
54  getLength() const;
55 
56  virtual const XalanDOMChar*
57  getName(const unsigned int index) const;
58 
59  virtual const XalanDOMChar*
60  getType(const unsigned int index) const;
61 
62  virtual const XalanDOMChar*
63  getValue(const unsigned int index) const;
64 
65  virtual const XalanDOMChar*
66  getType(const XalanDOMChar* const name) const;
67 
68  virtual const XalanDOMChar*
69  getValue(const XalanDOMChar* const name) const;
70 
71  virtual const XalanDOMChar*
72  getValue(const char* const name) const;
73 
74 private:
75 
76  // Not implemented...
78  operator=(const NamedNodeMapAttributeList&);
79 
80  bool
82 
83  // Data members...
84  const XalanNamedNodeMap& m_nodeMap;
85 
86  const unsigned int m_lastIndex;
87 
88  static const XalanDOMChar s_typeString[];
89 
90  MemoryManagerType& m_memoryManager;
91 };
92 
93 
94 
95 XALAN_CPP_NAMESPACE_END
96 
97 
98 
99 #endif // NAMEDNODEMAPATTRIBUTELIST_HEADER_GUARD_1357924680
bool operator==(const XalanVector< Type > &theLHS, const XalanVector< Type > &theRHS)
Definition: XalanVector.hpp:1111
XALAN_CPP_NAMESPACE_BEGIN typedef XERCES_CPP_NAMESPACE_QUALIFIER MemoryManager MemoryManagerType
Definition: XalanMemoryManagement.hpp:39
Definition: NamedNodeMapAttributeList.hpp:39
Definition: XalanNamedNodeMap.hpp:42
#define XALAN_PLATFORMSUPPORT_EXPORT
Definition: PlatformSupportDefinitions.hpp:33
XERCES_CPP_NAMESPACE_QUALIFIER AttributeList ParentType
Definition: NamedNodeMapAttributeList.hpp:43

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