java.lang.Object
org.apache.jena.riot.lang.LangJSONLD11
- All Implemented Interfaces:
ReaderRIOT
JSON-LD 1.1
ReaderRIOT
.-
Field Summary
Modifier and TypeFieldDescriptionstatic final Symbol
value: the option object expected by JsonLdProcessor (instance of JsonLdOptions) -
Constructor Summary
ConstructorDescriptionLangJSONLD11
(Lang language, ParserProfile profile, ErrorHandler errorHandler) -
Method Summary
Modifier and TypeMethodDescriptionvoid
read
(InputStream input, String baseURI, ContentType ct, StreamRDF output, Context context) Read from an InputStream and output RDF on the StreamRDF.void
Read from an InputStream and output RDF on the StreamRDF.
-
Field Details
-
JSONLD_OPTIONS
value: the option object expected by JsonLdProcessor (instance of JsonLdOptions)
-
-
Constructor Details
-
LangJSONLD11
-
-
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 interfaceReaderRIOT
- Parameters:
input
- InputStreambaseURI
- 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
Description copied from interface:ReaderRIOT
Read from an InputStream and output RDF on the StreamRDF.- Specified by:
read
in interfaceReaderRIOT
- 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.
-