|
|||||||||
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.Comment
public class Comment
This class represents a comment that is a part of an article. A comment must have an ontology element as owner.
Constructor Summary | |
---|---|
protected |
Comment(java.lang.String text)
Creates a new comment. |
Method Summary | |
---|---|
java.lang.String |
getText()
Returns the (language-independent) text of this comment. |
java.lang.String |
getText(java.lang.String language)
Returns the text of this statement in the given language. |
java.lang.String |
serialize()
Returns a serialization of the statement. |
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 |
Constructor Detail |
---|
protected Comment(java.lang.String text)
text
- The comment text.Method Detail |
---|
public java.lang.String getText(java.lang.String language)
Statement
language
- The language.
public java.lang.String getText()
public java.lang.String serialize()
Statement
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |