File indexing completed on 2025-01-30 10:27:02
0001
0002
0003
0004
0005
0006
0007
0008
0009
0010
0011
0012
0013
0014
0015
0016
0017
0018
0019
0020
0021
0022
0023
0024
0025
0026
0027
0028 #if !defined(XERCESC_INCLUDE_GUARD_DOMTYPEINFOIMPL_HPP)
0029 #define XERCESC_INCLUDE_GUARD_DOMTYPEINFOIMPL_HPP
0030
0031
0032
0033
0034 #include <xercesc/dom/DOMTypeInfo.hpp>
0035 #include <xercesc/dom/DOMPSVITypeInfo.hpp>
0036
0037 XERCES_CPP_NAMESPACE_BEGIN
0038
0039 class DOMDocumentImpl;
0040
0041 class CDOM_EXPORT DOMTypeInfoImpl : public DOMTypeInfo, public DOMPSVITypeInfo
0042 {
0043 public:
0044
0045
0046
0047
0048 DOMTypeInfoImpl(const XMLCh* namespaceUri=0, const XMLCh* name=0);
0049 DOMTypeInfoImpl(DOMDocumentImpl* ownerDoc, const DOMPSVITypeInfo* sourcePSVI);
0050
0051 static DOMTypeInfoImpl g_DtdValidatedElement;
0052 static DOMTypeInfoImpl g_DtdNotValidatedAttribute;
0053 static DOMTypeInfoImpl g_DtdValidatedCDATAAttribute;
0054 static DOMTypeInfoImpl g_DtdValidatedIDAttribute;
0055 static DOMTypeInfoImpl g_DtdValidatedIDREFAttribute;
0056 static DOMTypeInfoImpl g_DtdValidatedIDREFSAttribute;
0057 static DOMTypeInfoImpl g_DtdValidatedENTITYAttribute;
0058 static DOMTypeInfoImpl g_DtdValidatedENTITIESAttribute;
0059 static DOMTypeInfoImpl g_DtdValidatedNMTOKENAttribute;
0060 static DOMTypeInfoImpl g_DtdValidatedNMTOKENSAttribute;
0061 static DOMTypeInfoImpl g_DtdValidatedNOTATIONAttribute;
0062 static DOMTypeInfoImpl g_DtdValidatedENUMERATIONAttribute;
0063
0064
0065
0066
0067 virtual const XMLCh* getTypeName() const;
0068 virtual const XMLCh* getTypeNamespace() const;
0069 virtual bool isDerivedFrom(const XMLCh* typeNamespaceArg, const XMLCh* typeNameArg, DerivationMethods derivationMethod) const;
0070
0071
0072
0073
0074 virtual const XMLCh* getStringProperty(PSVIProperty prop) const;
0075 virtual int getNumericProperty(PSVIProperty prop) const;
0076
0077
0078
0079
0080 virtual void setStringProperty(PSVIProperty prop, const XMLCh* value);
0081 virtual void setNumericProperty(PSVIProperty prop, int value);
0082
0083 protected:
0084 int fBitFields;
0085 const XMLCh* fTypeName;
0086 const XMLCh* fTypeNamespace;
0087 const XMLCh* fMemberTypeName;
0088 const XMLCh* fMemberTypeNamespace;
0089 const XMLCh* fDefaultValue;
0090 const XMLCh* fNormalizedValue;
0091
0092 private:
0093
0094
0095
0096 DOMTypeInfoImpl (const DOMTypeInfoImpl&);
0097 DOMTypeInfoImpl & operator = (const DOMTypeInfoImpl &);
0098 };
0099
0100 XERCES_CPP_NAMESPACE_END
0101
0102 #endif
0103
0104
0105
0106