public class TermResolutionEngineImpl extends Object implements TermResolutionEngine
TermResolutionEngine
Modifier and Type | Class and Description |
---|---|
protected static class |
TermResolutionEngineImpl.TermResolverKey |
Constructor and Description |
---|
TermResolutionEngineImpl() |
Modifier and Type | Method and Description |
---|---|
void |
addTermResolver(TermResolver<?> termResolver)
Adds a
TermResolver to the TermResolutionEngine . |
void |
addTermValue(Term term,
Object value)
Adds a fact value to the
TermResolutionEngine 's internal state |
protected List<TermResolutionEngineImpl.TermResolverKey> |
buildTermResolutionPlan(String termName) |
<T> T |
resolveTerm(Term term)
Resolves a given term into a fact
|
public TermResolutionEngineImpl()
public void addTermValue(Term term, Object value)
TermResolutionEngine
TermResolutionEngine
's internal stateaddTermValue
in interface TermResolutionEngine
term
- the named Termvalue
- the fact valuepublic void addTermResolver(TermResolver<?> termResolver)
TermResolutionEngine
TermResolver
to the TermResolutionEngine
. Once added, it may
be used (unsurprisingly) by the engine to resolve Term
s.addTermResolver
in interface TermResolutionEngine
termResolver
- the TermResolver
to add.public <T> T resolveTerm(Term term) throws TermResolutionException
TermResolutionEngine
resolveTerm
in interface TermResolutionEngine
term
- the Term
to resolveTerm
TermResolutionException
protected List<TermResolutionEngineImpl.TermResolverKey> buildTermResolutionPlan(String termName)
termName
- TermResolutionEngineImpl.TermResolverKey
>Copyright © 2005–2016 The Kuali Foundation. All rights reserved.