|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.atlassian.confluence.search.SearchResultRenderContext
public class SearchResultRenderContext
Render context for search results. The class provides an easy way to add additional information that the renderes can make use of.
Constructor Summary | |
---|---|
SearchResultRenderContext()
Default constructor. |
|
SearchResultRenderContext(java.lang.String queryString,
java.lang.String showExcerpts)
Constructor that sets both the queryString and showExcepts properties. |
Method Summary | |
---|---|
java.lang.String |
getQueryString()
Return the query string if set, otherwise returns empty string. |
java.lang.String |
getShowExcerpts()
Return the showExceprts if set otherwise return empty string. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SearchResultRenderContext(java.lang.String queryString, java.lang.String showExcerpts)
queryString
- the query string used when the search was performed.showExcerpts
- indicates if excerpts should be shown. This is largely
a legacy thing.public SearchResultRenderContext()
Method Detail |
---|
public java.lang.String getQueryString()
public java.lang.String getShowExcerpts()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |