C# Class LayoutFarm.WebDom.Parser.HtmlTagMatching

Afficher le fichier Open project: prepare/HTML-Renderer Class Usage Examples

Méthodes publiques

Méthode Description
CanAutoClose ( int nameIndex ) : bool

test if tag can auto close when there is no more content in the parent element

CanAutoClose ( int nameIndex, int nextNodeNameIndex ) : bool
IsSingleTag ( int nameIndex ) : bool

Is the given html tag is single tag or can have content.

Private Methods

Méthode Description
HtmlTagMatching ( ) : System

Method Details

CanAutoClose() public static méthode

test if tag can auto close when there is no more content in the parent element
public static CanAutoClose ( int nameIndex ) : bool
nameIndex int
Résultat bool

CanAutoClose() public static méthode

public static CanAutoClose ( int nameIndex, int nextNodeNameIndex ) : bool
nameIndex int
nextNodeNameIndex int
Résultat bool

IsSingleTag() public static méthode

Is the given html tag is single tag or can have content.
public static IsSingleTag ( int nameIndex ) : bool
nameIndex int
Résultat bool