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 #ifndef DOM_Attr_HEADER_GUARD_
00090 #define DOM_Attr_HEADER_GUARD_
00091
00092 #include <util/XercesDefs.hpp>
00093 #include <dom/DOM_Node.hpp>
00094 #include <dom/DOM_Element.hpp>
00095
00096 class AttrImpl;
00097
00121 class DOM_Attr: public DOM_Node {
00122
00123 public:
00125
00132 DOM_Attr();
00133
00134 public:
00135
00144 DOM_Attr(const DOM_Attr &other);
00145
00151 DOM_Attr & operator = (const DOM_Attr &other);
00152
00166 DOM_Attr & operator = (const DOM_NullPtr *val);
00167
00168
00169
00170
00172
00173
00179 ~DOM_Attr();
00180
00181
00183
00187 DOMString getName() const;
00188
00196 bool getSpecified() const;
00197
00204 DOMString getValue() const;
00205
00206
00208
00215 void setValue(const DOMString &value);
00216
00217
00219
00227 DOM_Element getOwnerElement() const;
00228
00229
00230 protected:
00231 DOM_Attr(AttrImpl *attr);
00232
00233 friend class DOM_Element;
00234 friend class DOM_Document;
00235
00236 };
00237
00238 #endif
00239
00240