XmlSchemaGroup.cs 1.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556
  1. // Author: Dwivedi, Ajay kumar
  2. // [email protected]
  3. using System;
  4. using System.Xml.Serialization;
  5. using System.Xml;
  6. namespace System.Xml.Schema
  7. {
  8. /// <summary>
  9. /// Summary description for XmlSchemaGroup.
  10. /// </summary>
  11. public class XmlSchemaGroup : XmlSchemaAnnotated
  12. {
  13. private string name;
  14. private XmlSchemaGroupBase particle;
  15. private XmlQualifiedName qualifiedName;
  16. public XmlSchemaGroup()
  17. {
  18. }
  19. [System.Xml.Serialization.XmlAttribute("name")]
  20. public string Name
  21. {
  22. get{ return name; }
  23. set{ name = value; }
  24. }
  25. [XmlElement("all",typeof(XmlSchemaAll),Namespace="http://www.w3.org/2001/XMLSchema")]
  26. [XmlElement("choice",typeof(XmlSchemaChoice),Namespace="http://www.w3.org/2001/XMLSchema")]
  27. [XmlElement("sequence",typeof(XmlSchemaSequence),Namespace="http://www.w3.org/2001/XMLSchema")]
  28. public XmlSchemaGroupBase Particle
  29. {
  30. get{ return particle; }
  31. set{ particle = value; }
  32. }
  33. [XmlIgnore]
  34. internal XmlQualifiedName QualifiedName
  35. {
  36. get{ return qualifiedName;}
  37. }
  38. [MonoTODO]
  39. internal bool Compile(ValidationEventHandler h, XmlSchemaInfo info)
  40. {
  41. return false;
  42. }
  43. [MonoTODO]
  44. internal bool Validate(ValidationEventHandler h)
  45. {
  46. return false;
  47. }
  48. }
  49. }