|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectit.polito.elite.doseWS.include.Synset
A class for representing synsets associated to ontology concepts
SynsetTest class for a testing class| Constructor Summary | |
Synset(java.lang.String conceptURI,
MWord[] mwords,
java.lang.String language)
Constructor |
|
| Method Summary | |
java.lang.String |
getConcept()
|
java.lang.String |
getLanguage()
|
MWord[] |
getMWords()
|
java.lang.String |
serialize()
Serializes the synset according to a predefined XML format |
void |
setMWords(MWord[] mwords)
sets the mwords for this synset |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public Synset(java.lang.String conceptURI,
MWord[] mwords,
java.lang.String language)
conceptURI - the URI of the concept to which this synset is
associatedmwords - the mwords composing the synset| Method Detail |
public MWord[] getMWords()
public void setMWords(MWord[] mwords)
mwords - the mword objects to be included in this synset (substitute the ones
already stored)public java.lang.String getConcept()
public java.lang.String getLanguage()
public java.lang.String serialize()
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||