public class ContextExtender extends Object
| Constructor and Description |
|---|
ContextExtender() |
| Modifier and Type | Method and Description |
|---|---|
Context |
extend(Context baseline,
Context extraTerms)
Extend a baseline JSON-LD context by adding extra terms contained
in another context.
|
public Context extend(Context baseline, Context extraTerms) throws TermConflictException
baseline - The baseline JSON-LD context that will be preserved.extraTerms - A JSON-LD context that contains new terms, and possibly
duplicates from the baseline.TermConflictExceptionCopyright © 2019. All rights reserved.