Package no.hasmac.jsonld.api
Interface CommonApi<R>
- All Known Implementing Classes:
CompactionApi
,ExpansionApi
,FlatteningApi
,FramingApi
,FromRdfApi
,ToRdfApi
public interface CommonApi<R>
-
Method Summary
Modifier and TypeMethodDescriptiondefault R
Set the baseURI
.Set the baseIRI
.mode
(JsonLdVersion processingMode) SetJSON-LD
processing mode.options
(JsonLdOptions options) Override an existing settings withJsonLdOptions
.default R
ordered()
Certain algorithm processing steps are ordered lexicographically.ordered
(boolean enable) If set totrue
, certain algorithm processing steps are ordered lexicographically.
-
Method Details
-
options
Override an existing settings withJsonLdOptions
.- Parameters:
options
-JsonLdOptions
- Returns:
- builder instance
-
mode
SetJSON-LD
processing mode. JSON-LD 1.1 is set by default.- Parameters:
processingMode
- to set- Returns:
- builder instance
-
base
Set the baseIRI
. If set, this overrides the input document's IRI.- Parameters:
baseUri
-- Returns:
- builder instance
-
base
Set the baseURI
. If set, this overrides the input document's IRI.- Parameters:
baseLocation
-- Returns:
- builder instance
-
ordered
If set totrue
, certain algorithm processing steps are ordered lexicographically. Iffalse
, order is not considered in processing.- Parameters:
enable
-- Returns:
- builder instance
-
ordered
Certain algorithm processing steps are ordered lexicographically.- Returns:
- builder instance
-