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_DOMELEMENTNSIMPL_HPP)
0023 #define XERCESC_INCLUDE_GUARD_DOMELEMENTNSIMPL_HPP
0024
0025
0026
0027
0028
0029
0030
0031
0032
0033
0034
0035 #include "DOMElementImpl.hpp"
0036
0037 XERCES_CPP_NAMESPACE_BEGIN
0038
0039 class DOMTypeInfoImpl;
0040
0041 class CDOM_EXPORT DOMElementNSImpl: public DOMElementImpl {
0042 protected:
0043
0044 const XMLCh * fNamespaceURI;
0045 const XMLCh * fLocalName;
0046 const XMLCh * fPrefix;
0047 const DOMTypeInfoImpl *fSchemaType;
0048
0049 public:
0050 DOMElementNSImpl(DOMDocument *ownerDoc, const XMLCh *name);
0051 DOMElementNSImpl(DOMDocument *ownerDoc,
0052 const XMLCh *namespaceURI,
0053 const XMLCh *qualifiedName);
0054 DOMElementNSImpl(const DOMElementNSImpl &other, bool deep=false);
0055
0056
0057
0058
0059 DOMElementNSImpl(DOMDocument *ownerDoc,
0060 const XMLCh *namespaceURI,
0061 const XMLCh *prefix,
0062 const XMLCh *localName,
0063 const XMLCh *qualifiedName);
0064
0065 virtual DOMNode * cloneNode(bool deep) const;
0066 virtual bool isSupported(const XMLCh *feature, const XMLCh *version) const;
0067 virtual void* getFeature(const XMLCh* feature, const XMLCh* version) const;
0068
0069
0070 virtual const XMLCh *getNamespaceURI() const;
0071 virtual const XMLCh *getPrefix() const;
0072 virtual const XMLCh *getLocalName() const;
0073 virtual void setPrefix(const XMLCh *prefix);
0074 virtual void release();
0075
0076
0077 virtual const DOMTypeInfo * getSchemaTypeInfo() const;
0078
0079
0080 virtual DOMNode* rename(const XMLCh* namespaceURI, const XMLCh* name);
0081 void setName(const XMLCh* namespaceURI, const XMLCh* name);
0082
0083
0084 virtual void setSchemaTypeInfo(const DOMTypeInfoImpl* typeInfo);
0085
0086 private:
0087
0088
0089
0090 DOMElementNSImpl & operator = (const DOMElementNSImpl &);
0091 };
0092
0093 XERCES_CPP_NAMESPACE_END
0094
0095 #endif