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 * $Id: XMLEntityResolver.hpp 191054 2005-06-17 02:56:35Z jberry $
00019 */
00020
00021 #ifndef XMLENTITYRESOLVER_HPP
00022 #define XMLENTITYRESOLVER_HPP
00023
00024 #include <xercesc/util/XercesDefs.hpp>
00025 #include <xercesc/util/XMemory.hpp>
00026 #include <xercesc/util/XMLResourceIdentifier.hpp>
00027
00028 XERCES_CPP_NAMESPACE_BEGIN
00029
00030 class InputSource;
00031
00098class XMLEntityResolver
00099 {
00100 public:
00103
00104
00106virtual ~XMLEntityResolver()
00107 {
00108 }
00109
00111
00114
00152 virtualInputSource* resolveEntity
00153 (
00154 XMLResourceIdentifier* resourceIdentifier
00155 ) = 0;
00156
00158 protected:
00160 XMLEntityResolver()
00161 {
00162 }
00163
00164 private :
00165 /* Unimplemented constructors and operators */
00166
00167 /* Copy constructor */
00168 XMLEntityResolver(const XMLEntityResolver&);
00169
00170 /* Assignment operator */
00171 XMLEntityResolver& operator=(const XMLEntityResolver&);
00172
00173 };
00174
00175 XERCES_CPP_NAMESPACE_END
00176
00177 #endif