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 {
54 throw new ArgumentException ("Node is read-only.");
65 public virtual void AppendData (string strData)
67 throw new NotImplementedException ();
71 public virtual void DeleteData (int offset, int count)
73 throw new NotImplementedException ();
77 public virtual void InsertData (int offset, string strData)
79 throw new NotImplementedException ();
83 public virtual void ReplaceData (int offset, int count, string strData)
85 throw new NotImplementedException();
88 public virtual string Substring (int offset, int count)
90 return data.Substring (offset, count);