Show / Hide Table of Contents

Class BlankNodeMapper

Mapper class which creates Blank Node IDs and ensures that auto-assigned and user specified IDs don't collide.

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

Constructors

| Edit this page View Source

BlankNodeMapper()

Creates a new Blank Node Mapper.

Declaration
public BlankNodeMapper()
| Edit this page View Source

BlankNodeMapper(string)

Creates a new Blank Node Mapper that uses a custom Prefix.

Declaration
public BlankNodeMapper(string prefix)
Parameters
Type Name Description
string prefix

Prefix.

Methods

| Edit this page View Source

CheckID(ref string)

Checks that an ID can be used as a Blank Node ID remapping it to another ID if necessary.

Declaration
public void CheckID(ref string id)
Parameters
Type Name Description
string id

ID to be checked.

Remarks

If the ID is not known it is added to the ID maps. If the ID is known but is user-assigned then this can be used fine. If the ID is known and was auto-assigned then it has to be remapped to a different ID.

| Edit this page View Source

GetNextID()

Gets the next available auto-assigned Blank Node ID.

Declaration
public string GetNextID()
Returns
Type Description
string

Extension Methods

Extensions.ToSafeString(object)
Extensions.AsEnumerable<T>(T)
  • Edit this page
  • View Source
In this article
  • Constructors
    • BlankNodeMapper()
    • BlankNodeMapper(string)
  • Methods
    • CheckID(ref string)
    • GetNextID()
  • Extension Methods
Back to top Generated by DocFX