AutoDetectingGraphDecoder class final

A decoder that detects the format from content and delegates to the appropriate actual decoder.

This specialized decoder implements the auto-detection mechanism used when no specific format is specified. It attempts to determine the format from the content and then delegates to the appropriate parser implementation.

This class is primarily used internally by the RdfCodecRegistry and is not typically instantiated directly by library users.

Inheritance

Constructors

AutoDetectingGraphDecoder(RdfCodecRegistry _registry, {RdfGraphDecoderOptions? options})
Creates a new auto-detecting decoder

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

bind(Stream<String> stream) Stream<RdfGraph>
Transforms the provided stream.
inherited
cast<RS, RT>() Converter<RS, RT>
Provides a Converter<RS, RT> view of this stream transformer.
inherited
convert(String input, {String? documentUrl}) RdfGraph
Decodes RDF content by auto-detecting its format
override
fuse<TT>(Converter<RdfGraph, TT> other) Converter<String, TT>
Fuses this with other.
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
startChunkedConversion(Sink<RdfGraph> sink) Sink<String>
Starts a chunked conversion.
inherited
toString() String
A string representation of this object.
inherited
withOptions(RdfGraphDecoderOptions options) RdfGraphDecoder
Creates a new instance with the specified options
override

Operators

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