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 * $Id: DOMEntityResolver.hpp 231323 2005-08-10 20:58:40Z cargilld $ 00022 */ 00023 00024 00025 #include <xercesc/util/XercesDefs.hpp> 00026 00027 XERCES_CPP_NAMESPACE_BEGIN 00028 00029 00030 class DOMInputSource; 00031 00053 class CDOM_EXPORT DOMEntityResolver 00054 { 00055 protected: 00056 // ----------------------------------------------------------------------- 00057 // Hidden constructors 00058 // ----------------------------------------------------------------------- 00061 DOMEntityResolver() {}; 00063 00064 private: 00065 // ----------------------------------------------------------------------- 00066 // Unimplemented constructors and operators 00067 // ----------------------------------------------------------------------- 00070 DOMEntityResolver(const DOMEntityResolver &); 00071 DOMEntityResolver & operator = (const DOMEntityResolver &); 00073 00074 public: 00075 // ----------------------------------------------------------------------- 00076 // All constructors are hidden, just the destructor is available 00077 // ----------------------------------------------------------------------- 00084 virtual ~DOMEntityResolver() {}; 00086 00087 // ----------------------------------------------------------------------- 00088 // Virtual DOMEntityResolver interface 00089 // ----------------------------------------------------------------------- 00131 virtual DOMInputSource* resolveEntity 00132 ( 00133 const XMLCh* const publicId 00134 , const XMLCh* const systemId 00135 , const XMLCh* const baseURI 00136 ) = 0; 00137 00139 00140 }; 00141 00142 XERCES_CPP_NAMESPACE_END 00143 00144 #endif