|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface WordIndex
This interface represents an index for the word forms of ontology elements.
Method Summary | |
---|---|
void |
elementAdded(OntologyElement element)
This method is called by the ontology object when a new ontology element is added. |
void |
elementAfterChange(OntologyElement element)
This method is called just after the word forms of an ontology element have been changed. |
void |
elementBeforeChange(OntologyElement element)
This method is called just before the word forms of an ontology element are changed. |
void |
elementRemoved(OntologyElement element)
This method is called by the ontology object when an ontology element is removed. |
OntologyElement |
getElement(java.lang.String word)
This method should return the ontology element with the given word form, or null if there is no such element. |
java.util.List<OntologyElement> |
searchForElements(java.lang.String searchText)
This method should return a list of ontology elements that match the given search text. |
Method Detail |
---|
void elementAdded(OntologyElement element)
element
- A new ontology element.void elementRemoved(OntologyElement element)
element
- The ontology element to be removed.void elementBeforeChange(OntologyElement element)
element
- The ontology element to be changed.void elementAfterChange(OntologyElement element)
element
- The changed ontology element.OntologyElement getElement(java.lang.String word)
word
- The word form.
java.util.List<OntologyElement> searchForElements(java.lang.String searchText)
searchText
- The text to search for.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |