diff options
author | Miguel de Icaza <miguel@gnome.org> | 2002-03-19 18:27:27 +0300 |
---|---|---|
committer | Miguel de Icaza <miguel@gnome.org> | 2002-03-19 18:27:27 +0300 |
commit | aa2c54ee1f8ef48d0ba3d02bd82bb15841d2abe4 (patch) | |
tree | e5674e0960f8782ec099be0820b7a61933b4ce13 /mcs/class/System.XML/System.Xml.Schema/XmlSchemaSimpleContentRestriction.cs | |
parent | 8e5332365ae9eaf3a602cdd92ebcced011ee7137 (diff) |
Add System.Xml.Schema from Ajay
svn path=/trunk/mcs/; revision=3216
Diffstat (limited to 'mcs/class/System.XML/System.Xml.Schema/XmlSchemaSimpleContentRestriction.cs')
-rwxr-xr-x | mcs/class/System.XML/System.Xml.Schema/XmlSchemaSimpleContentRestriction.cs | 57 |
1 files changed, 57 insertions, 0 deletions
diff --git a/mcs/class/System.XML/System.Xml.Schema/XmlSchemaSimpleContentRestriction.cs b/mcs/class/System.XML/System.Xml.Schema/XmlSchemaSimpleContentRestriction.cs new file mode 100755 index 00000000000..c173a3aa72e --- /dev/null +++ b/mcs/class/System.XML/System.Xml.Schema/XmlSchemaSimpleContentRestriction.cs @@ -0,0 +1,57 @@ +// Author: Dwivedi, Ajay kumar
+// Adwiv@Yahoo.com
+using System;
+using System.Xml;
+using System.Xml.Serialization;
+
+namespace System.Xml.Schema
+{
+ /// <summary>
+ /// Summary description for XmlSchemaSimpleContentRestriction.
+ /// </summary>
+ public class XmlSchemaSimpleContentRestriction : XmlSchemaContent
+ {
+
+ private XmlSchemaAnyAttribute any;
+ private XmlSchemaObjectCollection attributes;
+ private XmlSchemaSimpleType baseType;
+ private XmlQualifiedName baseTypeName;
+ private XmlSchemaObjectCollection facets;
+
+ public XmlSchemaSimpleContentRestriction()
+ {
+ baseTypeName = XmlQualifiedName.Empty;
+ attributes = new XmlSchemaObjectCollection();
+ facets = new XmlSchemaObjectCollection();
+ }
+
+ [XmlElement]
+ public XmlSchemaAnyAttribute AnyAttribute
+ {
+ get{ return any; }
+ set{ any = value; }
+ }
+ [XmlElement]
+ public XmlSchemaObjectCollection Attributes
+ {
+ get{ return attributes; }
+ }
+ [XmlElement]
+ public XmlSchemaSimpleType BaseType
+ {
+ get{ return baseType; }
+ set{ baseType = value; }
+ }
+ [XmlAttribute]
+ public XmlQualifiedName BaseTypeName
+ {
+ get{ return baseTypeName; }
+ set{ baseTypeName = value; }
+ }
+ [XmlElement]
+ public XmlSchemaObjectCollection Facets
+ {
+ get{ return facets; }
+ }
+ }
+}
|