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

java.lang.Object
  extended by ch.uzh.ifi.attempto.acewiki.core.AbstractStatement
      extended by ch.uzh.ifi.attempto.acewiki.core.MonolingualStatement
All Implemented Interfaces:
Statement

public abstract class MonolingualStatement
extends AbstractStatement

This class represents a statement for a monolingual AceWiki engine.

Author:
Tobias Kuhn

Constructor Summary
protected MonolingualStatement()
          Initializes a new statement.
 
Method Summary
abstract  java.lang.String getText()
          Returns the text of this statement in the only available language.
 java.lang.String getText(java.lang.String language)
          Returns the text of this statement in the given language.
 
Methods inherited from class ch.uzh.ifi.attempto.acewiki.core.AbstractStatement
getArticle, getDefaultLanguage, getEngine, getLanguageHandler, getOntology, getTextOperator, init, 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
serialize
 

Constructor Detail

MonolingualStatement

protected MonolingualStatement()
Initializes a new statement.

Method Detail

getText

public abstract java.lang.String getText()
Returns the text of this statement in the only available language.

Returns:
The statement text.

getText

public final java.lang.String getText(java.lang.String language)
Description copied from interface: Statement
Returns the text of this statement in the given language.

Parameters:
language - The language.
Returns:
The text.


Copyright 2008-2012, AceWiki developers