Xerces-C++: AttributeList.hpp Source File

| API Docs for SAX and DOM |
| Main Page | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Class Members | File Members | Related Pages # AttributeList.hpp Go to the documentation of this file.
    00001 /*
    00002  * Copyright 1999-2000,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
    00017 /*
    00018  * $Id: AttributeList.hpp 191054 2005-06-17 02:56:35Z jberry $
    00019  */
    00020
    00021 #ifndef ATTRIBUTELIST_HPP
    00022 #define ATTRIBUTELIST_HPP
    00023
    00024 #include <xercesc/util/XercesDefs.hpp>
    00025
    00026 XERCES_CPP_NAMESPACE_BEGIN
    00027
    00079 class  AttributeList
    00080 {
    00081 public:
    00082     // -----------------------------------------------------------------------
    00083     //  Constructors and Destructor
    00084     // -----------------------------------------------------------------------
    00088     AttributeList()
    00089     {
    00090     }
    00091
    00093     virtual ~AttributeList()
    00094     {
    00095     }
    00097
    00110     virtual unsigned int getLength() const = 0;
    00111
    00128     virtual const XMLCh* getName(const unsigned int index) const = 0;
    00129
    00151     virtual const XMLCh* getType(const unsigned int index) const = 0;
    00152
    00167     virtual const XMLCh* getValue(const unsigned int index) const = 0;
    00168
    00183     virtual const XMLCh* getType(const XMLCh* const name) const = 0;
    00184
    00200     virtual const XMLCh* getValue(const XMLCh* const name) const = 0;
    00201
    00217     virtual const XMLCh* getValue(const char* const name) const = 0;
    00219
    00220 private :
    00221     /* Constructors and operators */
    00222     /* Copy constructor */
    00223     AttributeList(const AttributeList&);
    00224     /* Assignment operator */
    00225     AttributeList& operator=(const AttributeList&);
    00226
    00227 };
    00228
    00229 XERCES_CPP_NAMESPACE_END
    00230
    00231 #endif

Copyright © 1994-2004 The Apache Software Foundation. All Rights Reserved.