public class CompositeContext extends Object implements Context
| Constructor and Description |
|---|
CompositeContext() |
| Modifier and Type | Method and Description |
|---|---|
void |
add(Term term) |
Term |
addTerm(String key,
String id) |
String |
alias(String keyword) |
void |
append(Context context) |
List<Term> |
asList() |
void |
compile() |
String |
expandIRI(String value) |
String |
getContextIRI() |
String |
getLanguage() |
ChainedContext |
getLast() |
Term |
getTerm(String key) |
String |
getVendorType()
Returns a vendor specific media type associated with this JSON-LD context, or null
if no such media type is known.
|
long |
getVersionNumber()
Get the version number for this context.
|
Context |
inverse() |
void |
setContextIRI(String iri) |
void |
setVendorType(String mediaType) |
void |
setVersionNumber(long versionNumber) |
void |
sort() |
void |
toJson(com.fasterxml.jackson.core.JsonGenerator json) |
String |
toString() |
public void append(Context context)
public ChainedContext getLast()
public String getLanguage()
getLanguage in interface Contextpublic String getContextIRI()
getContextIRI in interface Contextpublic void setContextIRI(String iri)
setContextIRI in interface Contextpublic void toJson(com.fasterxml.jackson.core.JsonGenerator json)
throws IOException
toJson in interface ContextIOExceptionpublic String getVendorType()
ContextgetVendorType in interface Contextpublic void setVendorType(String mediaType)
setVendorType in interface Contextpublic long getVersionNumber()
ContextgetVersionNumber in interface Contextpublic void setVersionNumber(long versionNumber)
setVersionNumber in interface ContextCopyright © 2019. All rights reserved.