|
|||||||||
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 ch.uzh.ifi.attempto.acewiki.core.AbstractSentence
public abstract class AbstractSentence
This class is a partial implementation of a sentence.
Constructor Summary | |
---|---|
AbstractSentence()
|
Method Summary | |
---|---|
java.lang.String |
getText(java.lang.String language)
Returns the text of this statement in the given language. |
protected abstract TextContainer |
getTextContainer(java.lang.String language)
Returns a text container with the text of this sentence in the given language. |
boolean |
isImmutable()
Returns whether the sentence can be changed or is immutable. |
boolean |
isIntegrated()
Returns true if the sentence is integrated into the ontology. |
void |
setIntegrated(boolean integrated)
Informs the sentence object whether it is integrated into the ontology or not. |
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.Sentence |
---|
contains, getDetails, getTextElements, isReasonable, update |
Methods inherited from interface ch.uzh.ifi.attempto.acewiki.core.Statement |
---|
getArticle, getOntology, init, serialize |
Constructor Detail |
---|
public AbstractSentence()
Method Detail |
---|
public boolean isIntegrated()
Sentence
isIntegrated
in interface Sentence
public void setIntegrated(boolean integrated)
Sentence
setIntegrated
in interface Sentence
integrated
- true if the sentence is integrated into the ontology.public boolean isImmutable()
Sentence
isImmutable
in interface Sentence
protected abstract TextContainer getTextContainer(java.lang.String language)
language
- The language.
public java.lang.String getText(java.lang.String language)
Statement
getText
in interface Statement
language
- The language.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |