Interface INode
Interface for Nodes.
Inherited Members
Namespace: VDS.RDF
Assembly: dotNetRdf.dll
Syntax
public interface 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>
Properties
| Edit this page View SourceNodeType
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
| Edit this page View SourceToString()
Gets the String representation of the Node.
Declaration
string ToString()
Returns
Type | Description |
---|---|
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 |
---|---|
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 |
---|---|
string |