// Author: Dwivedi, Ajay kumar // Adwiv@Yahoo.com using System; using System.Xml; using System.Xml.Serialization; namespace System.Xml.Schema { /// /// Summary description for XmlSchemaSimpleContentExtension. /// public class XmlSchemaSimpleContentExtension : XmlSchemaContent { private XmlSchemaAnyAttribute any; private XmlSchemaObjectCollection attributes; private XmlQualifiedName baseTypeName; public XmlSchemaSimpleContentExtension() { baseTypeName = XmlQualifiedName.Empty; attributes = new XmlSchemaObjectCollection(); } [XmlElement("anyAttribute",Namespace="http://www.w3.org/2001/XMLSchema")] public XmlSchemaAnyAttribute AnyAttribute { get{ return any; } set{ any = value; } } [XmlElement("attribute",typeof(XmlSchemaAttribute),Namespace="http://www.w3.org/2001/XMLSchema")] [XmlElement("attributeGroup",typeof(XmlSchemaAttributeGroupRef),Namespace="http://www.w3.org/2001/XMLSchema")] public XmlSchemaObjectCollection Attributes { get{ return attributes; } } [System.Xml.Serialization.XmlAttribute("base")] public XmlQualifiedName BaseTypeName { get{ return baseTypeName; } set{ baseTypeName = value; } } } }