1 // Author: Dwivedi, Ajay kumar
\r
5 using System.Xml.Serialization;
\r
7 namespace System.Xml.Schema
\r
10 /// Summary description for XmlSchemaComplexContentRestriction.
\r
12 public class XmlSchemaComplexContentRestriction : XmlSchemaContent
\r
14 private XmlSchemaAnyAttribute any;
\r
15 private XmlSchemaObjectCollection attributes;
\r
16 private XmlQualifiedName baseTypeName;
\r
17 private XmlSchemaParticle particle;
\r
19 public XmlSchemaComplexContentRestriction()
\r
21 baseTypeName = XmlQualifiedName.Empty;
\r
22 attributes = new XmlSchemaObjectCollection();
\r
25 [System.Xml.Serialization.XmlAttribute("base")]
\r
26 public XmlQualifiedName BaseTypeName
\r
28 get{ return baseTypeName; }
\r
29 set{ baseTypeName = value; }
\r
32 [XmlElement("anyAttribute",Namespace="http://www.w3.org/2001/XMLSchema")]
\r
33 public XmlSchemaAnyAttribute AnyAttribute
\r
39 [XmlElement("attribute",typeof(XmlSchemaAttribute),Namespace="http://www.w3.org/2001/XMLSchema")]
\r
40 [XmlElement("attributeGroup",typeof(XmlSchemaAttributeGroupRef),Namespace="http://www.w3.org/2001/XMLSchema")]
\r
41 public XmlSchemaObjectCollection Attributes
\r
43 get{ return attributes; }
\r
46 [XmlElement("group",typeof(XmlSchemaGroupRef),Namespace="http://www.w3.org/2001/XMLSchema")]
\r
47 [XmlElement("all",typeof(XmlSchemaAll),Namespace="http://www.w3.org/2001/XMLSchema")]
\r
48 [XmlElement("choice",typeof(XmlSchemaChoice),Namespace="http://www.w3.org/2001/XMLSchema")]
\r
49 [XmlElement("sequence",typeof(XmlSchemaSequence),Namespace="http://www.w3.org/2001/XMLSchema")]
\r
50 public XmlSchemaParticle Particle
\r
52 get{ return particle; }
\r
53 set{ particle = value; }
\r