C# Class NBoilerpipePortable.NBoilerpipeContentHandler

Inheritance: IContentHandler
Exibir arquivo Open project: Synergex/Baconography Class Usage Examples

Public Methods

Method Description
AddLabelAction ( LabelAction la ) : void
AddWhitespaceIfNecessary ( ) : void
EndElement ( HtmlNode node ) : void
FlushBlock ( ) : void
HandleText ( HtmlAgilityPack.HtmlTextNode node ) : void
SetTitle ( string s ) : void
StartElement ( HtmlNode node ) : void
ToTextDocument ( ) : NBoilerpipePortable.Document.TextDocument

Protected Methods

Method Description
AddTextBlock ( NBoilerpipePortable.Document.TextBlock tb ) : void

Private Methods

Method Description
IsHidden ( HtmlAgilityPack.HtmlAttributeCollection atts ) : bool
IsTag ( String text ) : bool
IsWhiteSpace ( char ch ) : bool
IsWord ( string token ) : bool

Method Details

AddLabelAction() public method

public AddLabelAction ( LabelAction la ) : void
la LabelAction
return void

AddTextBlock() protected method

protected AddTextBlock ( NBoilerpipePortable.Document.TextBlock tb ) : void
tb NBoilerpipePortable.Document.TextBlock
return void

AddWhitespaceIfNecessary() public method

public AddWhitespaceIfNecessary ( ) : void
return void

EndElement() public method

public EndElement ( HtmlNode node ) : void
node HtmlAgilityPack.HtmlNode
return void

FlushBlock() public method

public FlushBlock ( ) : void
return void

HandleText() public method

public HandleText ( HtmlAgilityPack.HtmlTextNode node ) : void
node HtmlAgilityPack.HtmlTextNode
return void

SetTitle() public method

public SetTitle ( string s ) : void
s string
return void

StartElement() public method

public StartElement ( HtmlNode node ) : void
node HtmlAgilityPack.HtmlNode
return void

ToTextDocument() public method

public ToTextDocument ( ) : NBoilerpipePortable.Document.TextDocument
return NBoilerpipePortable.Document.TextDocument