com.levigo.jadice.search
Interface Result
- All Superinterfaces:
- Selection
public interface Result
- extends Selection
A Result is created by the SearchEngine, if it has found something. It contains the searchString,
the text before and after the searchString, the page number, references to the Page and the
Document in which the Result was found, and a path indicating the outline of the Result.
getHandback
Object getHandback()
- Returns the handback object associated with this
Result
object. The handback object is
any kind of object which has been passed to the MatchConsumer.match(int, int, Object)
method for later use. The value is completely unprocessed. The PatternSearchRequest
for
example will provide the matching pattern as the handback object. See
PatternSearchRequest
for details.
- Returns:
- the handback object