Class TripleNode
Class for representing RDF-star triple nodes.
Implements
Inherited Members
Namespace: VDS.RDF
Assembly: dotNetRdf.dll
Syntax
public class TripleNode : BaseTripleNode, ITripleNode, IRefNode, IEquatable<BaseTripleNode>, IComparable<BaseTripleNode>, 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>, IComparable<TripleNode>, IEquatable<TripleNode>
Constructors
| Edit this page View SourceTripleNode(Triple)
Create a new node that quotes the specified triple.
Declaration
public TripleNode(Triple triple)
Parameters
Type | Name | Description |
---|---|---|
Triple | triple | The triple to be quoted. |
Methods
| Edit this page View SourceCompareTo(TripleNode)
Perform a sort order comparison of this node with another TripleNode.
Declaration
public int CompareTo(TripleNode other)
Parameters
Type | Name | Description |
---|---|---|
TripleNode | other | The other node to compare to. |
Returns
Type | Description |
---|---|
int | 1 if |
Equals(TripleNode)
Determines whether this node is equal to another TripleNode.
Declaration
public bool Equals(TripleNode other)
Parameters
Type | Name | Description |
---|---|---|
TripleNode | other | The other node to compare to. |
Returns
Type | Description |
---|---|
bool | True if the quoted triple of this node is equal to the quoted triple of the other node, false otherwise. |