Uses of Class
no.hasmac.jsonld.JsonLdError
Packages that use JsonLdError
Package
Description
Compaction Algorithms.
Context Processing Algorithms.
Deserialize JSON-LD to RDF Algorithm.
Processable documents.
Expansion Algorithms.
Flattening Algorithms.
Framing Algorithms.
Remote Document and Context Retrieval.
Serialize RDF as JSON-LD Algorithm.
-
Uses of JsonLdError in no.hasmac.jsonld.api
Methods in no.hasmac.jsonld.api that throw JsonLdErrorModifier and TypeMethodDescriptionjakarta.json.JsonObject
CompactionApi.get()
Get the result of compaction.jakarta.json.JsonArray
ExpansionApi.get()
Get the result of the document expansion.jakarta.json.JsonStructure
FlatteningApi.get()
Get the result of flattening.jakarta.json.JsonObject
FramingApi.get()
Get the result of framing.jakarta.json.JsonArray
FromRdfApi.get()
GetJSON-LD
representation of the providedRdfDataset
.ToRdfApi.get()
Transform providedJSON-LD
document intoRdfDataset
.<Triple,
Quad, Iri extends Resource, Bnode extends Resource, Resource extends Value, Literal extends Value, Value>
voidToRdfApi.get
(RdfConsumer<Triple, Quad> rdfConsumer, RdfValueFactory<Triple, Quad, Iri, Bnode, Resource, Literal, Value> rdfValueFactory) Transform providedJSON-LD
document intoRdfDataset
. -
Uses of JsonLdError in no.hasmac.jsonld.compaction
Methods in no.hasmac.jsonld.compaction that throw JsonLdError -
Uses of JsonLdError in no.hasmac.jsonld.context
Methods in no.hasmac.jsonld.context that throw JsonLdError -
Uses of JsonLdError in no.hasmac.jsonld.deseralization
Methods in no.hasmac.jsonld.deseralization that throw JsonLdError -
Uses of JsonLdError in no.hasmac.jsonld.document
Methods in no.hasmac.jsonld.document that return JsonLdErrorModifier and TypeMethodDescriptionprivate static JsonLdError
DocumentParser.unsupportedMediaType
(MediaType contentType) Deprecated.Methods in no.hasmac.jsonld.document that throw JsonLdErrorModifier and TypeMethodDescriptionprivate static JsonDocument
static JsonDocument
JsonDocument.of
(InputStream is) Create a new document from content provided byInputStream
.static JsonDocument
Create a new document from content provided byReader
.static JsonDocument
JsonDocument.of
(MediaType contentType, InputStream is) Create a new document from content provided byInputStream
.static JsonDocument
Create a new document from content provided byReader
.static RdfDocument
RdfDocument.of
(InputStream is) Create a new document from content provided byInputStream
.static Document
Create a new document from content provided byReader
.static RdfDocument
RdfDocument.of
(MediaType type, InputStream is) static Document
static Document
DocumentParser.parse
(MediaType contentType, InputStream inputStream) Deprecated.Create a new document.static Document
Deprecated.Create a new document.private static JsonLdError
DocumentParser.unsupportedMediaType
(MediaType contentType) Deprecated. -
Uses of JsonLdError in no.hasmac.jsonld.expansion
Methods in no.hasmac.jsonld.expansion that throw JsonLdErrorModifier and TypeMethodDescriptionjakarta.json.JsonValue
Expansion.compute()
jakarta.json.JsonArray
ArrayExpansion.expand()
jakarta.json.JsonValue
ObjectExpansion.expand()
void
ObjectExpansion1314.expand()
jakarta.json.JsonValue
ScalarExpansion.expand()
jakarta.json.JsonObject
private String
ObjectExpansion.findInputType
(String typeKey) private jakarta.json.JsonValue
ObjectExpansion1314.getInitialExpandedValue
(String key, Optional<TermDefinition> keyTermDefinition, jakarta.json.JsonValue value, Collection<String> containerMapping) private boolean
ObjectExpansion1314.handleExpandedPropertyIsAKeyword
(String key, String expandedProperty, jakarta.json.JsonValue value) private void
ObjectExpansion.initLocalContext()
private void
UriExpansion.initLocalContext
(String value) private void
ObjectExpansion.initPreviousContext()
private void
ObjectExpansion.initPropertyContext()
private String
UriExpansion.initPropertyContext
(String prefix, String suffix, String result) private jakarta.json.JsonValue
ObjectExpansion.normalize
(JsonMapBuilder result) private jakarta.json.JsonValue
ObjectExpansion.normalizeContainer
(JsonMapBuilder result) private jakarta.json.JsonValue
ObjectExpansion.normalizeType
(JsonMapBuilder result) private jakarta.json.JsonValue
ObjectExpansion.normalizeValue
(JsonMapBuilder result) private void
ObjectExpansion1314.processNest()
private String
ObjectExpansion.processTypeScoped
(ActiveContext typeContext) private void
ObjectExpansion1314.recurse()
-
Uses of JsonLdError in no.hasmac.jsonld.flattening
Methods in no.hasmac.jsonld.flattening that throw JsonLdError -
Uses of JsonLdError in no.hasmac.jsonld.framing
Methods in no.hasmac.jsonld.framing that throw JsonLdErrorModifier and TypeMethodDescriptionvoid
Framing.frame()
static boolean
Frame.getBoolean
(jakarta.json.JsonObject frame, String key, boolean defaultValue) Frame.getEmbed
(JsonLdEmbed defaultValue) boolean
Frame.getExplicit
(boolean defaultValue) boolean
Frame.getRequireAll
(boolean defaultValue) FrameMatcher.match
(Collection<String> subjects) boolean
boolean
Frame.matchNode
(FramingState state, jakarta.json.JsonValue value, boolean requireAll) static Frame
Frame.of
(jakarta.json.JsonStructure structure) -
Uses of JsonLdError in no.hasmac.jsonld.http
Methods in no.hasmac.jsonld.http that throw JsonLdErrorModifier and TypeMethodDescription -
Uses of JsonLdError in no.hasmac.jsonld.loader
Methods in no.hasmac.jsonld.loader that throw JsonLdErrorModifier and TypeMethodDescriptionReturn a reader or throwJsonLdError
if there is no reader nor fallbackContentType.DefaultHttpLoader.loadDocument
(URI uri, DocumentLoaderOptions options) DocumentLoader.loadDocument
(URI url, DocumentLoaderOptions options) Retrieve a remote document.FileLoader.loadDocument
(URI url, DocumentLoaderOptions options) SchemeRouter.loadDocument
(URI url, DocumentLoaderOptions options) private Document
DefaultHttpLoader.resolve
(MediaType type, URI targetUri, URI contextUrl, HttpResponse response) -
Uses of JsonLdError in no.hasmac.jsonld.processor
Methods in no.hasmac.jsonld.processor that throw JsonLdErrorModifier and TypeMethodDescriptionprivate static void
FlatteningProcessor.assertDocumentLoader
(JsonLdOptions options, URI target) static jakarta.json.JsonObject
CompactionProcessor.compact
(URI input, URI context, JsonLdOptions options) static jakarta.json.JsonObject
CompactionProcessor.compact
(URI input, Document context, JsonLdOptions options) static jakarta.json.JsonObject
CompactionProcessor.compact
(Document input, URI context, JsonLdOptions options) static jakarta.json.JsonObject
CompactionProcessor.compact
(Document input, Document context, JsonLdOptions options) static jakarta.json.JsonArray
ExpansionProcessor.expand
(URI input, JsonLdOptions options) static jakarta.json.JsonArray
ExpansionProcessor.expand
(Document input, JsonLdOptions options, boolean frameExpansion) static jakarta.json.JsonStructure
FlatteningProcessor.flatten
(URI input, URI context, JsonLdOptions options) static jakarta.json.JsonStructure
FlatteningProcessor.flatten
(URI input, Document context, JsonLdOptions options) static jakarta.json.JsonStructure
FlatteningProcessor.flatten
(Document input, URI context, JsonLdOptions options) static jakarta.json.JsonStructure
FlatteningProcessor.flatten
(Document input, Document context, JsonLdOptions options) static jakarta.json.JsonObject
FramingProcessor.frame
(URI input, URI frame, JsonLdOptions options) static jakarta.json.JsonObject
FramingProcessor.frame
(URI input, Document frame, JsonLdOptions options) static jakarta.json.JsonObject
FramingProcessor.frame
(Document input, URI frameUri, JsonLdOptions options) static jakarta.json.JsonObject
FramingProcessor.frame
(Document input, Document frame, JsonLdOptions options) static jakarta.json.JsonArray
FromRdfProcessor.fromRdf
(URI documentUri, JsonLdOptions options) static jakarta.json.JsonArray
FromRdfProcessor.fromRdf
(Document document, JsonLdOptions options) private static Document
FramingProcessor.getDocument
(URI document, JsonLdOptions options) static RdfDataset
ToRdfProcessor.toRdf
(URI input, JsonLdOptions options) static <Triple,
Quad, Iri extends Resource, Bnode extends Resource, Resource extends Value, Literal extends Value, Value>
voidToRdfProcessor.toRdf
(URI input, JsonLdOptions options, RdfConsumer<Triple, Quad> rdfConsumer, RdfValueFactory<Triple, Quad, Iri, Bnode, Resource, Literal, Value> rdfValueFactory) static RdfDataset
ToRdfProcessor.toRdf
(Document input, JsonLdOptions options) static <Triple,
Quad, Iri extends Resource, Bnode extends Resource, Resource extends Value, Literal extends Value, Value>
voidToRdfProcessor.toRdf
(Document input, JsonLdOptions options, RdfConsumer<Triple, Quad> rdfConsumer, RdfValueFactory<Triple, Quad, Iri, Bnode, Resource, Literal, Value> rdfValueFactory) private static ActiveContext
ExpansionProcessor.updateContext
(ActiveContext activeContext, jakarta.json.JsonValue expandedContext, URI baseUrl) -
Uses of JsonLdError in no.hasmac.jsonld.serialization
Methods in no.hasmac.jsonld.serialization that throw JsonLdError