|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object ch.uzh.ifi.attempto.acewiki.core.AbstractAceWikiEngine
public abstract class AbstractAceWikiEngine
This is a partial implementation of an AceWiki engine.
Constructor Summary | |
---|---|
AbstractAceWikiEngine()
|
Method Summary | |
---|---|
void |
addExporter(OntologyExporter exporter)
Adds an exporter to export the wiki content in a certain format. |
java.util.List<OntologyExporter> |
getExporters()
Returns a list of exporters to export the wiki content in different formats. |
java.lang.String[] |
getLexicalTypes()
Returns the lexical types, as defined by the respective ontology element types. |
WordIndex |
getWordIndex()
Returns the word index. |
void |
init(Ontology ontology)
This is the first method to be called and provides the ontology object. |
void |
setLexicalTypes(java.lang.String... lexicalTypes)
Sets the lexical types, as defined by the respective ontology element types. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface ch.uzh.ifi.attempto.acewiki.core.AceWikiEngine |
---|
createAssignmentSentence, createHierarchySentence, createOntologyElement, createSentence, getLanguageHandler, getLanguages, getReasoner |
Constructor Detail |
---|
public AbstractAceWikiEngine()
Method Detail |
---|
public void init(Ontology ontology)
AceWikiEngine
init
in interface AceWikiEngine
ontology
- The ontology object.public void setLexicalTypes(java.lang.String... lexicalTypes)
lexicalTypes
- The lexical types.public void addExporter(OntologyExporter exporter)
exporter
- An ontology exporter.public java.util.List<OntologyExporter> getExporters()
AceWikiEngine
getExporters
in interface AceWikiEngine
public java.lang.String[] getLexicalTypes()
AceWikiEngine
getLexicalTypes
in interface AceWikiEngine
public WordIndex getWordIndex()
AceWikiEngine
getWordIndex
in interface AceWikiEngine
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |