2 // System.Xml.XmlEntity.cs
5 // Duncan Mak (duncan@ximian.com)
12 public class XmlEntity : XmlNode
16 internal XmlEntity (string name, string NDATA, string publicId, string systemId,
22 this.publicId = publicId;
23 this.systemId = systemId;
24 this.baseUri = doc.BaseURI;
41 public override string BaseURI {
42 get { return baseUri; }
46 public override string InnerText {
47 get { throw new NotImplementedException (); }
48 set { throw new InvalidOperationException ("This operation is not supported."); }
51 public override string InnerXml {
52 get { return String.Empty; }
53 set { throw new InvalidOperationException ("This operation is not supported."); }
56 public override bool IsReadOnly {
57 get { return true; } // always read-only.
60 public override string LocalName {
64 public override string Name {
68 public override XmlNodeType NodeType {
69 get { return XmlNodeType.Entity; }
72 public string NotationName {
81 public override string OuterXml {
82 get { return String.Empty; }
85 public string PublicId {
94 public string SystemId {
106 public override XmlNode CloneNode (bool deep)
108 throw new InvalidOperationException ("This operation is not supported.");
111 public override void WriteContentTo (XmlWriter w)
116 public override void WriteTo (XmlWriter w)