| API Docs for SAX and DOM |
| Main Page Classes Files Related Pages # DOMDocumentType.hpp Go to the documentation of this file.
    00001 #ifndef DOMDocumentType_HEADER_GUARD_
    00002 #define DOMDocumentType_HEADER_GUARD_
    00003
    00004
    00005 /*
    00006  * Licensed to the Apache Software Foundation (ASF) under one or more
    00007  * contributor license agreements.  See the NOTICE file distributed with
    00008  * this work for additional information regarding copyright ownership.
    00009  * The ASF licenses this file to You under the Apache License, Version 2.0
    00010  * (the "License"); you may not use this file except in compliance with
    00011  * the License.  You may obtain a copy of the License at
    00012  *
    00013  *      http://www.apache.org/licenses/LICENSE-2.0
    00014  *
    00015  * Unless required by applicable law or agreed to in writing, software
    00016  * 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 and
    00019  * 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_BEGIN
    00030
    00031
    00032 class DOMNamedNodeMap;
    00033
    00046 class  DOMDocumentType: public DOMNode {
    00047 protected:
    00048     // -----------------------------------------------------------------------
    00049     //  Hidden constructors
    00050     // -----------------------------------------------------------------------
    00053     DOMDocumentType() {};
    00055
    00056 private:
    00057     // -----------------------------------------------------------------------
    00058     // Unimplemented constructors and operators
    00059     // -----------------------------------------------------------------------
    00062     DOMDocumentType(const DOMDocumentType &);
    00063     DOMDocumentType & operator = (const DOMDocumentType &);
    00065
    00066 public:
    00067     // -----------------------------------------------------------------------
    00068     //  All constructors are hidden, just the destructor is available
    00069     // -----------------------------------------------------------------------
    00076     virtual ~DOMDocumentType() {};
    00078
    00079     // -----------------------------------------------------------------------
    00080     //  Virtual DOMDocumentType interface
    00081     // -----------------------------------------------------------------------
    00090     virtual const XMLCh *       getName() const = 0;
    00091
    00109     virtual DOMNamedNodeMap *getEntities() const = 0;
    00110
    00111
    00121     virtual DOMNamedNodeMap *getNotations() const = 0;
    00123
    00132     virtual const XMLCh *     getPublicId() const = 0;
    00133
    00140     virtual const XMLCh *     getSystemId() const = 0;
    00141
    00152     virtual const XMLCh *     getInternalSubset() const = 0;
    00154
    00155 };
    00156
    00157 XERCES_CPP_NAMESPACE_END
    00158
    00159 #endif
    00160
    00161

Copyright © 1994-2004 The Apache Software Foundation. All Rights Reserved.