Package | Description |
---|---|
com.epimorphics.jsonrdf |
The jsonrdf package provides serialisation of RDF models into
JSON.
|
com.epimorphics.jsonrdf.impl |
The impl package contains the default (and only)
Encoder implementation.
|
com.epimorphics.lda.shortnames |
The shortnames package contains classes to handle the
short-name structure of an LDA configuration.
|
Modifier and Type | Class and Description |
---|---|
class |
Context
Encapsulates the mapping decisions to determine how RDF should be
serialized in JSON to enable partial inversion.
|
Modifier and Type | Field and Description |
---|---|
protected ReadContext |
Encoder.context |
Modifier and Type | Method and Description |
---|---|
void |
EncoderPlugin.encodeLiteral(JSONWriterFacade jw,
boolean isStructured,
com.hp.hpl.jena.rdf.model.Literal lit,
ReadContext c)
Encode a literal as a JSON compatible object.
|
String |
EncoderPlugin.encodeResourceURI(String uri,
ReadContext context,
boolean shortNames)
Encode a resource URI, use relative URIs if possible, use shortnames only if flag is set
|
static Encoder |
Encoder.get(EncoderPlugin rules,
ReadContext fromOntology)
Return an encoder using the specified rules and the specified
base ontology.
|
static Encoder |
Encoder.get(ReadContext context)
Return an encoder using the default rules and no Context, any
Context information will be generated on-the-fly.
|
static Encoder |
Encoder.getForOneResult(ReadContext c) |
Modifier and Type | Method and Description |
---|---|
void |
EncoderDefault.encodeLiteral(JSONWriterFacade jw,
boolean isStructured,
com.hp.hpl.jena.rdf.model.Literal lit,
ReadContext c)
Encode a literal as a JSON compatible object
|
String |
EncoderDefault.encodeResourceURI(String uri,
ReadContext context,
boolean shorten)
Encode a resource URI, shortening it if possible
|
Modifier and Type | Method and Description |
---|---|
static ReadContext |
CompleteReadContext.create(Context context,
Map<String,String> uriToName) |
Copyright © 2014. All Rights Reserved.