Package com.apicatalog.jsonld.api
Interface ContextApi<R>
-
- All Known Implementing Classes:
ExpansionApi,FlatteningApi,FramingApi,ToRdfApi
public interface ContextApi<R>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Rcontext(Document context)A context that is used to initialize the active context.Rcontext(jakarta.json.JsonStructure context)A context that is used to initialize the active context.Rcontext(String contextLocation)A context that is used to initialize the active context.Rcontext(URI contextUri)A context that is used to initialize the active context.
-
-
-
Method Detail
-
context
R context(URI contextUri)
A context that is used to initialize the active context.- Parameters:
contextUri-URIreferring to a context- Returns:
- builder instance
-
context
R context(String contextLocation)
A context that is used to initialize the active context.- Parameters:
contextLocation-IRIreferring to a context- Returns:
- builder instance
-
context
R context(jakarta.json.JsonStructure context)
A context that is used to initialize the active context.- Parameters:
context-JsonObject, a sequence ofJsonObject, or aJsonStringrepresenting anIRI- Returns:
- builder instance
-
-