public class ChainedContext extends Object implements Context
| Constructor and Description |
|---|
ChainedContext(Context parent,
Context self) |
| Modifier and Type | Method and Description |
|---|---|
void |
add(Term term) |
Term |
addTerm(String key,
String id) |
String |
alias(String keyword) |
List<Term> |
asList() |
void |
compile() |
String |
expandIRI(String value) |
String |
getContextIRI() |
Context |
getDefaultContext() |
String |
getLanguage() |
Context |
getParent() |
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 |
print(PrettyPrintWriter out) |
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 Context getParent()
public Context getDefaultContext()
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 Contextpublic void print(PrettyPrintWriter out)
Copyright © 2019. All rights reserved.