Class BlankNodeMapper
Mapper class which creates Blank Node IDs and ensures that auto-assigned and user specified IDs don't collide.
Inheritance
System.Object
BlankNodeMapper
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 BlankNodeMapper
Constructors
| Improve this Doc View SourceBlankNodeMapper()
Creates a new Blank Node Mapper.
Declaration
public BlankNodeMapper()
BlankNodeMapper(String)
Creates a new Blank Node Mapper that uses a custom Prefix.
Declaration
public BlankNodeMapper(string prefix)
Parameters
Type | Name | Description |
---|---|---|
System.String | prefix | Prefix. |
Methods
| Improve this Doc View SourceCheckID(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 |
---|---|---|
System.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.
|
Improve this Doc
View Source
GetNextID()
Gets the next available auto-assigned Blank Node ID.
Declaration
public string GetNextID()
Returns
Type | Description |
---|---|
System.String |