46 XSDType(
const std::string & ns);
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 ;
101 virtual bool isSimple()
const =0;
104 virtual void setName(std::string);
106 virtual void setTypeId(
int);
107 virtual void setAnonymous(
bool);
109 void setBaseTypeNamespace(std::string ns);
112 virtual void print (std::ostream & out) { };
166 return contentModel_;
194 return baseDerivation_;
210 baseDerivation_=type;
231 contentModel_ = model;
void setNamespace(std::string uri)
std::string getName() const
virtual void setName(std::string)
std::string getNamespace() const
Schema::ContentModelType getContentModel() const
virtual void setAnonymous(bool)
virtual void setContentModel(Schema::ContentModelType)
int getBaseTypeId() const
void setBaseType(int id, Schema::Derivation type=Schema::Restriction)
const std::string SchemaUri
virtual void setTypeId(int)
Schema::Derivation getBaseDerivation() const