Class GraphLiteralNode
Class for representing Graph Literal Nodes which are supported in highly expressive RDF syntaxes like Notation 3.
Implements
Inherited Members
Namespace: VDS.RDF
Assembly: dotNetRdf.dll
Syntax
public class GraphLiteralNode : BaseGraphLiteralNode, IGraphLiteralNode, IEquatable<BaseGraphLiteralNode>, IComparable<BaseGraphLiteralNode>, 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<GraphLiteralNode>, IComparable<GraphLiteralNode>
Constructors
| Edit this page View SourceGraphLiteralNode()
Creates a new graph literal node whose value is an empty sub-graph.
Declaration
public GraphLiteralNode()
GraphLiteralNode(IGraph)
Creates a new Graph Literal Node whose value is the specified sub-graph.
Declaration
public GraphLiteralNode(IGraph subGraph)
Parameters
Type | Name | Description |
---|---|---|
IGraph | subGraph | Sub-graph this node represents. |
Methods
| Edit this page View SourceCompareTo(GraphLiteralNode)
Implementation of Compare To for Graph Literal Nodes.
Declaration
public int CompareTo(GraphLiteralNode other)
Parameters
Type | Name | Description |
---|---|---|
GraphLiteralNode | other | Graph Literal Node to Compare To. |
Returns
Type | Description |
---|---|
int |
Remarks
Simply invokes the more general implementation of this method.
Equals(GraphLiteralNode)
Determines whether this Node is equal to a Graph Literal Node.
Declaration
public bool Equals(GraphLiteralNode other)
Parameters
Type | Name | Description |
---|---|---|
GraphLiteralNode | other | Graph Literal Node. |
Returns
Type | Description |
---|---|
bool |