NTriplesEncoderOptions class
Options for configuring the N-Triples encoder behavior.
N-Triples has a very simple serialization format with minimal configurable options compared to other RDF serialization formats.
The N-Triples format specification doesn't support namespace prefixes, so the customPrefixes property is implemented to return an empty map to satisfy the interface requirement.
- Inheritance
-
- Object
- RdfGraphEncoderOptions
- NTriplesEncoderOptions
Constructors
- NTriplesEncoderOptions.new()
-
Creates a new instance of NTriplesEncoderOptions with default settings.
const
Properties
-
customPrefixes
→ Map<
String, String> -
Custom namespace prefixes to use during encoding.
no setteroverride
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Methods
-
from(
RdfGraphEncoderOptions options) → NTriplesEncoderOptions - Creates an instance of NTriplesEncoderOptions from generic encoder options.