2 // System.Xml.XmlCharacterData.cs
5 // Jason Diamond <jason@injektilo.org>
7 // (C) 2002 Jason Diamond http://injektilo.org/
14 public abstract class XmlCharacterData : XmlLinkedNode
20 protected internal XmlCharacterData (string data, XmlDocument doc)
33 public virtual string Data {
39 public override string InnerText {
45 public virtual int Length {
46 get { return data != null ? data.Length : 0; }
49 public override string Value {
52 throw new ArgumentException ("Node is read-only.");
64 public virtual void AppendData (string strData)
66 throw new NotImplementedException ();
70 public virtual void DeleteData (int offset, int count)
72 throw new NotImplementedException ();
76 public virtual void InsertData (int offset, string strData)
78 throw new NotImplementedException ();
82 public virtual void ReplaceData (int offset, int count, string strData)
84 throw new NotImplementedException();
87 public virtual string Substring (int offset, int count)
89 return data.Substring (offset, count);