00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024
00025
00026
00027
00028
00029
00030
00031
00032
00033
00034
00035
00036
00037
00038
00039
00040
00041
00042
00043
00044
00045
00046
00047
00048
00049
00050
00051
00052
00053
00054
00055
00056
00057
00058
00059
00060
00061
00062
00063
00064
00065
00066
00067
00068
00069
00070
00071
00072
00073
00074
00075
00076
00077
00078
00079
00080
00081
00082
00083
00084
00085
00086
00087
00088
00089
00090
00091
00092
00093
00094
00095
00096
00097
00098
00099
00100
00101 #ifndef ATTRIBUTES_HPP
00102 #define ATTRIBUTES_HPP
00103
00104 #include <xercesc/util/XercesDefs.hpp>
00105
00106 XERCES_CPP_NAMESPACE_BEGIN
00107
00161 class Attributes
00162 {
00163 public:
00164
00165
00166
00170 Attributes()
00171 {
00172 }
00173
00175 virtual ~Attributes()
00176 {
00177 }
00179
00192 virtual unsigned int getLength() const = 0;
00193
00207 virtual const XMLCh* getURI(const unsigned int index) const = 0;
00208
00222 virtual const XMLCh* getLocalName(const unsigned int index) const = 0;
00223
00237 virtual const XMLCh* getQName(const unsigned int index) const = 0;
00238
00260 virtual const XMLCh* getType(const unsigned int index) const = 0;
00261
00275 virtual const XMLCh* getValue(const unsigned int index) const = 0;
00276
00278
00280
00290 virtual int getIndex(const XMLCh* const uri, const XMLCh* const localPart ) const = 0 ;
00291
00299 virtual int getIndex(const XMLCh* const qName ) const = 0 ;
00300
00313 virtual const XMLCh* getType(const XMLCh* const uri, const XMLCh* const localPart ) const = 0 ;
00314
00325 virtual const XMLCh* getType(const XMLCh* const qName) const = 0;
00326
00338 virtual const XMLCh* getValue(const XMLCh* const uri, const XMLCh* const localPart ) const = 0 ;
00339
00350 virtual const XMLCh* getValue(const XMLCh* const qName) const = 0;
00351
00353
00354 private :
00355
00356
00357 Attributes(const Attributes&);
00358
00359 Attributes& operator=(const Attributes&);
00360
00361 };
00362
00363 XERCES_CPP_NAMESPACE_END
00364
00365 #endif