Class LangJSONLD11

java.lang.Object
org.apache.jena.riot.lang.LangJSONLD11
All Implemented Interfaces:
ReaderRIOT

public class LangJSONLD11 extends Object implements ReaderRIOT
JSON-LD 1.1 ReaderRIOT.
  • Field Details

    • JSONLD_OPTIONS

      public static final Symbol JSONLD_OPTIONS
      value: the option object expected by JsonLdProcessor (instance of JsonLdOptions)
  • Constructor Details

  • Method Details

    • read

      public void read(InputStream input, String baseURI, ContentType ct, StreamRDF output, Context context)
      Description copied from interface: ReaderRIOT
      Read from an InputStream and output RDF on the StreamRDF.
      Specified by:
      read in interface ReaderRIOT
      Parameters:
      input - InputStream
      baseURI - Base URI (or null)
      ct - Content-Type if available. Routing to the right parser will have already been done so this only useful to get addition Content-Type information or if this ReaderRIOT can handle multiple media types.
      output - Destination for the parser output.
      context - Environment settings.
    • read

      public void read(Reader in, String baseURI, ContentType ct, StreamRDF output, Context context)
      Description copied from interface: ReaderRIOT
      Read from an InputStream and output RDF on the StreamRDF.
      Specified by:
      read in interface ReaderRIOT
      Parameters:
      in - Reader. InputStreams are preferred because Reader do not allow RIOT to set the character set.
      baseURI - Base URI (or null)
      ct - Content-Type if available. Routing to the right parser will have already been done so this only useful to get addition Content-Type information or if this ReaderRIOT can handle multiple media types.
      output - Destination for the parser output.
      context - Environment settings.