SolidResourceLocator class

Maps internal locorda resource identifiers to Solid Pod URLs.

Internal IRIs of the form tag:locorda.org,2025:l:<type>:<id> are mapped to {podBaseUrl}data/{base64url(typeIri)}/{id} for domain objects, or {podBaseUrl}indices/{base64url(typeIri)}/{id} for index types.

Constructors

SolidResourceLocator({required IriTermFactory iriTermFactory, required String podBaseUrl})

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

fromIri(IriTerm resourceIri, {IriTerm? expectedTypeIri}) → ResourceIdentifier
Extract local ID and fragment from resource IRI.
isIdentifiableIri(IriTerm subjectIri) bool
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toIri(ResourceIdentifier identifier) → IriTerm
Convert local ID and optional fragment to resource IRI.
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited