C# 클래스 JsonFx.BuildTools.HtmlDistiller.HtmlTag

Represents an HTML/XHTML tag
http://www.w3.org/TR/html401/ http://www.w3.org/TR/xhtml1/
파일 보기 프로젝트 열기: pocket-playlab/jsonfx-v1 1 사용 예제들

공개 메소드들

메소드 설명
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