00001 #ifndef DOMCharacterData_HEADER_GUARD_
00002 #define DOMCharacterData_HEADER_GUARD_
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 #include <xercesc/util/XercesDefs.hpp>
00065 #include <xercesc/dom/DOMNode.hpp>
00066
00067 XERCES_CPP_NAMESPACE_BEGIN
00068
00069
00085 class DOMCharacterData: public DOMNode {
00086 protected:
00087
00088
00089
00092 DOMCharacterData() {};
00094
00095 private:
00096
00097
00098
00101 DOMCharacterData(const DOMCharacterData &);
00102 DOMCharacterData & operator = (const DOMCharacterData &);
00104
00105 public:
00106
00107
00108
00115 virtual ~DOMCharacterData() {};
00117
00118
00119
00120
00123
00124
00125
00139 virtual const XMLCh * getData() const = 0;
00140
00149 virtual XMLSize_t getLength() const = 0;
00150
00165 virtual const XMLCh * substringData(XMLSize_t offset,
00166 XMLSize_t count) const = 0;
00167
00168
00169
00170
00181 virtual void appendData(const XMLCh *arg) = 0;
00182
00194 virtual void insertData(XMLSize_t offset, const XMLCh *arg) = 0;
00195
00213 virtual void deleteData(XMLSize_t offset,
00214 XMLSize_t count) = 0;
00215
00235 virtual void replaceData(XMLSize_t offset,
00236 XMLSize_t count,
00237 const XMLCh *arg) = 0;
00238
00245 virtual void setData(const XMLCh *data) = 0;
00247
00248 };
00249
00250 XERCES_CPP_NAMESPACE_END
00251
00252 #endif
00253
00254