public class ODataContextEngine extends Object implements ContextEngine
| Constructor and Description |
|---|
ODataContextEngine() |
| Modifier and Type | Method and Description |
|---|---|
Object |
evaluateExpression(String expression,
ContextPropertyType type)
Evaluate passed expression for the specified type using evidence.
|
ContextVocabulary |
getVocabulary()
Get the vocabulary being used by the engine.
|
ContextMap<? extends Aspect> |
resolve(Evidence evidence)
Resolves a context map based on the provided evidence.
|
public ContextMap<? extends Aspect> resolve(Evidence evidence) throws ResolverException
ContextEngineresolve in interface ContextEngineevidence - the provided evidenceResolverExceptionpublic ContextVocabulary getVocabulary()
ContextEnginegetVocabulary in interface ContextEnginepublic Object evaluateExpression(String expression, ContextPropertyType type)
ContextEngineevaluateExpression in interface ContextEngineexpression - Expression to be evaluated.type - Context property type.Copyright © {inceptionYear}–2017 SDL Group