Xalan-C++ API Reference  1.12.0
XercesNamedNodeMapAttributeList.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(XERCESNAMEDNODEMAPATTRIBUTELIST_HEADER_GUARD_1357924680)
19 #define XERCESNAMEDNODEMAPATTRIBUTELIST_HEADER_GUARD_1357924680
20 
21 
22 
23 // Base include file. Must be first.
25 
26 
27 
28 #include <xercesc/sax/AttributeList.hpp>
29 
30 
31 
33 
34 
35 
36 namespace XALAN_CPP_NAMESPACE {
37 
38 
39 
41 {
42 public:
43 
44  typedef xercesc::AttributeList ParentType;
45 
46  explicit
48 
49  virtual
51 
52  // These are inherited from AttributeList
53  virtual XalanSize_t
54  getLength() const;
55 
56  virtual const XMLCh*
57  getName(const XalanSize_t index) const;
58 
59  virtual const XMLCh*
60  getType(const XalanSize_t index) const;
61 
62  virtual const XMLCh*
63  getValue(const XalanSize_t index) const;
64 
65  virtual const XMLCh*
66  getType(const XMLCh* const name) const;
67 
68  virtual const XMLCh*
69  getValue(const XMLCh* const name) const;
70 
71 private:
72  virtual const XMLCh*
73  getValue(const char* const name) const;
74 
75  // Not implemented...
77  operator=(const XercesNamedNodeMapAttributeList&);
78 
79  bool
81 
82 
83  // Data members...
84  const DOMNamedNodeMapType* const m_nodeMap;
85 
86  const XalanSize_t m_attrCount;
87 
88  static const XMLCh s_typeString[];
89 };
90 
91 
92 
93 }
94 
95 
96 
97 #endif // XERCESNAMEDNODEMAPATTRIBUTELIST_HEADER_GUARD_1357924680
XALAN_CPP_NAMESPACE
#define XALAN_CPP_NAMESPACE
Xalan-C++ namespace, including major and minor version.
Definition: XalanVersion.hpp:76
xalanc::XercesNamedNodeMapAttributeList::ParentType
xercesc::AttributeList ParentType
Definition: XercesNamedNodeMapAttributeList.hpp:44
xalanc::DOMNamedNodeMapType
xercesc::DOMNamedNodeMap DOMNamedNodeMapType
Definition: XercesWrapperTypes.hpp:70
xalanc::operator==
bool operator==(const XalanVector< Type > &theLHS, const XalanVector< Type > &theRHS)
Definition: XalanVector.hpp:1118
xalanc::XercesNamedNodeMapAttributeList
Definition: XercesNamedNodeMapAttributeList.hpp:40
XercesParserLiaisonDefinitions.hpp
XALAN_XERCESPARSERLIAISON_EXPORT
#define XALAN_XERCESPARSERLIAISON_EXPORT
Definition: XercesParserLiaisonDefinitions.hpp:39
XercesWrapperTypes.hpp