|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object ch.uzh.ifi.attempto.acewiki.aceowl.ProperNameChanger
public class ProperNameChanger
This class is used to modify or create proper names.
Constructor Summary | |
---|---|
ProperNameChanger()
|
Method Summary | |
---|---|
java.lang.String |
getDescription()
Returns the description of the given word type to be shown to the user. |
java.util.List<LexiconDetail> |
getDetails(OntologyElement el)
Returns a list of lexical details for the given ontology element. |
void |
save(OntologyElement el,
int wordNumber,
java.util.List<java.lang.Object> newValues,
Ontology ontology)
Tries to save a modification on an ontology element. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ProperNameChanger()
Method Detail |
---|
public java.lang.String getDescription()
LexiconChanger
getDescription
in interface LexiconChanger
public java.util.List<LexiconDetail> getDetails(OntologyElement el)
LexiconChanger
getDetails
in interface LexiconChanger
el
- The ontology element.
public void save(OntologyElement el, int wordNumber, java.util.List<java.lang.Object> newValues, Ontology ontology) throws InvalidWordException
LexiconChanger
save
in interface LexiconChanger
el
- The ontology element to be modified.wordNumber
- The word number to be used right after a successful modification.newValues
- The new values corresponding to the list of lexical details.ontology
- The ontology.
InvalidWordException
- If the modification is not possible.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |