- Initial commit of System.Xml.Serialization namespace (don't get too excited, the...
[mono.git] / mcs / class / System.XML / System.Xml.Serialization / XmlAttributes.cs
1 //
2 // XmlAttributes.cs: 
3 //
4 // Author:
5 //   John Donagher (john@webmeta.com)
6 //
7 // (C) 2002 John Donagher
8 //
9
10 using System.Reflection;
11 using System;\r
12 \r
13 namespace System.Xml.Serialization\r
14 {\r
15         /// <summary>\r
16         /// Summary description for XmlAttributes.\r
17         /// </summary>\r
18         public class XmlAttributes\r
19         {\r
20                 private XmlAnyAttributeAttribute xmlAnyAttribute;\r
21                 private XmlAnyElementAttributes xmlAnyElements;\r
22                 private XmlArrayAttribute xmlArray;\r
23                 private XmlArrayItemAttributes xmlArrayItems;\r
24                 private XmlAttributeAttribute xmlAttribute;\r
25                 private XmlChoiceIdentifierAttribute xmlChoiceIdentifier;\r
26                 private object xmlDefaultValue;\r
27                 private XmlElementAttributes xmlElements;\r
28                 private XmlEnumAttribute xmlEnum;\r
29                 private bool xmlIgnore;\r
30                 private bool xmlns;\r
31                 private XmlRootAttribute xmlRoot;\r
32                 private XmlTextAttribute xmlText;\r
33                 private XmlTypeAttribute xmlType;\r
34 \r
35                 public XmlAttributes ()\r
36                 {\r
37                         xmlAnyElements = new XmlAnyElementAttributes ();\r
38                         xmlArrayItems = new XmlArrayItemAttributes ();\r
39                         xmlElements = new XmlElementAttributes ();\r
40                 }\r
41 \r
42                 [MonoTODO]\r
43                 public XmlAttributes (ICustomAttributeProvider provider)\r
44                 {\r
45                         throw new NotImplementedException ();\r
46                 }\r
47 \r
48                 public XmlAnyAttributeAttribute XmlAnyAttribute {\r
49                         get {
50                                 return xmlAnyAttribute;
51                         }\r
52                         set {
53                                 xmlAnyAttribute = value;
54                         }\r
55                 }\r
56                 public XmlAnyElementAttributes XmlAnyElements {\r
57                         get {
58                                 return xmlAnyElements;
59                         }\r
60                 }\r
61                 public XmlArrayAttribute XmlArray {\r
62                         get {
63                                 return xmlArray;
64                         }\r
65                         set {
66                                 xmlArray = value;
67                         }\r
68                 }\r
69                 public XmlArrayItemAttributes XmlArrayItems {\r
70                         get {
71                                 return xmlArrayItems;
72                         }\r
73                 }\r
74                 public XmlAttributeAttribute XmlAttribute {\r
75                         get {
76                                 return xmlAttribute;
77                         }\r
78                         set {
79                                 xmlAttribute = value;
80                         }\r
81                 }\r
82                 public XmlChoiceIdentifierAttribute XmlChoiceIdentifier {\r
83                         get {
84                                 return xmlChoiceIdentifier;
85                         }\r
86                         set {
87                                 xmlChoiceIdentifier = value;
88                         }\r
89                 }\r
90                 public object XmlDefaultValue {\r
91                         get {
92                                 return xmlDefaultValue;
93                         }\r
94                         set {
95                                 xmlDefaultValue = value;
96                         }\r
97                 }\r
98                 public XmlElementAttributes XmlElements {\r
99                         get {
100                                 return xmlElements;
101                         }\r
102                 }\r
103                 public XmlEnumAttribute XmlEnum {\r
104                         get {
105                                 return xmlEnum;
106                         }\r
107                         set {
108                                 xmlEnum = value;
109                         }\r
110                 }\r
111                 public bool XmlIgnore {\r
112                         get {
113                                 return xmlIgnore;
114                         }\r
115                         set {
116                                 xmlIgnore = value;
117                         }\r
118                 }\r
119                 public bool Xmlns {\r
120                         get {
121                                 return xmlns;
122                         }\r
123                         set {
124                                 xmlns = value;
125                         }\r
126                 }\r
127                 public XmlRootAttribute XmlRoot {\r
128                         get {
129                                 return xmlRoot;}\r
130                         set {
131                                 xmlRoot = value;
132                         }\r
133                 }\r
134                 public XmlTextAttribute XmlText {\r
135                         get {
136                                 return xmlText;
137                         }\r
138                         set {
139                                 xmlText = value;
140                         }\r
141                 }\r
142                 public XmlTypeAttribute XmlType {\r
143                         get {
144                                 return xmlType;
145                         }\r
146                         set {
147                                 xmlType = value;
148                         }\r
149                 }\r
150 \r
151         }\r
152 }\r