RdfBinaryGraphCodecRegistry class final
Manages registration and discovery of binary RDF graph codec plugins.
This registry acts as the central point for binary graph codec plugin management, mirroring RdfCodecRegistry for binary formats.
Constructors
-
RdfBinaryGraphCodecRegistry([List<
RdfBinaryGraphCodec> initialCodecs = const []]) - Creates a new binary graph codec registry.
Properties
-
allMimeTypes
→ Set<
String> -
Returns all MIME types supported by registered binary graph codecs.
no setter
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
clear(
) → void - Clears all registered codecs (mainly for testing).
-
detectCodec(
Uint8List content) → RdfBinaryGraphCodec? - Attempts to detect a codec from binary content.
-
getAllCodecs(
) → List< RdfBinaryGraphCodec> - Returns all registered binary graph codecs.
-
getCodec(
String? mimeType) → RdfBinaryGraphCodec - Retrieves a codec by MIME type.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
registerCodec(
RdfBinaryGraphCodec codec) → void - Registers a binary graph codec with this registry.
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited