C# 클래스 Smrf.NodeXL.Adapters.GraphMLAttribute

Represents a GraphML vertex or edge attribute parsed from a GraphML file.
This class is used by GraphMLGraphAdapter while it is parsing a GraphML file.

In GraphML, a "key" XML node defines an edge or vertex attribute, which GraphML calls a "Graph-ML attribute," and a "data" XML node specifies the GraphML-attribute's value for a specific vertex or edge. The constructor parses the "key" XML node, and the GetAttributeValue parses a "data" XML node. provides a default value for the GraphML-attribute, if one was specified.

NodeXL doesn't support the for="graph" or for="all" attribute values allowed by the GraphML specification. The caller should filter out such "key" XML nodes before using this class to parse them.

상속: Object
파일 보기 프로젝트 열기: 2014-sed-team3/term-project 1 사용 예제들

보호된 프로퍼티들

프로퍼티 타입 설명
m_bIsForVertex System.Boolean
m_eType AttributeType
m_oDefaultAttributeValue Object
m_sID String
m_sName String

공개 메소드들

메소드 설명
GetAttributeValue ( XmlNode dataXmlNode ) : Object
GraphMLAttribute ( XmlNode keyXmlNode, XmlNamespaceManager xmlNamespaceManager, String graphMLPrefix ) : System

Initializes a new instance of the GraphMLAttribute class.

TryGetDefaultAttributeValue ( Object &defaultAttributeValue ) : System.Boolean

보호된 메소드들

메소드 설명
ConvertAttributeValue ( String sAttributeValue ) : Object
ParseKeyXmlNode ( XmlNode oKeyXmlNode, XmlNamespaceManager oXmlNamespaceManager, String sGraphMLPrefix ) : void

비공개 메소드들

메소드 설명
AssertValid ( ) : void

메소드 상세

ConvertAttributeValue() 보호된 메소드

protected ConvertAttributeValue ( String sAttributeValue ) : Object
sAttributeValue String
리턴 Object

GetAttributeValue() 공개 메소드

public GetAttributeValue ( XmlNode dataXmlNode ) : Object
dataXmlNode System.Xml.XmlNode
리턴 Object

GraphMLAttribute() 공개 메소드

Initializes a new instance of the GraphMLAttribute class.
public GraphMLAttribute ( XmlNode keyXmlNode, XmlNamespaceManager xmlNamespaceManager, String graphMLPrefix ) : System
keyXmlNode System.Xml.XmlNode /// A "key" XML node representing a Graph-ML attribute. ///
xmlNamespaceManager System.Xml.XmlNamespaceManager /// XML namespace manager. ///
graphMLPrefix String /// The prefix specified for the GraphML namespace when was created. ///
리턴 System

ParseKeyXmlNode() 보호된 메소드

protected ParseKeyXmlNode ( XmlNode oKeyXmlNode, XmlNamespaceManager oXmlNamespaceManager, String sGraphMLPrefix ) : void
oKeyXmlNode System.Xml.XmlNode
oXmlNamespaceManager System.Xml.XmlNamespaceManager
sGraphMLPrefix String
리턴 void

TryGetDefaultAttributeValue() 공개 메소드

public TryGetDefaultAttributeValue ( Object &defaultAttributeValue ) : System.Boolean
defaultAttributeValue Object
리턴 System.Boolean

프로퍼티 상세

m_bIsForVertex 보호되어 있는 프로퍼티

protected Boolean,System m_bIsForVertex
리턴 System.Boolean

m_eType 보호되어 있는 프로퍼티

protected AttributeType m_eType
리턴 AttributeType

m_oDefaultAttributeValue 보호되어 있는 프로퍼티

protected Object m_oDefaultAttributeValue
리턴 Object

m_sID 보호되어 있는 프로퍼티

protected String m_sID
리턴 String

m_sName 보호되어 있는 프로퍼티

protected String m_sName
리턴 String