NodeVisitor Interface

Provides operations to be performed on nodes of an HTML document structure.

C#
public interface NodeVisitor
Derived

Remarks

This interface is a part of the visitor pattern.

Methods

VisitTag(TagStruct)

Performs the operation on the Tag.

VisitEntity(string)

Performs the operation on the entity node.

VisitEmptyTag(TagStruct)

Performs the operation on the empty Tag representing a void element.

VisitText(string)

Performs the operation on the text node.

See Also

Methods Detail

VisitTag(TagStruct)

Performs the operation on the Tag.

C#
void VisitTag(in TagStruct tag)

Parameters

tag
TagStruct

The TagStruct object that the tag object contains.

VisitEntity(string)

Performs the operation on the entity node.

C#
void VisitEntity(string text)

Parameters

text
string

The string representing a character reference of the entity.

VisitEmptyTag(TagStruct)

Performs the operation on the empty Tag representing a void element.

C#
void VisitEmptyTag(in TagStruct tag)

Parameters

tag
TagStruct

The TagStruct object that the tag object contains.

VisitText(string)

Performs the operation on the text node.

C#
void VisitText(string text)

Parameters

text
string

The string that the text node contains.