XmlSchemaNotation.cs 1.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859
  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 XmlSchemaNotation.
  10. /// </summary>
  11. public class XmlSchemaNotation : XmlSchemaAnnotated
  12. {
  13. private string name;
  14. private string pub;
  15. private string system;
  16. private XmlQualifiedName qualifiedName;
  17. public XmlSchemaNotation()
  18. {
  19. }
  20. [System.Xml.Serialization.XmlAttribute("name")]
  21. public string Name
  22. {
  23. get{ return name; }
  24. set{ name = value; }
  25. }
  26. [System.Xml.Serialization.XmlAttribute("public")]
  27. public string Public
  28. {
  29. get{ return pub; }
  30. set{ pub = value; }
  31. }
  32. [System.Xml.Serialization.XmlAttribute("system")]
  33. public string System
  34. {
  35. get{ return system; }
  36. set{ system = value; }
  37. }
  38. [XmlIgnore]
  39. internal XmlQualifiedName QualifiedName
  40. {
  41. get{ return qualifiedName;}
  42. }
  43. [MonoTODO]
  44. internal bool Compile(ValidationEventHandler h, XmlSchemaInfo info)
  45. {
  46. return false;
  47. }
  48. [MonoTODO]
  49. internal bool Validate(ValidationEventHandler h)
  50. {
  51. return false;
  52. }
  53. }
  54. }