SourceForge.net Logo

DOMEntity.hpp

Go to the documentation of this file.
00001 #ifndef DOMEntity_HEADER_GUARD_
00002 #define DOMEntity_HEADER_GUARD_
00003 
00004 /*
00005  * Licensed to the Apache Software Foundation (ASF) under one or more
00006  * contributor license agreements.  See the NOTICE file distributed with
00007  * this work for additional information regarding copyright ownership.
00008  * The ASF licenses this file to You under the Apache License, Version 2.0
00009  * (the "License"); you may not use this file except in compliance with
00010  * the License.  You may obtain a copy of the License at
00011  * 
00012  *      http://www.apache.org/licenses/LICENSE-2.0
00013  * 
00014  * Unless required by applicable law or agreed to in writing, software
00015  * distributed under the License is distributed on an "AS IS" BASIS,
00016  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
00017  * See the License for the specific language governing permissions and
00018  * limitations under the License.
00019  */
00020 
00021 /*
00022  * $Id: DOMEntity.hpp 568078 2007-08-21 11:43:25Z amassari $
00023  */
00024 
00025 
00026 #include <xercesc/util/XercesDefs.hpp>
00027 #include <xercesc/dom/DOMNode.hpp>
00028 
00029 XERCES_CPP_NAMESPACE_BEGIN
00030 
00067 class CDOM_EXPORT DOMEntity: public DOMNode {
00068 protected:
00069     // -----------------------------------------------------------------------
00070     //  Hidden constructors
00071     // -----------------------------------------------------------------------
00074     DOMEntity() {}
00075     DOMEntity(const DOMEntity &other) : DOMNode(other) {}
00077 
00078 private:
00079     // -----------------------------------------------------------------------
00080     // Unimplemented constructors and operators
00081     // -----------------------------------------------------------------------
00084     DOMEntity & operator = (const DOMEntity &);
00086 
00087 public:
00088     // -----------------------------------------------------------------------
00089     //  All constructors are hidden, just the destructor is available
00090     // -----------------------------------------------------------------------
00097     virtual ~DOMEntity() {};
00099 
00100     // -----------------------------------------------------------------------
00101     //  Virtual DOMEntity interface
00102     // -----------------------------------------------------------------------
00105     // -----------------------------------------------------------------------
00106     //  Getter methods
00107     // -----------------------------------------------------------------------
00115     virtual const XMLCh *        getPublicId() const = 0;
00116 
00124     virtual const XMLCh *        getSystemId() const = 0;
00125 
00133     virtual const XMLCh *        getNotationName() const = 0;
00135 
00138 
00147     virtual const XMLCh*           getActualEncoding() const = 0;
00148 
00157     virtual void                   setActualEncoding(const XMLCh* actualEncoding) = 0;
00158 
00168     virtual const XMLCh*           getEncoding() const = 0;
00169 
00179     virtual void                   setEncoding(const XMLCh* encoding) = 0;
00180 
00190     virtual const XMLCh*           getVersion() const = 0;
00191 
00201     virtual void                   setVersion(const XMLCh* version) = 0;
00203 };
00204 
00205 XERCES_CPP_NAMESPACE_END
00206 
00207 #endif
00208 

Generated on Fri Aug 31 14:37:57 2007 for XQilla DOM Level 3 API by  doxygen 1.5.1