C# Class MyCompanyName.SampleExcelTemplatePlugIns.SampleGraphDataProvider

This is a sample implementation of a NodeXL Excel Template plug-in that imports custom data into the Excel Template.
This implementation of the IGraphDataProvider2 simulates a graph data provider that retrieves the friends of a user from some public API. The actual public API calls are omitted.
Inheritance: IGraphDataProvider2
Afficher le fichier Open project: 2014-sed-team3/term-project

Méthodes publiques

Méthode Description
TryGetGraphDataAsTemporaryFile ( String &pathToTemporaryFile ) : System.Boolean

Méthodes protégées

Méthode Description
AppendEdgeXmlNode ( XmlNode oParentXmlNode, String sVertex1ID, String sVertex2ID ) : XmlNode
AppendGraphMLAttributeValue ( XmlNode oEdgeOrVertexXmlNode, String sAttributeID, String sAttributeValue ) : void
AppendVertexXmlNode ( XmlNode oParentXmlNode, String sVertexID ) : XmlNode
AppendXmlNode ( XmlNode oParentXmlNode, String sChildName ) : XmlNode
AppendXmlNode ( XmlNode oParentXmlNode, String sChildName, String sInnerText ) : XmlNode
DefineGraphMLAttribute ( XmlNode oGraphMLXmlNode, System.Boolean bForEdge, String sAttributeID, String sAttributeName, String sAttributeType, String sDefaultAttributeValue ) : void
SetXmlNodeAttributes ( XmlNode oXmlNode ) : void

Method Details

AppendEdgeXmlNode() protected méthode

protected AppendEdgeXmlNode ( XmlNode oParentXmlNode, String sVertex1ID, String sVertex2ID ) : XmlNode
oParentXmlNode System.Xml.XmlNode
sVertex1ID String
sVertex2ID String
Résultat System.Xml.XmlNode

AppendGraphMLAttributeValue() protected méthode

protected AppendGraphMLAttributeValue ( XmlNode oEdgeOrVertexXmlNode, String sAttributeID, String sAttributeValue ) : void
oEdgeOrVertexXmlNode System.Xml.XmlNode
sAttributeID String
sAttributeValue String
Résultat void

AppendVertexXmlNode() protected méthode

protected AppendVertexXmlNode ( XmlNode oParentXmlNode, String sVertexID ) : XmlNode
oParentXmlNode System.Xml.XmlNode
sVertexID String
Résultat System.Xml.XmlNode

AppendXmlNode() protected méthode

protected AppendXmlNode ( XmlNode oParentXmlNode, String sChildName ) : XmlNode
oParentXmlNode System.Xml.XmlNode
sChildName String
Résultat System.Xml.XmlNode

AppendXmlNode() protected méthode

protected AppendXmlNode ( XmlNode oParentXmlNode, String sChildName, String sInnerText ) : XmlNode
oParentXmlNode System.Xml.XmlNode
sChildName String
sInnerText String
Résultat System.Xml.XmlNode

DefineGraphMLAttribute() protected méthode

protected DefineGraphMLAttribute ( XmlNode oGraphMLXmlNode, System.Boolean bForEdge, String sAttributeID, String sAttributeName, String sAttributeType, String sDefaultAttributeValue ) : void
oGraphMLXmlNode System.Xml.XmlNode
bForEdge System.Boolean
sAttributeID String
sAttributeName String
sAttributeType String
sDefaultAttributeValue String
Résultat void

SetXmlNodeAttributes() protected méthode

protected SetXmlNodeAttributes ( XmlNode oXmlNode ) : void
oXmlNode System.Xml.XmlNode
Résultat void

TryGetGraphDataAsTemporaryFile() public méthode

public TryGetGraphDataAsTemporaryFile ( String &pathToTemporaryFile ) : System.Boolean
pathToTemporaryFile String
Résultat System.Boolean