C# Class Smrf.NodeXL.GraphDataProviders.YouTube.YouTubeNetworkAnalyzerBase

Base class for classes that analyze a YouTube network.
Inheritance: HttpNetworkAnalyzerBase
Datei anzeigen Open project: 2014-sed-team3/term-project

Protected Properties

Property Type Description
HttpStatusCodesToFailImmediately HttpStatusCode[]

Public Methods

Method Description
AssertValid ( ) : void
CreateXmlNamespaceManager ( XmlDocument oXmlDocument ) : XmlNamespaceManager
ExceptionToMessage ( Exception oException ) : String
YouTubeNetworkAnalyzerBase ( ) : System

Initializes a new instance of the class.

Protected Methods

Method Description
AppendYouTubeDateGraphMLAttributeValue ( XmlNode oXmlNodeToSelectFrom, String sXPath, XmlNamespaceManager oXmlNamespaceManager, GraphMLXmlDocument oGraphMLXmlDocument, XmlNode oVertexXmlNode, String sGraphMLAttributeID ) : System.Boolean
EncodeUrlParameter ( String urlParameter ) : String
EnumerateXmlNodes ( String sUrl, String sXPath, Int32 iMaximumXmlNodes, System.Boolean bSkipMostPage1Errors, RequestStatistics oRequestStatistics ) : IEnumerable
FormatYouTubeDate ( String sYouTubeDate ) : String
GetXmlDocument ( String sUrl, RequestStatistics oRequestStatistics, XmlNamespaceManager &oXmlNamespaceManager ) : XmlDocument
TryGetXmlDocument ( String sUrl, RequestStatistics oRequestStatistics, XmlDocument &oXmlDocument, XmlNamespaceManager &oXmlNamespaceManager ) : System.Boolean
YouTubeErrorResponseToMessage ( HttpWebResponse oHttpWebResponse ) : String

Method Details

AppendYouTubeDateGraphMLAttributeValue() protected method

protected AppendYouTubeDateGraphMLAttributeValue ( XmlNode oXmlNodeToSelectFrom, String sXPath, XmlNamespaceManager oXmlNamespaceManager, GraphMLXmlDocument oGraphMLXmlDocument, XmlNode oVertexXmlNode, String sGraphMLAttributeID ) : System.Boolean
oXmlNodeToSelectFrom System.Xml.XmlNode
sXPath String
oXmlNamespaceManager System.Xml.XmlNamespaceManager
oGraphMLXmlDocument Smrf.XmlLib.GraphMLXmlDocument
oVertexXmlNode System.Xml.XmlNode
sGraphMLAttributeID String
return System.Boolean

AssertValid() public method

public AssertValid ( ) : void
return void

CreateXmlNamespaceManager() public static method

public static CreateXmlNamespaceManager ( XmlDocument oXmlDocument ) : XmlNamespaceManager
oXmlDocument System.Xml.XmlDocument
return System.Xml.XmlNamespaceManager

EncodeUrlParameter() protected method

protected EncodeUrlParameter ( String urlParameter ) : String
urlParameter String
return String

EnumerateXmlNodes() protected method

protected EnumerateXmlNodes ( String sUrl, String sXPath, Int32 iMaximumXmlNodes, System.Boolean bSkipMostPage1Errors, RequestStatistics oRequestStatistics ) : IEnumerable
sUrl String
sXPath String
iMaximumXmlNodes System.Int32
bSkipMostPage1Errors System.Boolean
oRequestStatistics Smrf.SocialNetworkLib.RequestStatistics
return IEnumerable

ExceptionToMessage() public method

public ExceptionToMessage ( Exception oException ) : String
oException System.Exception
return String

FormatYouTubeDate() protected method

protected FormatYouTubeDate ( String sYouTubeDate ) : String
sYouTubeDate String
return String

GetXmlDocument() protected method

protected GetXmlDocument ( String sUrl, RequestStatistics oRequestStatistics, XmlNamespaceManager &oXmlNamespaceManager ) : XmlDocument
sUrl String
oRequestStatistics Smrf.SocialNetworkLib.RequestStatistics
oXmlNamespaceManager System.Xml.XmlNamespaceManager
return System.Xml.XmlDocument

TryGetXmlDocument() protected method

protected TryGetXmlDocument ( String sUrl, RequestStatistics oRequestStatistics, XmlDocument &oXmlDocument, XmlNamespaceManager &oXmlNamespaceManager ) : System.Boolean
sUrl String
oRequestStatistics Smrf.SocialNetworkLib.RequestStatistics
oXmlDocument System.Xml.XmlDocument
oXmlNamespaceManager System.Xml.XmlNamespaceManager
return System.Boolean

YouTubeErrorResponseToMessage() protected method

protected YouTubeErrorResponseToMessage ( HttpWebResponse oHttpWebResponse ) : String
oHttpWebResponse System.Net.HttpWebResponse
return String

YouTubeNetworkAnalyzerBase() public method

Initializes a new instance of the class.
public YouTubeNetworkAnalyzerBase ( ) : System
return System

Property Details

HttpStatusCodesToFailImmediately protected_oe static_oe property

protected static HttpStatusCode[] HttpStatusCodesToFailImmediately
return HttpStatusCode[]