http://xml.apache.org/http://www.apache.org/http://www.w3.org/

Home

Readme
Release Info

Installation
Download
Build

FAQs
Samples
API Docs

DOM C++ Binding
Programming
Migration Guide

Feedback
Bug-Reporting
PDF Document

CVS Repository
Mail Archive

API Docs for SAX and DOM
 

Main Page   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members  

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  * $Log: AttributeList.hpp,v $
00019  * Revision 1.5  2004/09/26 01:06:30  cargilld
00020  * Fix documentation generation problem.  Replace <pre> with <code>.  Patch from James Littlejohn.
00021  *
00022  * Revision 1.4  2004/09/08 13:56:19  peiyongz
00023  * Apache License Version 2.0
00024  *
00025  * Revision 1.3  2003/03/07 18:10:06  tng
00026  * Return a reference instead of void for operator=
00027  *
00028  * Revision 1.2  2002/11/04 14:56:25  tng
00029  * C++ Namespace Support.
00030  *
00031  * Revision 1.1.1.1  2002/02/01 22:22:07  peiyongz
00032  * sane_include
00033  *
00034  * Revision 1.8  2000/03/02 19:54:34  roddey
00035  * This checkin includes many changes done while waiting for the
00036  * 1.1.0 code to be finished. I can't list them all here, but a list is
00037  * available elsewhere.
00038  *
00039  * Revision 1.7  2000/02/24 20:12:54  abagchi
00040  * Swat for removing Log from API docs
00041  *
00042  * Revision 1.6  2000/02/12 03:31:55  rahulj
00043  * Removed duplicate CVS Log entries.
00044  *
00045  * Revision 1.5  2000/02/12 01:27:19  aruna1
00046  * Documentation updated
00047  *
00048  * Revision 1.4  2000/02/09 02:12:21  abagchi
00049  * Added getValue docs
00050  *
00051  * Revision 1.3  2000/02/06 07:47:57  rahulj
00052  * Year 2K copyright swat.
00053  *
00054  * Revision 1.2  1999/12/15 19:58:31  roddey
00055  * Added new convenience version of getValue() that takes a short character
00056  * string for the attribute name.
00057  *
00058  * Revision 1.1.1.1  1999/11/09 01:07:43  twl
00059  * Initial checkin
00060  *
00061  * Revision 1.2  1999/11/08 20:44:54  rahul
00062  * Swat for adding in Product name and CVS comment log variable.
00063  *
00064  */
00065 
00066 #ifndef ATTRIBUTELIST_HPP
00067 #define ATTRIBUTELIST_HPP
00068 
00069 #include <xercesc/util/XercesDefs.hpp>
00070 
00071 XERCES_CPP_NAMESPACE_BEGIN
00072 
00124 class  AttributeList
00125 {
00126 public:
00127     // -----------------------------------------------------------------------
00128     //  Constructors and Destructor
00129     // -----------------------------------------------------------------------
00133     AttributeList()
00134     {
00135     }
00136 
00138     virtual ~AttributeList()
00139     {
00140     }
00142 
00155     virtual unsigned int getLength() const = 0;
00156 
00173     virtual const XMLCh* getName(const unsigned int index) const = 0;
00174 
00196     virtual const XMLCh* getType(const unsigned int index) const = 0;
00197 
00212     virtual const XMLCh* getValue(const unsigned int index) const = 0;
00213 
00228     virtual const XMLCh* getType(const XMLCh* const name) const = 0;
00229 
00245     virtual const XMLCh* getValue(const XMLCh* const name) const = 0;
00246 
00262     virtual const XMLCh* getValue(const char* const name) const = 0;
00264 
00265 private :
00266     /* Constructors and operators */
00267     /* Copy constructor */
00268     AttributeList(const AttributeList&);
00269     /* Assignment operator */
00270     AttributeList& operator=(const AttributeList&);
00271 
00272 };
00273 
00274 XERCES_CPP_NAMESPACE_END
00275 
00276 #endif


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