Show / Hide Table of Contents

Class NodeMapGenerator

An implementation of the JSON-LD node map generation algorithm.

Inheritance
object
NodeMapGenerator
Implements
INodeMapGenerator
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: VDS.RDF.JsonLd.Processors
Assembly: dotNetRdf.dll
Syntax
public class NodeMapGenerator : INodeMapGenerator

Methods

| Edit this page View Source

GenerateMergedNodeMap(JObject)

Creates a new node map object by merging the graph-level node maps contained in the input graph map object.

Declaration
public JObject GenerateMergedNodeMap(JObject graphMap)
Parameters
Type Name Description
JObject graphMap

The input graph map to be merged.

Returns
Type Description
JObject

The merged node map as a new object (the original node map is not modified).

| Edit this page View Source

GenerateNodeMap(JToken, IBlankNodeGenerator)

Applies the Node Map Generation algorithm to the specified input.

Declaration
public JObject GenerateNodeMap(JToken element, IBlankNodeGenerator identifierGenerator = null)
Parameters
Type Name Description
JToken element

The element to be processed.

IBlankNodeGenerator identifierGenerator

The identifier generator instance to use when creating new blank node identifiers. Defaults to a new instance of BlankNodeGenerator.

Returns
Type Description
JObject

The generated node map dictionary as a JObject instance.

Implements

INodeMapGenerator

Extension Methods

Extensions.ToSafeString(object)
Extensions.AsEnumerable<T>(T)
  • Edit this page
  • View Source
In this article
  • Methods
    • GenerateMergedNodeMap(JObject)
    • GenerateNodeMap(JToken, IBlankNodeGenerator)
  • Implements
  • Extension Methods
Back to top Generated by DocFX