public class JenaJSONLD extends Object
The bindings must be initialized by calling init(). After
initialization, the language JSONLD can be used with
RDFDataMgr for read/write of JSONLD. The file extension ".jsonld" and
media type "application/ld+json" is also recognized. The classic
Model can also read/write JSON-LD using the language "JSON-LD".
| Modifier and Type | Class and Description |
|---|---|
static class |
JenaJSONLD.JsonLDRDFReader
Classic RDFReader for JSONLD.
|
static class |
JenaJSONLD.JsonLDRDFWriter
Classic RDFWriter for JSONLD.
|
static class |
JenaJSONLD.JsonLDReaderRIOTFactory
Factory for JSONLD RIOT graph reader.
|
static class |
JenaJSONLD.JsonLDWriterDatasetRIOTFactory
Factory for JSONLD RIOT dataset writer.
|
static class |
JenaJSONLD.JsonLDWriterGraphRIOTFactory
Factory for JSONLD RIOT graph writer.
|
| Modifier and Type | Field and Description |
|---|---|
static org.apache.jena.riot.Lang |
JSONLD |
static org.apache.jena.riot.RDFFormat |
JSONLD_FORMAT_FLAT |
static org.apache.jena.riot.RDFFormat |
JSONLD_FORMAT_PRETTY |
| Constructor and Description |
|---|
JenaJSONLD() |
| Modifier and Type | Method and Description |
|---|---|
static void |
init()
Initialize JSONLD readers and writers with Jena.
|
protected static void |
registerReader() |
protected static void |
registerWithJsonLD() |
protected static void |
registerWriter() |
public static org.apache.jena.riot.Lang JSONLD
public static org.apache.jena.riot.RDFFormat JSONLD_FORMAT_FLAT
public static org.apache.jena.riot.RDFFormat JSONLD_FORMAT_PRETTY
public static void init()
After initialization, the language JSONLD can be used with
RDFDataMgr for read/write. Additionally the classic Model
(as "JSON-LD")
This method is safe to call multiple times.
protected static void registerWithJsonLD()
protected static void registerReader()
protected static void registerWriter()
Copyright © 2014. All Rights Reserved.