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