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 public class XmlSchemaType : XmlSchemaAnnotated
\r
15 private object baseSchemaType;
\r
16 private XmlSchemaDatatype datatype;
\r
17 private XmlSchemaDerivationMethod derivedBy;
\r
18 private XmlSchemaDerivationMethod final;
\r
19 protected XmlSchemaDerivationMethod finalResolved;
\r
20 private bool isMixed;
\r
21 private string name;
\r
22 protected XmlQualifiedName qName;
\r
24 public XmlSchemaType()
\r
26 final = XmlSchemaDerivationMethod.None;
\r
27 qName = XmlQualifiedName.Empty;
\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