Package ubic.gemma.core.search
Interface OntologyHighlighter
-
- All Superinterfaces:
Highlighter
- All Known Implementing Classes:
DefaultHighlighter
public interface OntologyHighlighter extends Highlighter
Highlighter specialized for ontology terms.- Author:
- poirigui
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Map<String,String>
highlightTerm(String termUri, String termLabel, String field)
Produce a highlight for a given ontology term.-
Methods inherited from interface ubic.gemma.core.search.Highlighter
highlight
-
-
-
-
Method Detail
-
highlightTerm
Map<String,String> highlightTerm(@Nullable String termUri, String termLabel, String field)
Produce a highlight for a given ontology term.- Parameters:
termUri
- a URI for the term or null for a full-text termtermLabel
- a label for the termfield
- an object path through which the term was found- Returns:
- a suitable highlight, or null if none is found
-
-