00001 /* 00002 * Copyright 1999-2004 The Apache Software Foundation. 00003 * 00004 * Licensed under the Apache License, Version 2.0 (the "License"); 00005 * you may not use this file except in compliance with the License. 00006 * You may obtain a copy of the License at 00007 * 00008 * http://www.apache.org/licenses/LICENSE-2.0 00009 * 00010 * Unless required by applicable law or agreed to in writing, software 00011 * distributed under the License is distributed on an "AS IS" BASIS, 00012 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 00013 * See the License for the specific language governing permissions and 00014 * limitations under the License. 00015 */ 00016 #if !defined(XERCESNAMEDNODEMAPATTRIBUTELIST_HEADER_GUARD_1357924680) 00017 #define XERCESNAMEDNODEMAPATTRIBUTELIST_HEADER_GUARD_1357924680 00018 00019 00020 00021 // Base include file. Must be first. 00022 #include <xalanc/XercesParserLiaison/XercesParserLiaisonDefinitions.hpp> 00023 00024 00025 00026 #include <xercesc/sax/AttributeList.hpp> 00027 00028 00029 00030 #include <xalanc/XercesParserLiaison/XercesWrapperTypes.hpp> 00031 00032 00033 00034 XALAN_CPP_NAMESPACE_BEGIN 00035 00036 00037 00038 class XALAN_XERCESPARSERLIAISON_EXPORT XercesNamedNodeMapAttributeList : public XERCES_CPP_NAMESPACE_QUALIFIER AttributeList 00039 { 00040 public: 00041 00042 typedef XERCES_CPP_NAMESPACE_QUALIFIER AttributeList ParentType; 00043 00044 explicit 00045 XercesNamedNodeMapAttributeList(const DOMNamedNodeMapType* theMap); 00046 00047 virtual 00048 ~XercesNamedNodeMapAttributeList(); 00049 00050 // These are inherited from AttributeList 00051 virtual unsigned int 00052 getLength() const; 00053 00054 virtual const XMLCh* 00055 getName(const unsigned int index) const; 00056 00057 virtual const XMLCh* 00058 getType(const unsigned int index) const; 00059 00060 virtual const XMLCh* 00061 getValue(const unsigned int index) const; 00062 00063 virtual const XMLCh* 00064 getType(const XMLCh* const name) const; 00065 00066 virtual const XMLCh* 00067 getValue(const XMLCh* const name) const; 00068 00069 private: 00070 virtual const XMLCh* 00071 getValue(const char* const name) const; 00072 00073 // Not implemented... 00074 XercesNamedNodeMapAttributeList& 00075 operator=(const XercesNamedNodeMapAttributeList&); 00076 00077 bool 00078 operator==(const XercesNamedNodeMapAttributeList&); 00079 00080 00081 // Data members... 00082 const DOMNamedNodeMapType* const m_nodeMap; 00083 00084 const XMLSizeType m_lastIndex; 00085 00086 static const XMLCh s_typeString[]; 00087 }; 00088 00089 00090 00091 XALAN_CPP_NAMESPACE_END 00092 00093 00094 00095 #endif // XERCESNAMEDNODEMAPATTRIBUTELIST_HEADER_GUARD_1357924680
Doxygen and GraphViz are used to generate this API documentation from the Xalan-C header files.
Xalan-C++ XSLT Processor Version 1.10 |
|