|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.drools.smf.SimpleSemanticsRepository
public class SimpleSemanticsRepository
Simple in-memory repository of semantic modules.
Constructor Summary | |
---|---|
SimpleSemanticsRepository()
Construct an empty repository. |
Method Summary | |
---|---|
SemanticModule[] |
getSemanticModules()
Retieve all SemanticModule s. |
SemanticModule |
lookupSemanticModule(String uri)
Lookup a SemanticModule by URI. |
void |
registerSemanticModule(SemanticModule module)
Register a SemanticModule with a URI. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SimpleSemanticsRepository()
Method Detail |
---|
public void registerSemanticModule(SemanticModule module)
SemanticModule
with a URI.
module
- The SemanticModule
.public SemanticModule lookupSemanticModule(String uri) throws NoSuchSemanticModuleException
SemanticsRepository
SemanticModule
by URI.
lookupSemanticModule
in interface SemanticsRepository
uri
- The URI.
SemanticModule
.
NoSuchSemanticModuleException
- If no module is bound to the URI.SemanticsRepository
public SemanticModule[] getSemanticModules()
SemanticsRepository
SemanticModule
s.
getSemanticModules
in interface SemanticsRepository
SemanticsRepository
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |