00001 #ifndef DOMLocator_HEADER_GUARD_
00002 #define DOMLocator_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
00065
00066
00067
00068
00069
00070
00071
00072
00073
00074
00075
00076
00077
00078
00079
00080
00081
00082
00083
00084
00085 #include <xercesc/util/XercesDefs.hpp>
00086
00087 XERCES_CPP_NAMESPACE_BEGIN
00088
00089
00090 class DOMNode;
00091
00092
00101 class DOMLocator
00102 {
00103 protected:
00104
00105
00106
00109 DOMLocator() {};
00111
00112 private:
00113
00114
00115
00118 DOMLocator(const DOMLocator &);
00119 DOMLocator & operator = (const DOMLocator &);
00121
00122 public:
00123
00124
00125
00132 virtual ~DOMLocator() {};
00134
00135
00136
00137
00140
00141
00142
00152 virtual XMLSSize_t getLineNumber() const = 0;
00153
00163 virtual XMLSSize_t getColumnNumber() const = 0;
00164
00176 virtual XMLSSize_t getOffset() const = 0;
00177
00187 virtual DOMNode* getErrorNode() const = 0;
00188
00198 virtual const XMLCh* getURI() const = 0;
00199
00200
00201
00202
00213 virtual void setLineNumber(const XMLSSize_t lineNumber) = 0;
00214
00225 virtual void setColumnNumber(const XMLSSize_t columnNumber) = 0;
00226
00237 virtual void setOffset(const XMLSSize_t offset) = 0;
00238
00249 virtual void setErrorNode(DOMNode* const errorNode) = 0;
00250
00261 virtual void setURI(const XMLCh* const uri) = 0;
00262
00264 };
00265
00266 XERCES_CPP_NAMESPACE_END
00267
00268 #endif