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
Visit |
Performs the operation on the Tag. |
Visit |
Performs the operation on the entity node. |
Visit |
Performs the operation on the empty Tag representing a void element. |
Visit |
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
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
VisitText(string)
Performs the operation on the text node.
C#
void VisitText(string text)
Parameters
- text
- string
The string that the text node contains.