1 // Author: Dwivedi, Ajay kumar
\r
4 using System.Xml.Serialization;
\r
6 namespace System.Xml.Schema
\r
9 /// Summary description for XmlSchemaRedefine.
\r
11 public class XmlSchemaRedefine : XmlSchemaExternal
\r
13 private XmlSchemaObjectTable attributeGroups;
\r
14 private XmlSchemaObjectTable groups;
\r
15 private XmlSchemaObjectCollection items;
\r
16 private XmlSchemaObjectTable schemaTypes;
\r
18 public XmlSchemaRedefine()
\r
22 public XmlSchemaObjectTable AttributeGroups
\r
24 get{ return attributeGroups; }
\r
27 public XmlSchemaObjectTable Groups
\r
29 get{ return groups; }
\r
31 [XmlElement("annotation",typeof(XmlSchemaAnnotation),Namespace="http://www.w3.org/2001/XMLSchema")]
\r
32 [XmlElement("simpleType",typeof(XmlSchemaSimpleType),Namespace="http://www.w3.org/2001/XMLSchema")]
\r
33 [XmlElement("complexType",typeof(XmlSchemaComplexType),Namespace="http://www.w3.org/2001/XMLSchema")]
\r
34 [XmlElement("group",typeof(XmlSchemaGroup),Namespace="http://www.w3.org/2001/XMLSchema")]
\r
35 //NOTE: AttributeGroup and not AttributeGroupRef
\r
36 [XmlElement("attributeGroup",typeof(XmlSchemaAttributeGroup),Namespace="http://www.w3.org/2001/XMLSchema")]
\r
37 public XmlSchemaObjectCollection Items
\r
39 get{ return items; }
\r
42 public XmlSchemaObjectTable SchemaTypes
\r
44 get{ return schemaTypes; }
\r