|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Statement
This interface represents a statement of a wiki article. This can be sentences in the controlled natural language or informal comments.
Method Summary | |
---|---|
Article |
getArticle()
Returns the owner ontology element of this statement. |
Ontology |
getOntology()
Returns the ontology this statement belongs to. |
java.lang.String |
getText(java.lang.String language)
Returns the text of this statement in the given language. |
void |
init(Ontology ontology,
Article article)
This method is the first one to be called. |
java.lang.String |
serialize()
Returns a serialization of the statement. |
Method Detail |
---|
void init(Ontology ontology, Article article)
ontology
- The ontology.article
- The article.Ontology getOntology()
Article getArticle()
java.lang.String getText(java.lang.String language)
language
- The language.
java.lang.String serialize()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |