46 XSDType(
const std::string & ns);
48 virtual ~ XSDType(){};
56 std::string getName()
const ;
62 std::string getNamespace()
const ;
67 Qname getQname()
const;
78 int getTypeId()
const ;
84 int getBaseTypeId()
const;
95 bool isAnonymous()
const ;
104 virtual void setName(std::string);
106 virtual void setTypeId(
int);
107 virtual void setAnonymous(
bool);
112 virtual void print (std::ostream & out) { };
158 qn.setNamespace(nsUri_);
166 return contentModel_;
194 return baseDerivation_;
210 baseDerivation_=type;
231 contentModel_ = model;
std::string getNamespace() const
void setBaseType(int id, Schema::Derivation type=Schema::Restriction)
int getBaseTypeId() const
virtual void setAnonymous(bool)
std::string getName() const
virtual void setTypeId(int)
Schema::Derivation getBaseDerivation() const
virtual bool isSimple() const =0
virtual void setContentModel(Schema::ContentModelType)
void setBaseTypeNamespace(std::string ns)
Schema::ContentModelType getContentModel() const
virtual void setName(std::string)
const std::string SchemaUri