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
System.Object
BlankNodeOutputMapper
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.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

| Improve this Doc View Source

BlankNodeOutputMapper(Func<String, Boolean>)

Creates a new Blank Node ID mapper.
Declaration
public BlankNodeOutputMapper(Func<string, bool> validator)
Parameters
Type Name Description
System.Func<System.String, System.Boolean> validator Function which determines whether IDs are valid or not.

Methods

| Improve this Doc 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
System.String id ID to map.
Returns
Type Description
System.String

Extension Methods

Extensions.AsEnumerable<T>(T)
  • Improve this Doc
  • View Source
In This Article
  • Constructors
    • BlankNodeOutputMapper(Func<String, Boolean>)
  • Methods
    • GetOutputID(String)
  • Extension Methods
Back to top Generated by DocFX