public class FirstEntryCache extends Object implements LookupResultHandler
Constructor and Description |
---|
FirstEntryCache() |
Modifier and Type | Method and Description |
---|---|
void |
dictionary(Dictionary d) |
void |
dictionaryEntry(DictionaryEntry de) |
void |
endLookup() |
void |
exception(SearchException ex) |
DictionaryEntry |
getEntry()
Return the first dictionary entry found in the previous search.
|
void |
note(String note) |
void |
startLookup(LookupModel model) |
void |
startLookup(String description) |
public DictionaryEntry getEntry()
null
is returned.public void startLookup(String description)
startLookup
in interface LookupResultHandler
public void startLookup(LookupModel model)
startLookup
in interface LookupResultHandler
public void dictionary(Dictionary d)
dictionary
in interface LookupResultHandler
public void dictionaryEntry(DictionaryEntry de)
dictionaryEntry
in interface LookupResultHandler
public void exception(SearchException ex)
exception
in interface LookupResultHandler
public void note(String note)
note
in interface LookupResultHandler
public void endLookup()
endLookup
in interface LookupResultHandler
Copyright © 2001-2013 the JGloss developers. All Rights Reserved.