org.crosswire.jsword.index.search
Class DefaultSearchModifier
java.lang.Object
org.crosswire.jsword.index.search.DefaultSearchModifier
- All Implemented Interfaces:
- Serializable, SearchModifier
public class DefaultSearchModifier
- extends Object
- implements SearchModifier
The DefaultSearchModifier provides a simple implementation
of a SearchModifier.
- Author:
- DM Smith [dmsmith555 at yahoo dot com]
- See Also:
for license details.
The copyright to this program is held by it's authors.
,
Serialized Form
Field Summary |
private boolean |
ranked
The indicator of whether the request should be ranked. |
private static long |
serialVersionUID
Serialization ID |
Method Summary |
boolean |
isRanked()
|
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 |
ranked
private boolean ranked
- The indicator of whether the request should be ranked.
serialVersionUID
private static final long serialVersionUID
- Serialization ID
- See Also:
- Constant Field Values
DefaultSearchModifier
public DefaultSearchModifier()
isRanked
public boolean isRanked()
- Specified by:
isRanked
in interface SearchModifier
- Returns:
- true if the results of the search request should be ranked
setRanked
public void setRanked(boolean newRanked)
- Set whether or not the search should be ranked.
- Parameters:
newRanked
- true if the search should be ranked