Method | Description | |
---|---|---|
IsImplicitlyClosed ( ITextProvider textProvider, ITextRange nameRange, string &containerNames ) : bool |
Detemines of element can be implicitly closed (i.e. element does not require closing tag) like <td> Only applies to regular HTML elements. Does not apply to elements with prefixes or namespaces.
|
|
IsSelfClosing ( ITextProvider textProvider, ITextRange prefixRange, ITextRange nameRange ) : bool |
Determines if element is a self-closing element (i.e. like <br />
|
|
RegisterProvider ( string prefix, IHtmlClosureProvider provider ) : bool |
Registers closure provides for a particular element prefix (namespace)
|
public IsImplicitlyClosed ( ITextProvider textProvider, ITextRange nameRange, string &containerNames ) : bool | ||
textProvider | ITextProvider | Text provider |
nameRange | ITextRange | Range of the element name |
containerNames | string | |
return | bool |
public IsSelfClosing ( ITextProvider textProvider, ITextRange prefixRange, ITextRange nameRange ) : bool | ||
textProvider | ITextProvider | Text provider |
prefixRange | ITextRange | Text range of the element prefix |
nameRange | ITextRange | Text range of the element name |
return | bool |
public RegisterProvider ( string prefix, IHtmlClosureProvider provider ) : bool | ||
prefix | string | Namespace prefix |
provider | IHtmlClosureProvider | Closure information provider |
return | bool |