|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.crosswire.jsword.index.search.DefaultSearchModifier
public class DefaultSearchModifier
The DefaultSearchModifier provides a simple implementation of a SearchModifier.
The GNU Lesser General Public License for details.,
Serialized Form| Field Summary | |
|---|---|
private int |
maxResults
The indicator of whether the request should be ranked. |
private boolean |
ranked
The indicator of whether the request should be ranked. |
private static long |
serialVersionUID
Serialization ID |
| Constructor Summary | |
|---|---|
DefaultSearchModifier()
A default SearchModifier that returns all hits and does not rank the results. |
|
| Method Summary | |
|---|---|
int |
getMaxResults()
|
boolean |
isRanked()
|
void |
setMaxResults(int newMaxResults)
The maximum number of results to provide. |
void |
setRanked(boolean newRanked)
Set whether or not the search should be ranked. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
private boolean ranked
private int maxResults
private static final long serialVersionUID
| Constructor Detail |
|---|
public DefaultSearchModifier()
| Method Detail |
|---|
public boolean isRanked()
isRanked in interface SearchModifierpublic void setRanked(boolean newRanked)
newRanked - true if the search should be rankedpublic int getMaxResults()
getMaxResults in interface SearchModifierpublic void setMaxResults(int newMaxResults)
newMaxResults - the maxResults to set
|
Copyright ยจ 2003-2015 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||