Interface for a CURIE prefix binding.
- Source:
Methods
expand(reference) → {String}
Expand a CURIE reference to a full URI.
Parameters:
Name | Type | Description |
---|---|---|
reference |
String | The reference to expand |
- Source:
Returns:
The full URI after expansion.
- Type
- String
follow(reference, options) → {Resource}
Follow a CURIE reference once expanded to a full URI.
Parameters:
Name | Type | Description |
---|---|---|
reference |
String | The reference to expand |
options |
Object | The options to pass to WebLink#follow |
- Source:
Returns:
The resource resulting from following the final URI.
- Type
- Resource