XmlText.cs 1.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374
  1. // -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*-
  2. //
  3. // System.Xml.XmlText
  4. //
  5. // Author:
  6. // Daniel Weber ([email protected])
  7. //
  8. // (C) 2001 Daniel Weber
  9. using System;
  10. namespace System.Xml
  11. {
  12. /// <summary>
  13. /// Represents the text content of an element or attribute
  14. /// </summary>
  15. public class XmlText : XmlNode
  16. {
  17. // Private data members
  18. // public properties
  19. public override string LocalName
  20. {
  21. get
  22. {
  23. return "#text";
  24. }
  25. }
  26. /// <summary>
  27. /// Get the name of the node.
  28. /// </summary>
  29. public override string Name
  30. {
  31. get
  32. {
  33. return "#text";
  34. }
  35. }
  36. public override XmlNodeType NodeType
  37. {
  38. get
  39. {
  40. return XmlNodeType.Text;
  41. }
  42. }
  43. // Public Methods
  44. //===========================================================================
  45. public override XmlNode CloneNode( bool deep)
  46. {
  47. throw new NotImplementedException();
  48. }
  49. public override void WriteContentTo(XmlWriter w)
  50. {
  51. throw new NotImplementedException();
  52. }
  53. public override void WriteTo(XmlWriter w)
  54. {
  55. throw new NotImplementedException();
  56. }
  57. // Internal method calls
  58. //===========================================================================
  59. // Constructors
  60. //===========================================================================
  61. }
  62. }