Uses of Interface
no.hasmac.jsonld.document.Document
Packages that use Document
Package
Description
Provides APIs to process JSON-LD.
Processable documents.
Remote Document and Context Retrieval.
-
Uses of Document in no.hasmac.jsonld
Fields in no.hasmac.jsonld declared as DocumentModifier and TypeFieldDescriptionprivate Document
JsonLdOptions.expandContext
A context that is used to initialize the active context when expanding a document.Fields in no.hasmac.jsonld with type parameters of type DocumentMethods in no.hasmac.jsonld that return DocumentMethods in no.hasmac.jsonld that return types with arguments of type DocumentMethods in no.hasmac.jsonld with parameters of type DocumentModifier and TypeMethodDescriptionprivate static void
JsonLd.assertJsonDocument
(Document document, String param) private static void
JsonLd.assertRdfDocument
(Document document, String param) static CompactionApi
Compacts the referenced document using the context.static CompactionApi
Compacts the referenced document using the context.static CompactionApi
CompactsDocument
document using the context.static CompactionApi
CompactsDocument
document using the context.static CompactionApi
CompactsDocument
document using the context.static ExpansionApi
Expands the provided remote document.static FlatteningApi
Flattens the remote input and optionally compacts it using context.static FramingApi
Frames the remote input using given local frame.static FramingApi
Frames the remote input using given local frame.static FramingApi
Frames the local document using given remote frame.static FramingApi
Frames the local document using given remote frame.static FramingApi
Frames the local document using given local frame.static FromRdfApi
TransformsDocument
into a JSON-LD document in expanded form.void
JsonLdOptions.setExpandContext
(Document context) static ToRdfApi
TransformsDocument
intoRdfDataset
.Method parameters in no.hasmac.jsonld with type arguments of type DocumentModifier and TypeMethodDescriptionvoid
JsonLdOptions.setDocumentCache
(Cache<String, Document> documentCache) -
Uses of Document in no.hasmac.jsonld.api
Fields in no.hasmac.jsonld.api declared as DocumentModifier and TypeFieldDescriptionprivate final Document
CompactionApi.context
private Document
FlatteningApi.context
private final Document
CompactionApi.document
private final Document
ExpansionApi.document
private final Document
FlatteningApi.document
private final Document
FramingApi.document
private final Document
FromRdfApi.document
private final Document
ToRdfApi.document
private final Document
FramingApi.frame
Methods in no.hasmac.jsonld.api with parameters of type DocumentModifier and TypeMethodDescriptionA context that is used to initialize the active context.Constructors in no.hasmac.jsonld.api with parameters of type DocumentModifierConstructorDescriptionCompactionApi
(URI documentUri, Document context) CompactionApi
(Document document, URI contextUri) CompactionApi
(Document document, Document context) ExpansionApi
(Document document) FlatteningApi
(Document document) FramingApi
(URI documentUri, Document frame) FramingApi
(Document document, URI frameUri) FramingApi
(Document document, Document frame) FromRdfApi
(Document document) -
Uses of Document in no.hasmac.jsonld.document
Classes in no.hasmac.jsonld.document that implement DocumentMethods in no.hasmac.jsonld.document that return DocumentModifier and TypeMethodDescriptionstatic Document
Create a new document from content provided byReader
.static Document
static Document
RdfDocument.of
(MediaType contentType, RdfDataset dataset) Create a new document fromRdfDataset
.static Document
RdfDocument.of
(RdfDataset dataset) Create a new document fromRdfDataset
.static Document
DocumentParser.parse
(MediaType contentType, InputStream inputStream) Deprecated.Create a new document.static Document
Deprecated.Create a new document. -
Uses of Document in no.hasmac.jsonld.loader
Methods in no.hasmac.jsonld.loader that return DocumentModifier and TypeMethodDescriptionDefaultHttpLoader.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 Document in no.hasmac.jsonld.processor
Methods in no.hasmac.jsonld.processor that return DocumentModifier and TypeMethodDescriptionprivate static Document
FramingProcessor.getDocument
(URI document, JsonLdOptions options) Methods in no.hasmac.jsonld.processor with parameters of type DocumentModifier and TypeMethodDescriptionstatic 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
(Document input, JsonLdOptions options, boolean frameExpansion) 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, 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
(Document document, JsonLdOptions options) 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)