|
Open SiteSearch 4.1.1 Final |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--ORG.oclc.gadgets.SearchResultsDbList
The SearchResultsDbList class is a gadget that creates the HTML string for the display of topics and individual database results from a search. It uses the parameters contained in a RequestManager object and the parameters for the gadget read from the configuration files to build the appropriate output. If an error occurs, an empty string("") is returned.
The parameters to the gadget are:
labelFont - the HTML font to use for display of the header that
precedes the database names.
dbnameFont - the HTML font to use for display of the database
names.
UserStateObject
,
RequestManager
,
DataPairs
,
StyleTable
,
TopicEntry
,
Topics
,
ZDb
,
ZUserData
,
DbResults
,
FormatBerUtil
Constructor Summary | |
SearchResultsDbList()
Constructs a SearchResultsDbList object. |
Method Summary | |
protected void |
appendErrorInfo(int offset)
Create the results info when there are no postings, for errors, include the diagnostic message. |
protected void |
appendFetchLink(int offset)
Create a Fetch link for the database to get to the results records. |
String |
buildit(RequestManager rMngr,
String name)
Generates a String containing the HTML for the Topic & Database names with associated postings from a search request using the parameters contained in the RequestManager object and the name of the gadget. |
Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
Constructor Detail |
public SearchResultsDbList()
Method Detail |
public String buildit(RequestManager rMngr, String name)
rMngr
- object containing input parameters for the request.name
- the name of the gadget - the section name in the configuration
file defining the particular gadget.protected void appendFetchLink(int offset)
offset
- the offset into the search results table.protected void appendErrorInfo(int offset)
offset
- the offset into the searchResults array.
|
Open SiteSearch 4.1.1 Final |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |