00001 #ifndef DOMEntityResolver_HEADER_GUARD_ 00002 #define DOMEntityResolver_HEADER_GUARD_ 00003 00004 /* 00005 * Copyright 2002,2004 The Apache Software Foundation. 00006 * 00007 * Licensed under the Apache License, Version 2.0 (the "License"); 00008 * you may not use this file except in compliance with the License. 00009 * You may obtain a copy of the License at 00010 * 00011 * http://www.apache.org/licenses/LICENSE-2.0 00012 * 00013 * Unless required by applicable law or agreed to in writing, software 00014 * distributed under the License is distributed on an "AS IS" BASIS, 00015 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 00016 * See the License for the specific language governing permissions and 00017 * limitations under the License. 00018 */ 00019 00020 /* 00021 * $Log: DOMEntityResolver.hpp,v $ 00022 * Revision 1.7 2004/09/08 13:55:39 peiyongz 00023 * Apache License Version 2.0 00024 * 00025 * Revision 1.6 2003/03/07 19:59:04 tng 00026 * [Bug 11692] Unimplement the hidden constructors and assignment operator to remove warnings from gcc. 00027 * 00028 * Revision 1.5 2002/11/04 15:09:24 tng 00029 * C++ Namespace Support. 00030 * 00031 * Revision 1.4 2002/08/22 15:04:57 tng 00032 * Remove unused parameter variables in inline functions. 00033 * 00034 * Revision 1.3 2002/06/06 20:53:06 tng 00035 * Documentation Fix: Update the API Documentation for DOM headers 00036 * 00037 * Revision 1.2 2002/05/30 19:24:48 knoaman 00038 * documentation update 00039 * 00040 * Revision 1.1 2002/05/29 21:28:02 knoaman 00041 * DOM L3 LS: DOMInputSource, DOMEntityResolver, DOMImplementationLS and DOMBuilder 00042 * 00043 */ 00044 00045 00046 #include <xercesc/util/XercesDefs.hpp> 00047 00048 XERCES_CPP_NAMESPACE_BEGIN 00049 00050 00051 class DOMInputSource; 00052 00074 class DOMEntityResolver 00075 { 00076 protected: 00077 // ----------------------------------------------------------------------- 00078 // Hidden constructors 00079 // ----------------------------------------------------------------------- 00082 DOMEntityResolver() {}; 00084 00085 private: 00086 // ----------------------------------------------------------------------- 00087 // Unimplemented constructors and operators 00088 // ----------------------------------------------------------------------- 00091 DOMEntityResolver(const DOMEntityResolver &); 00092 DOMEntityResolver & operator = (const DOMEntityResolver &); 00094 00095 public: 00096 // ----------------------------------------------------------------------- 00097 // All constructors are hidden, just the destructor is available 00098 // ----------------------------------------------------------------------- 00105 virtual ~DOMEntityResolver() {}; 00107 00108 // ----------------------------------------------------------------------- 00109 // Virtual DOMEntityResolver interface 00110 // ----------------------------------------------------------------------- 00154 virtual DOMInputSource* resolveEntity 00155 ( 00156 const XMLCh* const publicId 00157 , const XMLCh* const systemId 00158 , const XMLCh* const baseURI 00159 ) = 0; 00160 00162 00163 }; 00164 00165 XERCES_CPP_NAMESPACE_END 00166 00167 #endif