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)
30 public virtual string Data {
36 public override string InnerText {
43 get { return data != null ? data.Length : 0; }
46 public override string Value {
57 public virtual void AppendData (string strData)
59 throw new NotImplementedException ();
63 public virtual void DeleteData (int offset, int count)
65 throw new NotImplementedException ();
69 public virtual void InsertData (int offset, string strData)
71 throw new NotImplementedException ();
75 public virtual void ReplaceData (int offset, int count, string strData)
77 throw new NotImplementedException();
80 public virtual string Substring (int offset, int count)
82 return data.Substring (offset, count);