Click or drag to resize

NodeFactory Class

A default implementation of a Node Factory which generates Nodes unrelated to Graphs (wherever possible we suggest using a Graph based implementation instead).
Inheritance Hierarchy

Namespace:  VDS.RDF
Assembly:  dotNetRDF (in dotNetRDF.dll) Version:
Syntax
public class NodeFactory : INodeFactory

The NodeFactory type exposes the following members.

Constructors
  NameDescription
Public methodNodeFactory
Creates a new Node Factory.
Top
Methods
  NameDescription
Public methodCreateBlankNode
Creates a Blank Node with a new automatically generated ID.
Public methodCreateBlankNode(String)
Creates a Blank Node with the given Node ID.
Public methodCreateGraphLiteralNode
Creates a Graph Literal Node which represents the empty Subgraph.
Public methodCreateGraphLiteralNode(IGraph)
Creates a Graph Literal Node which represents the given Subgraph.
Public methodCreateLiteralNode(String)
Creates a Literal Node with the given Value.
Public methodCreateLiteralNode(String, String)
Creates a Literal Node with the given Value and Language.
Public methodCreateLiteralNode(String, Uri)
Creates a Literal Node with the given Value and Data Type.
Public methodCreateUriNode
Creates a URI Node for the given URI.
Public methodCreateVariableNode
Creates a Variable Node for the given Variable Name.
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetNextBlankNodeID
Creates a new unused Blank Node ID and returns it.
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
See Also