ch.uzh.ifi.attempto.acewiki.core
Class AbstractAceWikiEngine

java.lang.Object
  extended by ch.uzh.ifi.attempto.acewiki.core.AbstractAceWikiEngine
All Implemented Interfaces:
AceWikiEngine
Direct Known Subclasses:
GFEngine, MonolingualEngine

public abstract class AbstractAceWikiEngine
extends java.lang.Object
implements AceWikiEngine

This is a partial implementation of an AceWiki engine.

Author:
Tobias Kuhn

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

AbstractAceWikiEngine

public AbstractAceWikiEngine()
Method Detail

init

public void init(Ontology ontology)
Description copied from interface: AceWikiEngine
This is the first method to be called and provides the ontology object.

Specified by:
init in interface AceWikiEngine
Parameters:
ontology - The ontology object.

setLexicalTypes

public void setLexicalTypes(java.lang.String... lexicalTypes)
Sets the lexical types, as defined by the respective ontology element types.

Parameters:
lexicalTypes - The lexical types.

addExporter

public void addExporter(OntologyExporter exporter)
Adds an exporter to export the wiki content in a certain format.

Parameters:
exporter - An ontology exporter.

getExporters

public java.util.List<OntologyExporter> getExporters()
Description copied from interface: AceWikiEngine
Returns a list of exporters to export the wiki content in different formats.

Specified by:
getExporters in interface AceWikiEngine
Returns:
A list of ontology exporters.

getLexicalTypes

public java.lang.String[] getLexicalTypes()
Description copied from interface: AceWikiEngine
Returns the lexical types, as defined by the respective ontology element types.

Specified by:
getLexicalTypes in interface AceWikiEngine
Returns:
The lexical types.

getWordIndex

public WordIndex getWordIndex()
Description copied from interface: AceWikiEngine
Returns the word index.

Specified by:
getWordIndex in interface AceWikiEngine
Returns:
The word index.


Copyright 2008-2012, AceWiki developers