XmlSchemaExternal.cs 1.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849
  1. // Author: Dwivedi, Ajay kumar
  2. // [email protected]
  3. using System;
  4. using System.Xml;
  5. using System.Xml.Serialization;
  6. namespace System.Xml.Schema
  7. {
  8. /// <summary>
  9. /// Summary description for XmlSchemaExternal.
  10. /// </summary>
  11. public abstract class XmlSchemaExternal : XmlSchemaObject
  12. {
  13. private string id;
  14. private XmlSchema schema;
  15. private string location;
  16. private XmlAttribute[] unhandledAttributes;
  17. protected XmlSchemaExternal()
  18. {}
  19. [System.Xml.Serialization.XmlAttribute("id")]
  20. public string Id
  21. {
  22. get{ return id; }
  23. set{ id = value; }
  24. }
  25. [XmlIgnore]
  26. public XmlSchema Schema
  27. {
  28. get{ return schema; }
  29. set{ schema = value; }
  30. }
  31. [System.Xml.Serialization.XmlAttribute("schemaLocation")]
  32. public string SchemaLocation
  33. {
  34. get{ return location; }
  35. set{ location = value; }
  36. }
  37. [XmlAnyAttribute]
  38. public XmlAttribute[] UnhandledAttributes
  39. {
  40. get{ return unhandledAttributes; }
  41. set{ unhandledAttributes = value; }
  42. }
  43. }
  44. }