|
|||||||||
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.AbstractStatement
public abstract class AbstractStatement
This class represents a statement that can be either an ACE sentence or a comment. A statement can either be part of an article or it can be an independent statement that has no article.
Constructor Summary | |
---|---|
protected |
AbstractStatement()
Initializes a new independent statement. |
Method Summary | |
---|---|
Article |
getArticle()
Returns the owner ontology element of this statement. |
protected java.lang.String |
getDefaultLanguage()
Returns the default language. |
protected AceWikiEngine |
getEngine()
Returns the AceWiki engine. |
protected LanguageHandler |
getLanguageHandler(java.lang.String language)
Returns the language handler for the given language. |
Ontology |
getOntology()
Returns the ontology this statement belongs to. |
protected TextOperator |
getTextOperator(java.lang.String language)
Returns the text operator for the given language. |
void |
init(Ontology ontology,
Article article)
This method is the first one to be called. |
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Methods inherited from interface ch.uzh.ifi.attempto.acewiki.core.Statement |
---|
getText, serialize |
Constructor Detail |
---|
protected AbstractStatement()
Method Detail |
---|
public void init(Ontology ontology, Article article)
Statement
init
in interface Statement
ontology
- The ontology.article
- The article.public Ontology getOntology()
Statement
getOntology
in interface Statement
public Article getArticle()
Statement
getArticle
in interface Statement
public java.lang.String toString()
toString
in class java.lang.Object
protected AceWikiEngine getEngine()
protected java.lang.String getDefaultLanguage()
protected LanguageHandler getLanguageHandler(java.lang.String language)
language
- The language.
protected TextOperator getTextOperator(java.lang.String language)
language
- The language.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |