| API Docs for SAX and DOM |

Main Page Class Hierarchy Alphabetical List Compound List File List Compound Members File Members

# Locator.hpp

Go to the documentation of this file.

    00001 /*
    00002  * Copyright 1999-2000,2004 The Apache Software Foundation.
    00003  *
    00004  * Licensed under the Apache License, Version 2.0 (the "License");
    00005  * you may not use this file except in compliance with the License.
    00006  * You may obtain a copy of the License at
    00007  *
    00008  *      http://www.apache.org/licenses/LICENSE-2.0
    00009  *
    00010  * Unless required by applicable law or agreed to in writing, software
    00011  * distributed under the License is distributed on an "AS IS" BASIS,
    00012  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
    00013  * See the License for the specific language governing permissions and
    00014  * limitations under the License.
    00015  */
    00016
    00017 /*
    00018  * $Log: Locator.hpp,v $
    00019  * Revision 1.5  2004/09/08 13:56:19  peiyongz
    00020  * Apache License Version 2.0
    00021  *
    00022  * Revision 1.4  2003/03/07 18:10:06  tng
    00023  * Return a reference instead of void for operator=
    00024  *
    00025  * Revision 1.3  2002/11/04 14:56:26  tng
    00026  * C++ Namespace Support.
    00027  *
    00028  * Revision 1.2  2002/05/27 18:33:07  tng
    00029  * To get ready for 64 bit large file, use XMLSSize_t to represent line and column number.
    00030  *
    00031  * Revision 1.1.1.1  2002/02/01 22:22:08  peiyongz
    00032  * sane_include
    00033  *
    00034  * Revision 1.6  2000/03/02 19:54:35  roddey
    00035  * This checkin includes many changes done while waiting for the
    00036  * 1.1.0 code to be finished. I can't list them all here, but a list is
    00037  * available elsewhere.
    00038  *
    00039  * Revision 1.5  2000/02/24 20:12:55  abagchi
    00040  * Swat for removing Log from API docs
    00041  *
    00042  * Revision 1.4  2000/02/12 03:31:55  rahulj
    00043  * Removed duplicate CVS Log entries.
    00044  *
    00045  * Revision 1.3  2000/02/09 01:55:06  abagchi
    00046  * Removed private function docs
    00047  *
    00048  * Revision 1.2  2000/02/06 07:47:58  rahulj
    00049  * Year 2K copyright swat.
    00050  *
    00051  * Revision 1.1.1.1  1999/11/09 01:07:46  twl
    00052  * Initial checkin
    00053  *
    00054  * Revision 1.3  1999/11/08 20:45:01  rahul
    00055  * Swat for adding in Product name and CVS comment log variable.
    00056  *
    00057  */
    00058
    00059
    00060 #ifndef LOCATOR_HPP
    00061 #define LOCATOR_HPP
    00062
    00063 #include <xercesc/util/XercesDefs.hpp>
    00064
    00065 XERCES_CPP_NAMESPACE_BEGIN
    00066
    00092 class  Locator
    00093 {
    00094 public:
    00095
    00099     Locator()
    00100     {
    00101     }
    00102
    00104     virtual ~Locator()
    00105     {
    00106     }
    00107
    00109
    00119     virtual const XMLCh* getPublicId() const = 0;
    00120
    00131     virtual const XMLCh* getSystemId() const = 0;
    00132
    00140     virtual XMLSSize_t getLineNumber() const = 0;
    00141
    00150     virtual XMLSSize_t getColumnNumber() const = 0;
    00152
    00153 private :
    00154     /* Copy constructor */
    00155     Locator(const Locator&);
    00156
    00157     /* Assignment operator */
    00158     Locator& operator=(const Locator&);
    00159 };
    00160
    00161 XERCES_CPP_NAMESPACE_END
    00162
    00163 #endif

Copyright © 1994-2004 The Apache Software Foundation. All Rights Reserved.