C# Class JsonFx.BuildTools.HtmlDistiller.Filters.StrictHtmlFilter

HtmlFilter which allows only simple tags/attributes
Inheritance: HyperlinkFilter
Datei anzeigen Open project: pocket-playlab/jsonfx-v1

Public Methods

Method Description
FilterAttribute ( string tag, string attribute, string &value ) : bool

Allows a restrictive set of simple attributes

FilterStyle ( string tag, string style, string &value ) : bool

Strips all styles

FilterTag ( HtmlTag tag ) : bool

Allows a restrictive set of simple tags

StrictHtmlFilter ( ) : System

Ctor

StrictHtmlFilter ( bool autoLink ) : System

Ctor

StrictHtmlFilter ( int maxWordLength ) : System

Ctor

StrictHtmlFilter ( int maxWordLength, bool autoLink ) : System

Ctor

Method Details

FilterAttribute() public method

Allows a restrictive set of simple attributes
public FilterAttribute ( string tag, string attribute, string &value ) : bool
tag string
attribute string
value string
return bool

FilterStyle() public method

Strips all styles
public FilterStyle ( string tag, string style, string &value ) : bool
tag string
style string
value string
return bool

FilterTag() public method

Allows a restrictive set of simple tags
public FilterTag ( HtmlTag tag ) : bool
tag HtmlTag
return bool

StrictHtmlFilter() public method

Ctor
public StrictHtmlFilter ( ) : System
return System

StrictHtmlFilter() public method

Ctor
public StrictHtmlFilter ( bool autoLink ) : System
autoLink bool
return System

StrictHtmlFilter() public method

Ctor
public StrictHtmlFilter ( int maxWordLength ) : System
maxWordLength int
return System

StrictHtmlFilter() public method

Ctor
public StrictHtmlFilter ( int maxWordLength, bool autoLink ) : System
maxWordLength int
autoLink bool
return System