2002-03-27 Duncan Mak <duncan@ximian.com>
[mono.git] / mcs / class / System.XML / System.Xml.Schema / XmlSchemaSimpleType.cs
1 // Author: Dwivedi, Ajay kumar\r
2 //            Adwiv@Yahoo.com\r
3 using System;\r
4 using System.Xml.Serialization;\r
5 \r
6 namespace System.Xml.Schema\r
7 {\r
8         /// <summary>\r
9         /// Summary description for XmlSchemaSimpleType.\r
10         /// </summary>\r
11         public class XmlSchemaSimpleType : XmlSchemaType\r
12         {\r
13                 private XmlSchemaSimpleTypeContent content;\r
14 \r
15                 public XmlSchemaSimpleType()\r
16                 {\r
17                 }\r
18 \r
19                 [XmlElement("restriction",typeof(XmlSchemaSimpleTypeRestriction),Namespace="http://www.w3.org/2001/XMLSchema")]\r
20                 [XmlElement("list",typeof(XmlSchemaSimpleTypeList),Namespace="http://www.w3.org/2001/XMLSchema")]\r
21                 [XmlElement("union",typeof(XmlSchemaSimpleTypeUnion),Namespace="http://www.w3.org/2001/XMLSchema")]\r
22                 public XmlSchemaSimpleTypeContent Content\r
23                 {\r
24                         get{ return  content; } \r
25                         set{ content = value; }\r
26                 }\r
27         }\r
28 }\r