public class Context
extends java.util.LinkedHashMap<java.lang.String,java.lang.Object>
| Constructor and Description |
|---|
Context(java.util.Map<java.lang.String,java.lang.Object> map) |
Context(java.util.Map<java.lang.String,java.lang.Object> map,
JsonLdOptions opts) |
Context(java.lang.Object context,
JsonLdOptions opts) |
| Modifier and Type | Method and Description |
|---|---|
Context |
clone() |
Context |
parse(java.lang.Object localContext) |
Context |
parse(java.lang.Object localContext,
java.util.List<java.lang.String> remoteContexts)
Context Processing Algorithm
|
clear, containsValue, entrySet, forEach, get, getOrDefault, keySet, removeEldestEntry, replaceAll, valuescompute, computeIfAbsent, computeIfPresent, containsKey, isEmpty, merge, put, putAll, putIfAbsent, remove, remove, replace, replace, sizepublic Context(java.util.Map<java.lang.String,java.lang.Object> map,
JsonLdOptions opts)
public Context(java.util.Map<java.lang.String,java.lang.Object> map)
public Context(java.lang.Object context,
JsonLdOptions opts)
public Context parse(java.lang.Object localContext, java.util.List<java.lang.String> remoteContexts) throws JsonLdError
http://json-ld.org/spec/latest/json-ld-api/#context-processing-algorithms
localContext - The Local Context object.remoteContexts - The list of Strings denoting the remote Context URLs.JsonLdError - If there is an error parsing the contexts.public Context parse(java.lang.Object localContext) throws JsonLdError
JsonLdErrorpublic Context clone()
clone in class java.util.HashMap<java.lang.String,java.lang.Object>