|
|||||||||
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 ch.uzh.ifi.attempto.acewiki.core.MonolingualSentence
public abstract class MonolingualSentence
This class represents a sentence for a monolingual AceWiki engine.
Constructor Summary | |
---|---|
protected |
MonolingualSentence()
Initializes a new sentence. |
Method Summary | |
---|---|
abstract java.util.List<SentenceDetail> |
getDetails()
Returns a list of sentence details to be shown to the user. |
java.util.List<SentenceDetail> |
getDetails(java.lang.String language)
Returns a list of sentence details in the given language. |
java.lang.String |
getText()
Returns the text of this sentence in the only available language. |
protected abstract TextContainer |
getTextContainer()
Returns a text container with the text of this sentence in the only available language. |
protected TextContainer |
getTextContainer(java.lang.String language)
Returns a text container with the text of this sentence in the given language. |
abstract java.util.List<TextElement> |
getTextElements()
Returns a list of text elements that represent the tokens of this sentence. |
java.util.List<TextElement> |
getTextElements(java.lang.String language)
Returns a list of text elements that represent the tokens of this sentence in the given language. |
protected TextOperator |
getTextOperator()
Returns the text operator for the given language. |
Methods inherited from class ch.uzh.ifi.attempto.acewiki.core.AbstractSentence |
---|
getText, isImmutable, isIntegrated, setIntegrated |
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, isReasonable, update |
Methods inherited from interface ch.uzh.ifi.attempto.acewiki.core.Statement |
---|
getArticle, getOntology, init, serialize |
Constructor Detail |
---|
protected MonolingualSentence()
Method Detail |
---|
public abstract java.util.List<TextElement> getTextElements()
public final java.util.List<TextElement> getTextElements(java.lang.String language)
Sentence
language
- The language.
protected abstract TextContainer getTextContainer()
protected final TextContainer getTextContainer(java.lang.String language)
AbstractSentence
getTextContainer
in class AbstractSentence
language
- The language.
public java.lang.String getText()
public abstract java.util.List<SentenceDetail> getDetails()
public final java.util.List<SentenceDetail> getDetails(java.lang.String language)
Sentence
language
- The language.
protected TextOperator getTextOperator()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |