ORG.oclc.fmts.obi
Class DRAHoldingsSearchKey
java.lang.Object
|
+--ORG.oclc.fmts.WebZFormatter
|
+--ORG.oclc.fmts.obi.DRAHoldingsSearchKey
- public class DRAHoldingsSearchKey
- extends WebZFormatter
The DRAHoldingsSearchKey class formats records from the Union Lists (a FirstSearch database)
for display in the
WebZ interface. The displayed record will contain location holdings information.
DRAHoldingsSearchKey uses the userObject and a Vector of records to return a
formatted String that contains the HTML to display. This class
is an extension of WebZFormatter which implements the
RecordFormatter interface. That interface requires a doFormat method to do the
work on the input userObject and a Vector of DataDirs.
Successful execution of DRAHoldingsSearchKey results in HTML that can be displayed
in the WebZ interface. Unsuccessful execution will result in a null String being
returned.
Fields inherited from class ORG.oclc.fmts.WebZFormatter |
bookMarkFont,
context,
currecno,
defaultTextFont,
fmtUtil,
fullrecno,
j,
otherWidgets,
queryBad,
queryNext,
queryTarget,
resultset,
smallTextFont,
styles,
tempRecords,
toprecno,
user |
Method Summary |
String |
doFormat(Object userObject,
Vector records)
Formats a String to be used to search a DRA Holdings database from the input
citation record. |
Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
DRAHoldingsSearchKey
public DRAHoldingsSearchKey()
- Constructs a DRAHoldingsSearchKey object.
doFormat
public String doFormat(Object userObject,
Vector records)
Formats a String to be used to search a DRA Holdings database from the input
citation record.
- Parameters:
userObject
- the UserStateObject object for the current user.records
- a vector of bookmark records to be formatted- Returns:
- String contains the Holdings link search Key or null if the holdings
is already present in the citation.
- Overrides:
- doFormat in class WebZFormatter