org.crosswire.jsword.book.search.lucene
Class RangeQuery

java.lang.Object
  extended by org.crosswire.jsword.book.search.lucene.RangeQuery
All Implemented Interfaces:
Query

public class RangeQuery
extends Object
implements Query

A range token specifies how a range should be included in the search. It provides a range, a modifier (AND [+] or AND NOT [-]).

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

Field Summary
private  String range
           
 
Constructor Summary
RangeQuery(String theRange)
           
 
Method Summary
 Key find(Index index)
           
 String getRange()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

range

private String range
Constructor Detail

RangeQuery

public RangeQuery(String theRange)
Method Detail

find

public Key find(Index index)
         throws BookException
Specified by:
find in interface Query
Throws:
BookException

getRange

public String getRange()
Returns:
the range

Copyright ยจ 2003-2005