Show / Hide Table of Contents

Interface IBlankNodeGenerator

Interface for a blank node identifier generator that generates a unique blank node identifier for a given input identifier.

Namespace: VDS.RDF.JsonLd
Assembly: dotNetRdf.dll
Syntax
public interface IBlankNodeGenerator

Methods

| Edit this page View Source

Clone()

Returns a copy of the object.

Declaration
IBlankNodeGenerator Clone()
Returns
Type Description
IBlankNodeGenerator
| Edit this page View Source

GenerateBlankNodeIdentifier(string)

Return a unique blank node identifier for the specified input identifier.

Declaration
string GenerateBlankNodeIdentifier(string identifier)
Parameters
Type Name Description
string identifier
Returns
Type Description
string

A blank node identifier string (using standard Turtle notation for blank node identifiers).

Remarks

An implementation MUST guarantee to return the same blank node identifier when called multiple times with the same input identifier.

| Edit this page View Source

GetDictionary()

Returns the mapping dictionary. Only useful for unit tests.

Declaration
IDictionary<string, string> GetDictionary()
Returns
Type Description
IDictionary<string, string>
| Edit this page View Source

GetMappedIdentifier(string)

Returns the mapped identifier for the specified input identifier, or null if no mapping exists.

Declaration
string GetMappedIdentifier(string identifier)
Parameters
Type Name Description
string identifier
Returns
Type Description
string
| Edit this page View Source

GetMappedIdentifiers()

Returns all input identifiers mapped by this issuer.

Declaration
IEnumerable<string> GetMappedIdentifiers()
Returns
Type Description
IEnumerable<string>

Extension Methods

Extensions.ToSafeString(object)
Extensions.AsEnumerable<T>(T)
  • Edit this page
  • View Source
In this article
  • Methods
    • Clone()
    • GenerateBlankNodeIdentifier(string)
    • GetDictionary()
    • GetMappedIdentifier(string)
    • GetMappedIdentifiers()
  • Extension Methods
Back to top Generated by DocFX