RdfCodec<G> class
abstract
- Inheritance
- Implementers
Constructors
- RdfCodec.new()
-
const
Properties
-
decoder
→ RdfDecoder<
G> -
Creates a decoder instance for this codec
no setteroverride
-
encoder
→ RdfEncoder<
G> -
Creates an encoder instance for this codec
no setteroverride
- hashCode → int
-
The hash code for this object.
no setterinherited
-
inverted
→ Codec<
String, G> -
Inverts
this
.no setterinherited - primaryMimeType → String
-
The primary MIME type for this codec
no setter
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
supportedMimeTypes
→ Set<
String> -
All MIME types supported by this codec
no setter
Methods
-
canParse(
String content) → bool - Tests if the provided content is likely in this codec's format
-
decode(
String input, {String? documentUrl, RdfGraphDecoderOptions? options}) → G -
Decodes a string containing RDF data into an RDF graph
override
-
encode(
G input, {String? baseUri, RdfGraphEncoderOptions? options}) → String -
Encodes an RDF graph to a string representation in this codec
override
-
fuse<
R> (Codec< String, R> other) → Codec<G, R> -
Fuses
this
withother
.inherited -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
-
withOptions(
{RdfGraphEncoderOptions? encoder, RdfGraphDecoderOptions? decoder}) → RdfCodec< G> - Creates a new codec instance with the specified options
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited