2002-06-10 Dwivedi, Ajay kumar <adwiv@yahoo.com>
[mono.git] / mcs / class / System.XML / System.Xml.Schema / XmlSchemaAnnotated.cs
1 // Author: Dwivedi, Ajay kumar\r
2 //            Adwiv@Yahoo.com\r
3 using System;\r
4 using System.Xml;\r
5 using System.Xml.Serialization;\r
6 \r
7 namespace System.Xml.Schema\r
8 {\r
9         /// <summary>\r
10         /// Summary description for XmlSchemaAnnotated.\r
11         /// </summary>\r
12 \r
13         public class XmlSchemaAnnotated : XmlSchemaObject\r
14         {\r
15                 private XmlSchemaAnnotation annotation;\r
16                 private string id;\r
17                 private XmlAttribute[] unhandledAttributes;\r
18 \r
19                 public XmlSchemaAnnotated()\r
20                 {}\r
21                 \r
22                 [XmlElement("annotation",Namespace="http://www.w3.org/2001/XMLSchema")]\r
23                 public XmlSchemaAnnotation Annotation \r
24                 { \r
25                         get{ return  annotation; } \r
26                         set{ annotation = value; } \r
27                 }\r
28                 \r
29                 [System.Xml.Serialization.XmlAttribute("id")]\r
30                 public string Id \r
31                 { \r
32                         get{ return  id; } \r
33                         set{ id = value; } \r
34                 }\r
35                 \r
36                 [XmlAnyAttribute]\r
37                 public XmlAttribute[] UnhandledAttributes \r
38                 { \r
39                         get{ return unhandledAttributes; } \r
40                         set{ unhandledAttributes = value; } \r
41                 }\r
42         }\r
43 }\r