1 // Author: Dwivedi, Ajay kumar
\r
5 using System.ComponentModel;
\r
6 using System.Xml.Serialization;
\r
8 namespace System.Xml.Schema
\r
11 /// Summary description for XmlSchemaType.
\r
13 [XmlInclude(typeof(XmlSchemaSimpleType))]
\r
14 public class XmlSchemaType : XmlSchemaAnnotated
\r
16 private object baseSchemaType;
\r
17 private XmlSchemaDatatype datatype;
\r
18 private XmlSchemaDerivationMethod derivedBy;
\r
19 private XmlSchemaDerivationMethod final;
\r
20 private XmlSchemaDerivationMethod finalResolved;
\r
21 private bool isMixed;
\r
22 private string name;
\r
23 private XmlQualifiedName qName;
\r
25 public XmlSchemaType()
\r
27 final = XmlSchemaDerivationMethod.None;
\r
31 [System.Xml.Serialization.XmlAttribute("name")]
\r
35 set{ name = value; }
\r
37 [DefaultValue(XmlSchemaDerivationMethod.None)]
\r
38 [System.Xml.Serialization.XmlAttribute("final")]
\r
39 public XmlSchemaDerivationMethod Final
\r
41 get{ return final; }
\r
42 set{ final = value; }
\r
48 public object BaseSchemaType
\r
50 get{ return baseSchemaType; }
\r
53 public XmlSchemaDatatype Datatype
\r
55 get{ return datatype; }
\r
58 public XmlSchemaDerivationMethod DerivedBy
\r
60 get{ return derivedBy; }
\r
63 public XmlSchemaDerivationMethod FinalResolved
\r
65 get{ return finalResolved; }
\r
68 public virtual bool IsMixed
\r
70 get{ return isMixed; }
\r
71 set{ isMixed = value; }
\r
74 public XmlQualifiedName QualifiedName
\r
76 get{ return qName; }
\r