Show / Hide Table of Contents

Class BlankNodeOutputMapper

Mapper class which remaps Blank Node IDs which aren't valid as-is in a given serialization to a new ID.

Inheritance
object
BlankNodeOutputMapper
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 BlankNodeOutputMapper
Remarks

This also has to take care of the fact that it's possible that these remapped IDs then collide with existing valid IDs in which case these also have to be remapped.

Constructors

| Edit this page View Source

BlankNodeOutputMapper(Func<string, bool>)

Creates a new Blank Node ID mapper.

Declaration
public BlankNodeOutputMapper(Func<string, bool> validator)
Parameters
Type Name Description
Func<string, bool> validator

Function which determines whether IDs are valid or not.

Methods

| Edit this page View Source

GetOutputID(string)

Takes a ID, validates it and returns either the ID or an appropriate remapped ID.

Declaration
public string GetOutputID(string id)
Parameters
Type Name Description
string id

ID to map.

Returns
Type Description
string

Extension Methods

Extensions.ToSafeString(object)
Extensions.AsEnumerable<T>(T)
  • Edit this page
  • View Source
In this article
  • Constructors
    • BlankNodeOutputMapper(Func<string, bool>)
  • Methods
    • GetOutputID(string)
  • Extension Methods
Back to top Generated by DocFX