Class Entity
- Namespace
- AngleSharp.Dom
- Assembly
- AngleSharp.dll
Represents an entity node.
[DomName("Entity")]
public sealed class Entity : Node, INode, IEventTarget, IMarkupFormattable, IEquatable<INode>
- Inheritance
-
Entity
- Implements
- Inherited Members
- Extension Methods
Constructors
Entity(Document)
Creates a new entity node.
public Entity(Document owner)
Parameters
owner
Document
Entity(Document, string)
Creates a new entity node.
public Entity(Document owner, string name)
Parameters
Properties
InputEncoding
Gets the used input encoding.
[DomName("inputEncoding")]
public string? InputEncoding { get; }
Property Value
NodeValue
Gets or sets the value of the entity.
[DomName("nodeValue")]
public override string NodeValue { get; set; }
Property Value
NotationName
Gets or sets the notation name.
[DomName("notationName")]
public string? NotationName { get; set; }
Property Value
PublicId
Gets the public identiifer.
[DomName("publicId")]
public string? PublicId { get; }
Property Value
SystemId
Gets the system identifier.
[DomName("systemId")]
public string? SystemId { get; }
Property Value
TextContent
Gets or sets the entity's value.
[DomName("textContent")]
public override string TextContent { get; set; }
Property Value
XmlEncoding
Gets the used XML encoding.
[DomName("xmlEncoding")]
public string? XmlEncoding { get; }
Property Value
XmlVersion
Gets the used XML version.
[DomName("xmlVersion")]
public string? XmlVersion { get; }
Property Value
Methods
Clone(Document, bool)
Returns a duplicate of the node on which this method was called.
public override Node Clone(Document newOwner, bool deep)