org.crosswire.jsword.book.search.basic
Class DefaultSearchModifier

java.lang.Object
  extended by org.crosswire.jsword.book.search.basic.DefaultSearchModifier
All Implemented Interfaces:
SearchModifier

public class DefaultSearchModifier
extends Object
implements SearchModifier

The DefaultSearchModifier provides a simple implementation of a SearchModifier.

Author:
DM Smith [dmsmith555 at gmail dot com]
See Also:
for license details. The copyright to this program is held by it's authors.

Field Summary
private  boolean ranked
          The indicator of whether the request should be ranked.
 
Constructor Summary
DefaultSearchModifier()
           
 
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
 

Field Detail

ranked

private boolean ranked
The indicator of whether the request should be ranked.

Constructor Detail

DefaultSearchModifier

public DefaultSearchModifier()
Method Detail

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

Copyright ยจ 2003-2005