public class OntAutoLoader extends Object implements ModuleActivator
Constructor and Description |
---|
OntAutoLoader() |
Modifier and Type | Method and Description |
---|---|
protected boolean |
generateOntFiles4ALL()
Write to target/ontologies the serializations (in TTL, and OWL) of all
loaded ontologies for the testcase.
|
protected boolean |
generateOntFiles4Ont(Ontology ont)
Write to target/ontologies the serializations (in TTL, and OWL) of a
given ontology.
|
protected MessageContentSerializer |
getContentserializer()
Recovers the serializer.
|
void |
start(ModuleContext mc)
Attempts to load all ontology modules, if fail it will attempt later,
after, if fortunately, dependant ontologies are loaded.
|
void |
stop(ModuleContext mc) |
public void start(ModuleContext mc)
start
in interface ModuleActivator
public void stop(ModuleContext mc)
stop
in interface ModuleActivator
protected MessageContentSerializer getContentserializer()
protected boolean generateOntFiles4Ont(Ontology ont)
ont
- the ontology to be serialized.protected boolean generateOntFiles4ALL()
Copyright © 2018 universAAL Consortium. All rights reserved.