C# Class BaconBuilder.Model.HtmlToTextParser

Class used to convert html content to a plain text string.
Inheritance: Parser
Datei anzeigen Open project: Revelations/BaconApp

Public Methods

Method Description
ExtractCoords ( string input ) : Point

Extracts a new (x,y) from the raw bacon.

HtmlToTextParser ( ) : System

Constructor for this class. Populates the dictionary.

Protected Methods

Method Description
InitialiseDictionary ( ) : void

Populates the dictionary with a set of find/replace key value pairs appropriate for converting html tags to plain text content and 'bacon psuedo tags'. Rules are parsed in the order they are added here.

Method Details

ExtractCoords() public method

Extracts a new (x,y) from the raw bacon.
public ExtractCoords ( string input ) : Point
input string
return Point

HtmlToTextParser() public method

Constructor for this class. Populates the dictionary.
public HtmlToTextParser ( ) : System
return System

InitialiseDictionary() protected final method

Populates the dictionary with a set of find/replace key value pairs appropriate for converting html tags to plain text content and 'bacon psuedo tags'. Rules are parsed in the order they are added here.
protected final InitialiseDictionary ( ) : void
return void