Class BlankNodeOutputMapper
Mapper class which remaps Blank Node IDs which aren't valid as-is in a given serialization to a new ID.
Inheritance
Inherited Members
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 SourceBlankNodeOutputMapper(Func<string, bool>)
Creates a new Blank Node ID mapper.
Declaration
public BlankNodeOutputMapper(Func<string, bool> validator)
Parameters
Type | Name | Description |
---|---|---|
System.Func<T, TResult><string, System.Boolean> | validator | Function which determines whether IDs are valid or not. |
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.
Methods
| Improve this Doc View SourceGetOutputID(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 |
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.