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;
40 public override string BaseURI {
41 get { throw new NotImplementedException (); }
45 public override string InnerText {
46 get { throw new NotImplementedException (); }
47 set { throw new InvalidOperationException ("This operation is not supported."); }
50 public override string InnerXml {
51 get { return String.Empty; }
52 set { throw new InvalidOperationException ("This operation is not supported."); }
55 public override bool IsReadOnly {
56 get { return true; } // always read-only.
59 public override string LocalName {
63 public override string Name {
67 public override XmlNodeType NodeType {
68 get { return XmlNodeType.Entity; }
71 public string NotationName {
80 public override string OuterXml {
81 get { return String.Empty; }
84 public string PublicId {
93 public string SystemId {
105 public override XmlNode CloneNode (bool deep)
107 throw new InvalidOperationException ("This operation is not supported.");
110 public override void WriteContentTo (XmlWriter w)
115 public override void WriteTo (XmlWriter w)