00001 #ifndef DOMUserDataHandler_HEADER_GUARD_
00002 #define DOMUserDataHandler_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
00081 class DOMUserDataHandler {
00082 protected:
00083
00084
00085
00088 DOMUserDataHandler() {};
00090
00091 private:
00092
00093
00094
00097 DOMUserDataHandler(const DOMUserDataHandler &);
00098 DOMUserDataHandler & operator = (const DOMUserDataHandler &);
00100
00101 public:
00102
00103
00104
00111 virtual ~DOMUserDataHandler() {};
00113
00114
00115
00116
00138 enum DOMOperationType {
00139 NODE_CLONED = 1,
00140 NODE_IMPORTED = 2,
00141 NODE_DELETED = 3,
00142 NODE_RENAMED = 4
00143 };
00145
00146
00147
00148
00149
00166 virtual void handle(DOMOperationType operation,
00167 const XMLCh* const key,
00168 void* data,
00169 const DOMNode* src,
00170 const DOMNode* dst) = 0;
00171
00173
00174 };
00175
00176 XERCES_CPP_NAMESPACE_END
00177
00178 #endif
00179