Interface INodeMapGenerator
Interface for the JSON-LD node map generator.
Namespace: VDS.RDF.JsonLd
Assembly: dotNetRdf.dll
Syntax
public interface INodeMapGenerator
Methods
| Edit this page View SourceGenerateMergedNodeMap(JObject)
Creates a new node map object by merging the graph-level node maps contained in the input graph map object.
Declaration
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). |
GenerateNodeMap(JToken, IBlankNodeGenerator)
Applies the Node Map Generation algorithm to the specified input.
Declaration
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. |