TriGDecoder constructor

TriGDecoder({
  1. TriGDecoderOptions options = const TriGDecoderOptions(),
  2. required RdfNamespaceMappings namespaceMappings,
  3. IriTermFactory iriTermFactory = IriTerm.validated,
  4. String format = "TriG",
})

Creates a new TriG decoder

Parameters:

  • options Configuration options that control parsing behavior. Default is standard TriG parsing with no special settings.
  • namespaceMappings Required 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;