00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017 #if !defined(DOMPSVITYPEINFO_HPP)
00018 #define DOMPSVITYPEINFO_HPP
00019
00020
00021
00022
00023 #include <xercesc/util/XMLString.hpp>
00024
00025
00026 XERCES_CPP_NAMESPACE_BEGIN
00027
00033 class DOMPSVITypeInfo
00034 {
00035 protected:
00036
00037
00038
00041 DOMPSVITypeInfo() {};
00043
00044 private:
00045
00046
00047
00050 DOMPSVITypeInfo(const DOMPSVITypeInfo &);
00051 DOMPSVITypeInfo & operator = (const DOMPSVITypeInfo &);
00053
00054 public:
00055
00056 enum PSVIProperty
00057 {
00058 PSVI_Validity
00059 , PSVI_Validitation_Attempted
00060 , PSVI_Type_Definition_Type
00061 , PSVI_Type_Definition_Name
00062 , PSVI_Type_Definition_Namespace
00063 , PSVI_Type_Definition_Anonymous
00064 , PSVI_Nil
00065 , PSVI_Member_Type_Definition_Name
00066 , PSVI_Member_Type_Definition_Namespace
00067 , PSVI_Member_Type_Definition_Anonymous
00068 , PSVI_Schema_Default
00069 , PSVI_Schema_Normalized_Value
00070 , PSVI_Schema_Specified
00071 };
00072
00073
00074
00075
00082 virtual ~DOMPSVITypeInfo() {};
00084
00086
00087
00088
00098 virtual const XMLCh* getStringProperty(PSVIProperty prop) const = 0;
00099
00109 virtual int getNumericProperty(PSVIProperty prop) const = 0;
00111 };
00112
00113 XERCES_CPP_NAMESPACE_END
00114
00115 #endif
00116