C# Class Cornerstone.ScraperEngine.ScraperNode

Show file Open project: damienhaynes/moving-pictures Class Usage Examples

Protected Properties

Property Type Description
children List
loadSuccess bool
logger System.Logger
name string
nodeSettings ScraperNodeAttribute
xmlNode System.Xml.XmlNode

Public Methods

Method Description
Execute ( string>.Dictionary variables ) : void
Load ( string modifier ) : IValueModifier

Loads the specified modifier by name.

Load ( XmlNode xmlNode, ScriptableScraper context ) : ScraperNode
ScraperNode ( XmlNode xmlNode, ScriptableScraper context ) : System

Protected Methods

Method Description
executeChildren ( string>.Dictionary variables ) : void
loadChildren ( ) : bool
parseString ( string>.Dictionary variables, string input ) : string
removeVariable ( string>.Dictionary variables, string key ) : void
setVariable ( string>.Dictionary variables, string key, string value ) : void

Private Methods

Method Description
ScraperNode ( ) : System
removeArrayValues ( string>.Dictionary variables, string key ) : void

Method Details

Execute() public abstract method

public abstract Execute ( string>.Dictionary variables ) : void
variables string>.Dictionary
return void

Load() public static method

Loads the specified modifier by name.
public static Load ( string modifier ) : IValueModifier
modifier string The modifier.
return IValueModifier

Load() public static method

public static Load ( XmlNode xmlNode, ScriptableScraper context ) : ScraperNode
xmlNode System.Xml.XmlNode
context ScriptableScraper
return ScraperNode

ScraperNode() public method

public ScraperNode ( XmlNode xmlNode, ScriptableScraper context ) : System
xmlNode System.Xml.XmlNode
context ScriptableScraper
return System

executeChildren() protected method

protected executeChildren ( string>.Dictionary variables ) : void
variables string>.Dictionary
return void

loadChildren() protected method

protected loadChildren ( ) : bool
return bool

parseString() protected method

protected parseString ( string>.Dictionary variables, string input ) : string
variables string>.Dictionary
input string
return string

removeVariable() protected method

protected removeVariable ( string>.Dictionary variables, string key ) : void
variables string>.Dictionary
key string
return void

setVariable() protected method

protected setVariable ( string>.Dictionary variables, string key, string value ) : void
variables string>.Dictionary
key string
value string
return void

Property Details

children protected property

protected List children
return List

loadSuccess protected property

protected bool loadSuccess
return bool

logger protected static property

protected static Logger,System logger
return System.Logger

name protected property

protected string name
return string

nodeSettings protected property

protected ScraperNodeAttribute,Cornerstone.ScraperEngine nodeSettings
return ScraperNodeAttribute

xmlNode protected property

protected XmlNode,System.Xml xmlNode
return System.Xml.XmlNode