Interface INode
Interface for Nodes.
Inherited Members
System.IComparable<VDS.RDF.INode>.CompareTo(VDS.RDF.INode)
System.IComparable<VDS.RDF.IBlankNode>.CompareTo(VDS.RDF.IBlankNode)
System.IComparable<VDS.RDF.IGraphLiteralNode>.CompareTo(VDS.RDF.IGraphLiteralNode)
System.IComparable<VDS.RDF.ILiteralNode>.CompareTo(VDS.RDF.ILiteralNode)
System.IComparable<VDS.RDF.IUriNode>.CompareTo(VDS.RDF.IUriNode)
System.IComparable<VDS.RDF.IVariableNode>.CompareTo(VDS.RDF.IVariableNode)
System.IEquatable<VDS.RDF.INode>.Equals(VDS.RDF.INode)
System.IEquatable<VDS.RDF.IBlankNode>.Equals(VDS.RDF.IBlankNode)
System.IEquatable<VDS.RDF.IGraphLiteralNode>.Equals(VDS.RDF.IGraphLiteralNode)
System.IEquatable<VDS.RDF.ILiteralNode>.Equals(VDS.RDF.ILiteralNode)
System.IEquatable<VDS.RDF.IUriNode>.Equals(VDS.RDF.IUriNode)
System.IEquatable<VDS.RDF.IVariableNode>.Equals(VDS.RDF.IVariableNode)
System.Runtime.Serialization.ISerializable.GetObjectData(System.Runtime.Serialization.SerializationInfo, System.Runtime.Serialization.StreamingContext)
System.Xml.Serialization.IXmlSerializable.GetSchema()
System.Xml.Serialization.IXmlSerializable.ReadXml(System.Xml.XmlReader)
System.Xml.Serialization.IXmlSerializable.WriteXml(System.Xml.XmlWriter)
Namespace: VDS.RDF
Assembly: dotNetRDF.dll
Syntax
public interface INode : IComparable<INode>, IComparable<IBlankNode>, IComparable<IGraphLiteralNode>, IComparable<ILiteralNode>, IComparable<IUriNode>, IComparable<IVariableNode>, IEquatable<INode>, IEquatable<IBlankNode>, IEquatable<IGraphLiteralNode>, IEquatable<ILiteralNode>, IEquatable<IUriNode>, IEquatable<IVariableNode>, ISerializable, IXmlSerializable
Properties
| Improve this Doc View SourceGraph
Gets the Graph the Node belongs to.
Declaration
IGraph Graph { get; }
Property Value
Type | Description |
---|---|
IGraph |
GraphUri
Gets/Sets the Graph URI associated with a Node.
Declaration
Uri GraphUri { get; set; }
Property Value
Type | Description |
---|---|
System.Uri |
NodeType
Nodes have a Type.
Declaration
NodeType NodeType { get; }
Property Value
Type | Description |
---|---|
NodeType |
Remarks
Primarily provided so can do quick integer comparison to see what type of Node you have without having to do actual full blown Type comparison.
Methods
| Improve this Doc View SourceToString()
Gets the String representation of the Node.
Declaration
string ToString()
Returns
Type | Description |
---|---|
System.String |
ToString(INodeFormatter)
Gets the String representation of the Node formatted with the given Node formatter.
Declaration
string ToString(INodeFormatter formatter)
Parameters
Type | Name | Description |
---|---|---|
INodeFormatter | formatter | Formatter. |
Returns
Type | Description |
---|---|
System.String |
ToString(INodeFormatter, TripleSegment)
Gets the String representation of the Node formatted with the given Node formatter.
Declaration
string ToString(INodeFormatter formatter, TripleSegment segment)
Parameters
Type | Name | Description |
---|---|---|
INodeFormatter | formatter | Formatter. |
TripleSegment | segment | Triple Segment. |
Returns
Type | Description |
---|---|
System.String |