00001 #ifndef DOMImplementationSource_HEADER_GUARD_ 00002 #define DOMImplementationSource_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: DOMImplementationSource.hpp 176026 2004-09-08 13:57:07Z peiyongz $ 00022 */ 00023 00034 #include <xercesc/util/XercesDefs.hpp> 00035 00036 XERCES_CPP_NAMESPACE_BEGIN 00037 00038 00039 class DOMImplementation; 00040 00041 class CDOM_EXPORT DOMImplementationSource 00042 { 00043 protected : 00044 // ----------------------------------------------------------------------- 00045 // Hidden constructors 00046 // ----------------------------------------------------------------------- 00049 DOMImplementationSource() {}; 00051 00052 private: 00053 // ----------------------------------------------------------------------- 00054 // Unimplemented constructors and operators 00055 // ----------------------------------------------------------------------- 00058 DOMImplementationSource(const DOMImplementationSource &); 00059 DOMImplementationSource & operator = (const DOMImplementationSource &); 00061 00062 00063 public: 00064 // ----------------------------------------------------------------------- 00065 // All constructors are hidden, just the destructor is available 00066 // ----------------------------------------------------------------------- 00073 virtual ~DOMImplementationSource() {}; 00075 00076 // ----------------------------------------------------------------------- 00077 // Virtual DOMImplementationSource interface 00078 // ----------------------------------------------------------------------- 00094 virtual DOMImplementation* getDOMImplementation(const XMLCh* features) const = 0; 00096 00097 }; 00098 00099 XERCES_CPP_NAMESPACE_END 00100 00101 #endif