|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface TermResolutionEngine
Interface for the engine that is used to resolve Term
s.
Method Summary | ||
---|---|---|
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 |
|
|
resolveTerm(Term term)
Resolves a given term into a fact |
Method Detail |
---|
<T> T resolveTerm(Term term) throws TermResolutionException
term
- the Term
to resolve
Term
{@link
- TermResolutionException} if the given Term
can't be resolved
TermResolutionException
void addTermValue(Term term, Object value)
TermResolutionEngine
's internal state
term
- the named Termvalue
- the fact valuevoid addTermResolver(TermResolver<?> termResolver)
TermResolver
to the TermResolutionEngine
. Once added, it may
be used (unsurprisingly) by the engine to resolve Term
s.
termResolver
- the TermResolver
to add.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |