![]() |
|
|||
File indexing completed on 2025-02-25 10:29:06
0001 /* 0002 * Licensed to the Apache Software Foundation (ASF) under one or more 0003 * contributor license agreements. See the NOTICE file distributed with 0004 * this work for additional information regarding copyright ownership. 0005 * The ASF licenses this file to You under the Apache License, Version 2.0 0006 * (the "License"); you may not use this file except in compliance with 0007 * the License. You may obtain a copy of the License at 0008 * 0009 * http://www.apache.org/licenses/LICENSE-2.0 0010 * 0011 * Unless required by applicable law or agreed to in writing, software 0012 * distributed under the License is distributed on an "AS IS" BASIS, 0013 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 0014 * See the License for the specific language governing permissions and 0015 * limitations under the License. 0016 */ 0017 0018 /* 0019 * $Id$ 0020 */ 0021 0022 #if !defined(XERCESC_INCLUDE_GUARD_XMLDTDDESCRIPTIONIMPL_HPP) 0023 #define XERCESC_INCLUDE_GUARD_XMLDTDDESCRIPTIONIMPL_HPP 0024 0025 #include <xercesc/framework/XMLDTDDescription.hpp> 0026 0027 XERCES_CPP_NAMESPACE_BEGIN 0028 0029 class XMLPARSER_EXPORT XMLDTDDescriptionImpl : public XMLDTDDescription 0030 { 0031 public : 0032 // ----------------------------------------------------------------------- 0033 /** @name constructor and destructor */ 0034 // ----------------------------------------------------------------------- 0035 //@{ 0036 XMLDTDDescriptionImpl( 0037 const XMLCh* const systemId 0038 , MemoryManager* const memMgr 0039 ); 0040 0041 ~XMLDTDDescriptionImpl(); 0042 //@} 0043 0044 // ----------------------------------------------------------------------- 0045 /** @name Implementation of GrammarDescription Interface */ 0046 // ----------------------------------------------------------------------- 0047 //@{ 0048 /** 0049 * getGrammarKey 0050 * 0051 */ 0052 virtual const XMLCh* getGrammarKey() const ; 0053 //@} 0054 0055 // ----------------------------------------------------------------------- 0056 /** @name Implementation of DTDDescription Interface */ 0057 // ----------------------------------------------------------------------- 0058 //@{ 0059 /** 0060 * Getter 0061 * 0062 */ 0063 virtual const XMLCh* getRootName() const; 0064 virtual const XMLCh* getSystemId() const; 0065 0066 /** 0067 * Setter 0068 * 0069 */ 0070 virtual void setRootName(const XMLCh* const); 0071 virtual void setSystemId(const XMLCh* const); 0072 //@} 0073 0074 /*** 0075 * Support for Serialization/De-serialization 0076 ***/ 0077 DECL_XSERIALIZABLE(XMLDTDDescriptionImpl) 0078 0079 XMLDTDDescriptionImpl(MemoryManager* const memMgr = XMLPlatformUtils::fgMemoryManager); 0080 0081 private : 0082 // ----------------------------------------------------------------------- 0083 /** name Unimplemented copy constructor and operator= */ 0084 // ----------------------------------------------------------------------- 0085 //@{ 0086 XMLDTDDescriptionImpl(const XMLDTDDescriptionImpl& ); 0087 XMLDTDDescriptionImpl& operator=(const XMLDTDDescriptionImpl& ); 0088 //@} 0089 0090 // ----------------------------------------------------------------------- 0091 // 0092 // fSystemId: 0093 // SYSTEM ID of the grammar 0094 // 0095 // fRootName: 0096 // root name of the grammar 0097 // 0098 // ----------------------------------------------------------------------- 0099 0100 const XMLCh* fSystemId; 0101 const XMLCh* fRootName; 0102 0103 }; 0104 0105 0106 XERCES_CPP_NAMESPACE_END 0107 0108 #endif
[ Source navigation ] | [ Diff markup ] | [ Identifier search ] | [ general search ] |
This page was automatically generated by the 2.3.7 LXR engine. The LXR team |
![]() ![]() |