Uses of Class
com.apicatalog.jsonld.api.CompactionApi
-
Packages that use CompactionApi Package Description com.apicatalog.jsonld Provides APIs to process JSON-LD.com.apicatalog.jsonld.api -
-
Uses of CompactionApi in com.apicatalog.jsonld
Methods in com.apicatalog.jsonld that return CompactionApi Modifier and Type Method Description static CompactionApiJsonLd. compact(Document document, Document context)CompactsDocumentdocument using the context.static CompactionApiJsonLd. compact(Document document, String contextLocation)CompactsDocumentdocument using the context.static CompactionApiJsonLd. compact(Document document, URI contextUri)CompactsDocumentdocument using the context.static CompactionApiJsonLd. compact(String documentLocation, Document context)Compacts the referenced document using the context.static CompactionApiJsonLd. compact(String documentLocation, String contextLocation)Compacts the referenced document using the context.static CompactionApiJsonLd. compact(String documentLocation, URI contextUri)CompactsDocumentdocument using the context.static CompactionApiJsonLd. compact(URI documentUri, Document context)Compacts the referenced document using the context.static CompactionApiJsonLd. compact(URI documentUri, String contextLocation)CompactsDocumentdocument using the context.static CompactionApiJsonLd. compact(URI documentUri, URI contextUri)Compacts the referenced document using the context. -
Uses of CompactionApi in com.apicatalog.jsonld.api
Methods in com.apicatalog.jsonld.api that return CompactionApi Modifier and Type Method Description CompactionApiCompactionApi. base(URI baseUri)CompactionApiCompactionApi. compactArrays()The processor replaces arrays with just one element.CompactionApiCompactionApi. compactArrays(boolean enable)If set totrue, the processor replaces arrays with just one element If set to false, all arrays will remain arrays even if they have just one element.CompactionApiCompactionApi. compactToRelative()IRIs are compacted relative to thebase(URI)or document location.CompactionApiCompactionApi. compactToRelative(boolean enable)Determines if IRIs are compacted relative to thebase(URI)or document location .CompactionApiCompactionApi. loader(DocumentLoader loader)CompactionApiCompactionApi. mode(JsonLdVersion processingMode)CompactionApiCompactionApi. options(JsonLdOptions options)CompactionApiCompactionApi. ordered(boolean enable)CompactionApiCompactionApi. rdfStar()Experimental: Enables JSON-LD-STAR extension.
-