C# Class JsonFx.BuildTools.HtmlDistiller.HtmlTag

Represents an HTML/XHTML tag
http://www.w3.org/TR/html401/ http://www.w3.org/TR/xhtml1/
Afficher le fichier Open project: pocket-playlab/jsonfx-v1 Class Usage Examples

Méthodes publiques

Méthode Description
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.

Private Methods

Méthode Description
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

Method Details

CreateCloseTag() public méthode

Generates a closing tag which matches this tag
public CreateCloseTag ( ) : HtmlTag
Résultat HtmlTag

CreateOpenTag() public méthode

Generates an open tag which matches this tag
public CreateOpenTag ( ) : HtmlTag
Résultat HtmlTag

Equals() public méthode

public Equals ( object obj ) : bool
obj object
Résultat bool

GetHashCode() public méthode

public GetHashCode ( ) : int
Résultat int

HtmlTag() public méthode

Ctor.
public HtmlTag ( string name, IHtmlFilter filter ) : System
name string
filter IHtmlFilter
Résultat System

ToString() public méthode

Renders the tag without filtering.
public ToString ( ) : string
Résultat string