Class BlankNode
Class for representing Blank RDF Nodes.
Implements
System.IEquatable<T><BaseBlankNode>
System.IComparable<T><BaseBlankNode>
System.IComparable<T><INode>
System.IComparable<T><IBlankNode>
System.IComparable<T><IGraphLiteralNode>
System.IComparable<T><ILiteralNode>
System.IComparable<T><IUriNode>
System.IComparable<T><IVariableNode>
System.IComparable<T><IRefNode>
System.IComparable<T><ITripleNode>
System.IEquatable<T><INode>
System.IEquatable<T><IBlankNode>
System.IEquatable<T><IGraphLiteralNode>
System.IEquatable<T><ILiteralNode>
System.IEquatable<T><IUriNode>
System.IEquatable<T><IVariableNode>
System.IEquatable<T><IRefNode>
System.IEquatable<T><ITripleNode>
System.IEquatable<T><BlankNode>
System.IComparable<T><BlankNode>
Inherited Members
object.Equals(object, object)
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
Namespace: VDS.RDF
Assembly: dotNetRdf.dll
Syntax
public class BlankNode : BaseBlankNode, IBlankNode, IRefNode, IEquatable<BaseBlankNode>, IComparable<BaseBlankNode>, IValuedNode, INode, IComparable<INode>, IComparable<IBlankNode>, IComparable<IGraphLiteralNode>, IComparable<ILiteralNode>, IComparable<IUriNode>, IComparable<IVariableNode>, IComparable<IRefNode>, IComparable<ITripleNode>, IEquatable<INode>, IEquatable<IBlankNode>, IEquatable<IGraphLiteralNode>, IEquatable<ILiteralNode>, IEquatable<IUriNode>, IEquatable<IVariableNode>, IEquatable<IRefNode>, IEquatable<ITripleNode>, IEquatable<BlankNode>, IComparable<BlankNode>
Constructors
| Improve this Doc View SourceBlankNode(string)
Create a new blank node.
Declaration
public BlankNode(string id)
Parameters
Type | Name | Description |
---|---|---|
string | id | Custom Node ID to use. |
Remarks
This constructor does not check for identifier collisions in a graph. When creating blank nodes to store in a IGraph, it is strongly recommended to only create blank nodes through the INodeFactory interface of the target graph so as to avoid the possibility of duplicating existing blank nodes.
BlankNode(INodeFactory)
Internal Only constructor for Blank Nodes.
Declaration
protected BlankNode(INodeFactory factory)
Parameters
Type | Name | Description |
---|---|---|
INodeFactory | factory | Node Factory from which to obtain a Node ID. |
Methods
| Improve this Doc View SourceCompareTo(BlankNode)
Implementation of Compare To for Blank Nodes.
Declaration
public int CompareTo(BlankNode other)
Parameters
Type | Name | Description |
---|---|---|
BlankNode | other | Blank Node to Compare To. |
Returns
Type | Description |
---|---|
int |
Remarks
Simply invokes the more general implementation of this method.
Equals(BlankNode)
Determines whether this Node is equal to a Blank Node.
Declaration
public bool Equals(BlankNode other)
Parameters
Type | Name | Description |
---|---|---|
BlankNode | other | Blank Node. |
Returns
Type | Description |
---|---|
System.Boolean |
Implements
System.IEquatable<T>
System.IComparable<T>
System.IComparable<T>
System.IComparable<T>
System.IComparable<T>
System.IComparable<T>
System.IComparable<T>
System.IComparable<T>
System.IComparable<T>
System.IComparable<T>
System.IEquatable<T>
System.IEquatable<T>
System.IEquatable<T>
System.IEquatable<T>
System.IEquatable<T>
System.IEquatable<T>
System.IEquatable<T>
System.IEquatable<T>
System.IEquatable<T>
System.IComparable<T>