00001 /* 00002 * Copyright 2003,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 #if !defined(DOMTYPEINFO_HPP) 00018 #define DOMTYPEINFO_HPP 00019 00020 //------------------------------------------------------------------------------------ 00021 // Includes 00022 //------------------------------------------------------------------------------------ 00023 #include <xercesc/util/XMLString.hpp> 00024 00025 00026 XERCES_CPP_NAMESPACE_BEGIN 00027 00034 class CDOM_EXPORT DOMTypeInfo 00035 { 00036 protected: 00037 // ----------------------------------------------------------------------- 00038 // Hidden constructors 00039 // ----------------------------------------------------------------------- 00042 DOMTypeInfo() {}; 00044 00045 private: 00046 // ----------------------------------------------------------------------- 00047 // Unimplemented constructors and operators 00048 // ----------------------------------------------------------------------- 00051 DOMTypeInfo(const DOMTypeInfo &); 00052 DOMTypeInfo & operator = (const DOMTypeInfo &); 00054 00055 public: 00056 00057 // ----------------------------------------------------------------------- 00058 // All constructors are hidden, just the destructor is available 00059 // ----------------------------------------------------------------------- 00066 virtual ~DOMTypeInfo() {}; 00068 00070 // ----------------------------------------------------------------------- 00071 // Getter methods 00072 // ----------------------------------------------------------------------- 00083 virtual const XMLCh* getName() const = 0; 00084 00097 virtual const XMLCh* getNamespace() const = 0; 00099 }; 00100 00101 XERCES_CPP_NAMESPACE_END 00102 00103 #endif 00104