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

Defines a literal filter which optionally breaks words at a certain length
Inheritance: IHtmlFilter
Datei anzeigen Open project: pocket-playlab/jsonfx-v1

Public Methods

Method Description
FilterAttribute ( string tag, string attribute, string &value ) : bool
FilterLiteral ( string source, int start, int end, string &replacement ) : bool

Optionally allows breaking of long words

FilterStyle ( string tag, string style, string &value ) : bool
FilterTag ( HtmlTag tag ) : bool
WordBreakFilter ( ) : System

Ctor

WordBreakFilter ( int maxWordLength ) : System

Ctor

Method Details

FilterAttribute() public abstract method

public abstract FilterAttribute ( string tag, string attribute, string &value ) : bool
tag string
attribute string
value string
return bool

FilterLiteral() public method

Optionally allows breaking of long words
public FilterLiteral ( string source, int start, int end, string &replacement ) : bool
source string
start int
end int
replacement string
return bool

FilterStyle() public abstract method

public abstract FilterStyle ( string tag, string style, string &value ) : bool
tag string
style string
value string
return bool

FilterTag() public abstract method

public abstract FilterTag ( HtmlTag tag ) : bool
tag HtmlTag
return bool

WordBreakFilter() public method

Ctor
public WordBreakFilter ( ) : System
return System

WordBreakFilter() public method

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