File indexing completed on 2025-01-30 10:27:01
0001
0002
0003
0004
0005
0006
0007
0008
0009
0010
0011
0012
0013
0014
0015
0016
0017
0018
0019
0020
0021
0022 #if !defined(XERCESC_INCLUDE_GUARD_DOMIMPLEMENTATIONIMPL_HPP)
0023 #define XERCESC_INCLUDE_GUARD_DOMIMPLEMENTATIONIMPL_HPP
0024
0025
0026
0027
0028
0029
0030
0031
0032
0033
0034 #include <xercesc/util/XercesDefs.hpp>
0035 #include <xercesc/dom/DOMImplementation.hpp>
0036 #include <xercesc/dom/DOMImplementationSource.hpp>
0037
0038 XERCES_CPP_NAMESPACE_BEGIN
0039
0040 class XMLMsgLoader;
0041
0042 class CDOM_EXPORT DOMImplementationImpl: public XMemory,
0043 public DOMImplementation,
0044 public DOMImplementationSource
0045 {
0046 private:
0047 DOMImplementationImpl(const DOMImplementationImpl &);
0048 DOMImplementationImpl & operator = (const DOMImplementationImpl &);
0049 friend class XMLInitializer;
0050
0051 protected:
0052 DOMImplementationImpl() {};
0053
0054 public:
0055 virtual ~DOMImplementationImpl() {};
0056 static DOMImplementationImpl* getDOMImplementationImpl();
0057 static XMLMsgLoader* getMsgLoader4DOM();
0058
0059
0060
0061
0062 virtual bool hasFeature(const XMLCh * feature, const XMLCh * version) const;
0063
0064
0065 virtual DOMDocumentType* createDocumentType(const XMLCh *qualifiedName,
0066 const XMLCh * publicId,
0067 const XMLCh *systemId);
0068 virtual DOMDocument* createDocument(const XMLCh *namespaceURI,
0069 const XMLCh *qualifiedName,
0070 DOMDocumentType *doctype,
0071 MemoryManager* const manager = XMLPlatformUtils::fgMemoryManager);
0072
0073
0074 virtual void* getFeature(const XMLCh* feature, const XMLCh* version) const;
0075
0076
0077 virtual DOMDocument* createDocument(MemoryManager* const manager = XMLPlatformUtils::fgMemoryManager);
0078
0079
0080
0081
0082
0083 virtual DOMLSParser* createLSParser(const DOMImplementationLSMode mode,
0084 const XMLCh* const schemaType,
0085 MemoryManager* const manager = XMLPlatformUtils::fgMemoryManager,
0086 XMLGrammarPool* const gramPool = 0);
0087 virtual DOMLSSerializer* createLSSerializer(MemoryManager* const manager = XMLPlatformUtils::fgMemoryManager);
0088 virtual DOMLSInput* createLSInput(MemoryManager* const manager = XMLPlatformUtils::fgMemoryManager);
0089 virtual DOMLSOutput* createLSOutput(MemoryManager* const manager = XMLPlatformUtils::fgMemoryManager);
0090
0091
0092
0093
0094 virtual DOMImplementation* getDOMImplementation(const XMLCh* features) const;
0095 virtual DOMImplementationList* getDOMImplementationList(const XMLCh* features) const;
0096
0097 };
0098
0099
0100 XERCES_CPP_NAMESPACE_END
0101
0102 #endif