Show / Hide Table of Contents

Interface INodeFactory

Interface for classes which can create Nodes.
Namespace: VDS.RDF
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
Type Description
IBlankNode
| 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
Type Description
IBlankNode
| Improve this Doc View Source

CreateGraphLiteralNode()

Creates a Graph Literal Node which represents the empty Subgraph.
Declaration
IGraphLiteralNode CreateGraphLiteralNode()
Returns
Type Description
IGraphLiteralNode
| 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
Type Description
IGraphLiteralNode
| 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
Type Description
ILiteralNode
| 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
Type Description
ILiteralNode
| 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
Type Description
ILiteralNode
| 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
Type Description
IUriNode
| 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
Type Description
IVariableNode
| 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

Extensions.AsEnumerable<T>(T)
  • Improve this Doc
  • View Source
In This Article
  • Methods
    • CreateBlankNode()
    • CreateBlankNode(String)
    • CreateGraphLiteralNode()
    • CreateGraphLiteralNode(IGraph)
    • CreateLiteralNode(String)
    • CreateLiteralNode(String, String)
    • CreateLiteralNode(String, Uri)
    • CreateUriNode(Uri)
    • CreateVariableNode(String)
    • GetNextBlankNodeID()
  • Extension Methods
Back to top Generated by DocFX