Interface INodeFactory
Interface for classes which can create Nodes.
Assembly: dotNetRDF.dll
Syntax
public interface INodeFactory
Methods
|
Improve this Doc
View Source
CreateBlankNode()
Creates a Blank Node with a new automatically generated ID.
Declaration
IBlankNode CreateBlankNode()
Returns
|
Improve this Doc
View Source
CreateBlankNode(String)
Creates a Blank Node with the given Node ID.
Declaration
IBlankNode CreateBlankNode(string nodeId)
Parameters
Type |
Name |
Description |
System.String |
nodeId |
Node ID. |
Returns
|
Improve this Doc
View Source
CreateGraphLiteralNode()
Creates a Graph Literal Node which represents the empty Subgraph.
Declaration
IGraphLiteralNode CreateGraphLiteralNode()
Returns
|
Improve this Doc
View Source
CreateGraphLiteralNode(IGraph)
Creates a Graph Literal Node which represents the given Subgraph.
Declaration
IGraphLiteralNode CreateGraphLiteralNode(IGraph subgraph)
Parameters
Type |
Name |
Description |
IGraph |
subgraph |
Subgraph. |
Returns
|
Improve this Doc
View Source
CreateLiteralNode(String)
Creates a Literal Node with the given Value.
Declaration
ILiteralNode CreateLiteralNode(string literal)
Parameters
Type |
Name |
Description |
System.String |
literal |
Value of the Literal. |
Returns
|
Improve this Doc
View Source
CreateLiteralNode(String, String)
Creates a Literal Node with the given Value and Language.
Declaration
ILiteralNode CreateLiteralNode(string literal, string langspec)
Parameters
Type |
Name |
Description |
System.String |
literal |
Value of the Literal. |
System.String |
langspec |
Language Specifier for the Literal. |
Returns
|
Improve this Doc
View Source
CreateLiteralNode(String, Uri)
Creates a Literal Node with the given Value and Data Type.
Declaration
ILiteralNode CreateLiteralNode(string literal, Uri datatype)
Parameters
Type |
Name |
Description |
System.String |
literal |
Value of the Literal. |
System.Uri |
datatype |
Data Type URI of the Literal. |
Returns
|
Improve this Doc
View Source
CreateUriNode(Uri)
Creates a URI Node for the given URI.
Declaration
IUriNode CreateUriNode(Uri uri)
Parameters
Type |
Name |
Description |
System.Uri |
uri |
URI. |
Returns
|
Improve this Doc
View Source
CreateVariableNode(String)
Creates a Variable Node for the given Variable Name.
Declaration
IVariableNode CreateVariableNode(string varname)
Parameters
Type |
Name |
Description |
System.String |
varname |
|
Returns
|
Improve this Doc
View Source
GetNextBlankNodeID()
Creates a new unused Blank Node ID and returns it.
Declaration
string GetNextBlankNodeID()
Returns
Type |
Description |
System.String |
|
Extension Methods