public class JsonLDReadContext extends Context
ReaderRIOT.read(InputStream, String, ContentType, StreamRDF, Context)
when the ReaderRIOT has been created with one of the JSON-LD RDFFormat variants (that is, when it is
an instance of JsonLDReader)
Parameters that are actually useful are ''documentLoader'' and ''produceGeneralizedRdf''.emptyContext| Constructor and Description |
|---|
JsonLDReadContext() |
| Modifier and Type | Method and Description |
|---|---|
void |
setJsonLDContext(Object jsonLdContext)
Set the value of the JSON-LD "@context" node, used when reading a jsonld (overriding the actual @context in the jsonld).
|
void |
setJsonLDContext(String jsonLdContext)
Set the value of the JSON-LD "@context" node, used when reading a jsonld (overriding the actual @context in the jsonld).
|
void |
setOptions(com.github.jsonldjava.core.JsonLdOptions opts)
Set the JSON-LD java API's options
If not set, a default value is used.
|
copy, equals, get, get, getAsString, getAsString, getInt, getLong, hashCode, hasValue, hasValueAsString, hasValueAsString, isDefined, isFalse, isFalseOrUndef, isTrue, isTrueOrUndef, isUndef, keys, mergeCopy, put, putAll, remove, set, set, setCurrentDateTime, setFalse, setIfUndef, setTrue, setupContextForDataset, size, toString, unsetpublic void setJsonLDContext(String jsonLdContext)
jsonLdContext - the value of the "@context" node (a JSON value). Note that the use of an URI to pass an external context is not supported (as of JSONLD-java API 0.8.3)setJsonLDContext(Object)public void setJsonLDContext(Object jsonLdContext)
jsonLdContext - the context as expected by JSON-LD java API. As of JSON-LD java 0.8.3, a Map
defining the properties and the prefixes is OK. Note that the use an URI to pass an external context is not supported (JSONLD-java RDF 0.8.3)setJsonLDContext(String)public void setOptions(com.github.jsonldjava.core.JsonLdOptions opts)
opts - the options as defined by the JSON-LD java APILicenced under the Apache License, Version 2.0