Xalan-C++ API Documentation

The Xalan C++ XSLT Processor Version 1.11


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 
33 XALAN_CPP_NAMESPACE_BEGIN
34 
35 
36 
37 class XalanNamedNodeMap;
38 
39 
40 
41 class XALAN_PLATFORMSUPPORT_EXPORT NamedNodeMapAttributeList : public XERCES_CPP_NAMESPACE_QUALIFIER AttributeList
42 {
43 public:
44 
45  typedef XERCES_CPP_NAMESPACE_QUALIFIER AttributeList ParentType;
46 
47  explicit
49  const XalanNamedNodeMap& theMap,
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 
77 private:
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 XALAN_CPP_NAMESPACE_END
99 
100 
101 
102 #endif // NAMEDNODEMAPATTRIBUTELIST_HEADER_GUARD_1357924680
bool operator==(const ElemAttributeSet &theLHS, const ElemAttributeSet &theRHS)
#define XALAN_PLATFORMSUPPORT_EXPORT
XERCES_CPP_NAMESPACE_QUALIFIER AttributeList ParentType

Interpreting class diagrams

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

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

Apache Logo