Table of Contents

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

owner Document
name string

Properties

InputEncoding

Gets the used input encoding.

[DomName("inputEncoding")]
public string? InputEncoding { get; }

Property Value

string

NodeValue

Gets or sets the value of the entity.

[DomName("nodeValue")]
public override string NodeValue { get; set; }

Property Value

string

NotationName

Gets or sets the notation name.

[DomName("notationName")]
public string? NotationName { get; set; }

Property Value

string

PublicId

Gets the public identiifer.

[DomName("publicId")]
public string? PublicId { get; }

Property Value

string

SystemId

Gets the system identifier.

[DomName("systemId")]
public string? SystemId { get; }

Property Value

string

TextContent

Gets or sets the entity's value.

[DomName("textContent")]
public override string TextContent { get; set; }

Property Value

string

XmlEncoding

Gets the used XML encoding.

[DomName("xmlEncoding")]
public string? XmlEncoding { get; }

Property Value

string

XmlVersion

Gets the used XML version.

[DomName("xmlVersion")]
public string? XmlVersion { get; }

Property Value

string

Methods

Clone(Document, bool)

Returns a duplicate of the node on which this method was called.

public override Node Clone(Document newOwner, bool deep)

Parameters

newOwner Document
deep bool

Returns

Node