TriGDecoder constructor
TriGDecoder({
- TriGDecoderOptions options = const TriGDecoderOptions(),
- required RdfNamespaceMappings namespaceMappings,
- IriTermFactory iriTermFactory = IriTerm.validated,
- String format = "TriG",
Creates a new TriG decoder
Parameters:
optionsConfiguration options that control parsing behavior. Default is standard TriG parsing with no special settings.namespaceMappingsRequired namespace mappings to use when expanding prefixed names encountered during parsing.
Implementation
TriGDecoder({
TriGDecoderOptions options = const TriGDecoderOptions(),
required RdfNamespaceMappings namespaceMappings,
IriTermFactory iriTermFactory = IriTerm.validated,
String format = "TriG",
}) : _namespaceMappings = namespaceMappings,
_options = options,
_iriTermFactory = iriTermFactory,
_format = format;