00001 #ifndef DOMDocumentType_HEADER_GUARD_00002 #define DOMDocumentType_HEADER_GUARD_00003
00004
00005 /*00006 * Licensed to the Apache Software Foundation (ASF) under one or more00007 * contributor license agreements. See the NOTICE file distributed with00008 * this work for additional information regarding copyright ownership.00009 * The ASF licenses this file to You under the Apache License, Version 2.000010 * (the "License"); you may not use this file except in compliance with00011 * the License. You may obtain a copy of the License at00012 * 00013 * http://www.apache.org/licenses/LICENSE-2.000014 * 00015 * Unless required by applicable law or agreed to in writing, software00016 * distributed under the License is distributed on an "AS IS" BASIS,00017 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.00018 * See the License for the specific language governing permissions and00019 * limitations under the License.00020 */00021
00022 /*00023 * $Id: DOMDocumentType.hpp 568078 2007-08-21 11:43:25Z amassari $00024 */00025
00026 #include <xercesc/util/XercesDefs.hpp>00027 #include <xercesc/dom/DOMNode.hpp>00028
00029 XERCES_CPP_NAMESPACE_BEGIN00030
00031
00032 class DOMNamedNodeMap;
00033
00046class DOMDocumentType: publicDOMNode {
00047 protected:
00048 // -----------------------------------------------------------------------00049 // Hidden constructors00050 // -----------------------------------------------------------------------00053DOMDocumentType() {};
00055
00056 private:
00057 // -----------------------------------------------------------------------00058 // Unimplemented constructors and operators00059 // -----------------------------------------------------------------------00062 DOMDocumentType(constDOMDocumentType &);
00063 DOMDocumentType & operator = (constDOMDocumentType &);
00065
00066 public:
00067 // -----------------------------------------------------------------------00068 // All constructors are hidden, just the destructor is available00069 // -----------------------------------------------------------------------00076virtual ~DOMDocumentType() {};
00078
00079 // -----------------------------------------------------------------------00080 // Virtual DOMDocumentType interface00081 // -----------------------------------------------------------------------00090 virtualconst XMLCh * getName() const = 0;
00091
00109 virtualDOMNamedNodeMap *getEntities() const = 0;
00110
00111
00121 virtualDOMNamedNodeMap *getNotations() const = 0;
00123
00132 virtualconst XMLCh * getPublicId() const = 0;
00133
00140 virtualconst XMLCh * getSystemId() const = 0;
00141
00152 virtualconst XMLCh * getInternalSubset() const = 0;
00154
00155 };
00156
00157 XERCES_CPP_NAMESPACE_END00158
00159 #endif00160
00161