1 // Author: Dwivedi, Ajay kumar
\r
4 using System.Xml.Serialization;
\r
7 namespace System.Xml.Schema
\r
10 /// Summary description for XmlSchemaGroup.
\r
12 public class XmlSchemaGroup : XmlSchemaAnnotated
\r
14 private string name;
\r
15 private XmlSchemaGroupBase particle;
\r
16 private XmlQualifiedName qualifiedName;
\r
18 public XmlSchemaGroup()
\r
22 [System.Xml.Serialization.XmlAttribute("name")]
\r
25 get{ return name; }
\r
26 set{ name = value; }
\r
29 [XmlElement("all",typeof(XmlSchemaAll),Namespace="http://www.w3.org/2001/XMLSchema")]
\r
30 [XmlElement("choice",typeof(XmlSchemaChoice),Namespace="http://www.w3.org/2001/XMLSchema")]
\r
31 [XmlElement("sequence",typeof(XmlSchemaSequence),Namespace="http://www.w3.org/2001/XMLSchema")]
\r
32 public XmlSchemaGroupBase Particle
\r
34 get{ return particle; }
\r
35 set{ particle = value; }
\r
39 internal XmlQualifiedName QualifiedName
\r
41 get{ return qualifiedName;}
\r
45 internal bool Compile(ValidationEventHandler h, XmlSchemaInfo info)
\r
51 internal bool Validate(ValidationEventHandler h)
\r