| API Docs for SAX and DOM |

Main Page | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Class Members | File Members | Related Pages

# DOMEntity.hpp

Go to the documentation of this file.

    00001 #ifndef DOMEntity_HEADER_GUARD_
    00002 #define DOMEntity_HEADER_GUARD_
    00003
    00004 /*
    00005  * Copyright 2001-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: DOMEntity.hpp 176280 2005-01-07 15:32:34Z amassari $
    00022  */
    00023
    00024
    00025 #include <xercesc/util/XercesDefs.hpp>
    00026 #include <xercesc/dom/DOMNode.hpp>
    00027
    00028 XERCES_CPP_NAMESPACE_BEGIN
    00029
    00066 class  DOMEntity: public DOMNode {
    00067 protected:
    00068     // -----------------------------------------------------------------------
    00069     //  Hidden constructors
    00070     // -----------------------------------------------------------------------
    00073     DOMEntity() {}
    00074     DOMEntity(const DOMEntity &other) : DOMNode(other) {}
    00076
    00077 private:
    00078     // -----------------------------------------------------------------------
    00079     // Unimplemented constructors and operators
    00080     // -----------------------------------------------------------------------
    00083     DOMEntity & operator = (const DOMEntity &);
    00085
    00086 public:
    00087     // -----------------------------------------------------------------------
    00088     //  All constructors are hidden, just the destructor is available
    00089     // -----------------------------------------------------------------------
    00096     virtual ~DOMEntity() {};
    00098
    00099     // -----------------------------------------------------------------------
    00100     //  Virtual DOMEntity interface
    00101     // -----------------------------------------------------------------------
    00104     // -----------------------------------------------------------------------
    00105     //  Getter methods
    00106     // -----------------------------------------------------------------------
    00114     virtual const XMLCh *        getPublicId() const = 0;
    00115
    00123     virtual const XMLCh *        getSystemId() const = 0;
    00124
    00132     virtual const XMLCh *        getNotationName() const = 0;
    00134
    00137
    00146     virtual const XMLCh*           getActualEncoding() const = 0;
    00147
    00156     virtual void                   setActualEncoding(const XMLCh* actualEncoding) = 0;
    00157
    00167     virtual const XMLCh*           getEncoding() const = 0;
    00168
    00178     virtual void                   setEncoding(const XMLCh* encoding) = 0;
    00179
    00189     virtual const XMLCh*           getVersion() const = 0;
    00190
    00200     virtual void                   setVersion(const XMLCh* version) = 0;
    00202 };
    00203
    00204 XERCES_CPP_NAMESPACE_END
    00205
    00206 #endif
    00207

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