C# Класс JsonFx.BuildTools.HtmlDistiller.HtmlTag

Represents an HTML/XHTML tag
http://www.w3.org/TR/html401/ http://www.w3.org/TR/xhtml1/
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
CreateCloseTag ( ) : HtmlTag

Generates a closing tag which matches this tag

CreateOpenTag ( ) : HtmlTag

Generates an open tag which matches this tag

Equals ( object obj ) : bool
GetHashCode ( ) : int
HtmlTag ( string name, IHtmlFilter filter ) : System

Ctor.

ToString ( ) : string

Renders the tag without filtering.

Приватные методы

Метод Описание
CloseTagRequired ( string tag ) : bool

Determines if the tag is required to be closed (in HTML 4.01)

http://www.w3.org/TR/html401/index/elements.html http://www.w3.org/TR/WD-html40-970917/index/elements.html

FullTagRequired ( string tag ) : bool

Determines if is full (i.e. empty) tag

http://www.w3.org/TR/html401/index/elements.html http://www.w3.org/TR/xhtml-modularization/abstract_modules.html#sec_5.2. http://www.w3.org/TR/WD-html40-970917/index/elements.html

GetTaxonomy ( string tag ) : HtmlTaxonomy

SetFullTag ( ) : void

Changes a BeginTag to a FullTag

Описание методов

CreateCloseTag() публичный Метод

Generates a closing tag which matches this tag
public CreateCloseTag ( ) : HtmlTag
Результат HtmlTag

CreateOpenTag() публичный Метод

Generates an open tag which matches this tag
public CreateOpenTag ( ) : HtmlTag
Результат HtmlTag

Equals() публичный Метод

public Equals ( object obj ) : bool
obj object
Результат bool

GetHashCode() публичный Метод

public GetHashCode ( ) : int
Результат int

HtmlTag() публичный Метод

Ctor.
public HtmlTag ( string name, IHtmlFilter filter ) : System
name string
filter IHtmlFilter
Результат System

ToString() публичный Метод

Renders the tag without filtering.
public ToString ( ) : string
Результат string