Add System.Xml.Schema from Ajay
[mono.git] / mcs / class / System.XML / System.Xml.Schema / XmlSchemaExternal.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 XmlSchemaExternal.\r
11         /// </summary>\r
12         public abstract class XmlSchemaExternal : XmlSchemaObject\r
13         {\r
14                 private string id;\r
15                 private XmlSchema schema;\r
16                 private string location;\r
17                 private XmlAttribute[] unhandledAttributes;\r
18 \r
19                 protected XmlSchemaExternal()\r
20                 {\r
21                 }\r
22                 [XmlAttribute]\r
23                 public string Id \r
24                 {\r
25                         get{ return  id; }\r
26                         set{ id = value; }\r
27                 }\r
28                 [XmlIgnore]\r
29                 public XmlSchema Schema \r
30                 {\r
31                         get{ return  schema; }\r
32                         set{ schema = value; }\r
33                 }\r
34                 [XmlAttribute]\r
35                 public string SchemaLocation \r
36                 {\r
37                         get{ return  location; } \r
38                         set{ location = value; }\r
39                 }\r
40                 [XmlAnyAttribute]\r
41                 public XmlAttribute[] UnhandledAttributes \r
42                 {\r
43                         get{ return  unhandledAttributes; }\r
44                         set{ unhandledAttributes = value; }\r
45                 }\r
46         }\r
47 }\r