|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface SearchResultRenderer
Interface for plugins that will provide a customized rendering of a search result should implement.
| Method Summary | |
|---|---|
boolean |
canRender(SearchResult searchResult)
Indicates if this paricular plugin can (and want) to render the given search result. |
java.lang.String |
render(SearchResult searchResult,
SearchResultRenderContext renderContext)
Render the given search result. |
| Method Detail |
|---|
boolean canRender(SearchResult searchResult)
searchResult - Search result to render.showExcerpts - indicates if the caller requested to have excerpts
shown, a plugin can choose to ignore this request but it is strongly recommended
it is respected.
java.lang.String render(SearchResult searchResult,
SearchResultRenderContext renderContext)
searchResult - Search result to render.renderContext - Render context that contains more information that the renderer may make use of.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||