ORG.oclc.fmts.obi
Class DRAISOILLFmt
java.lang.Object
|
+--ORG.oclc.fmts.WebZFormatter
|
+--ORG.oclc.fmts.obi.MarcISOILLFmt
|
+--ORG.oclc.fmts.obi.DRAISOILLFmt
- public class DRAISOILLFmt
- extends MarcISOILLFmt
The DRAISOILLFmt class creates a ISOILL request
for display in the
WebZ interface.
DRAISOILLFmt extends MarcISOILLFmt by providing methods to get the
OCLC number, the call number, and possible lender symbols.
HOWEVER, Call numbers and lender symbols will always be blank,
because a DRA system does not return an OPAC record which might
contain these items.
Through inheritance
it 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. This class will use its
super class doFormat.
Successful execution of DRAISOILLFmt 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 |
Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
DRAISOILLFmt
public DRAISOILLFmt()
getCallNo
protected String getCallNo(DataDir dir)
- Returns a null because DRA does not provide this information
- Parameters:
dir
- the top directory of the record- Returns:
- null
- Overrides:
- getCallNo in class MarcISOILLFmt
findOclcNo
protected String findOclcNo(DataDir dir)
- Returns a String with an OCLC number from the 035 (if found)
- Parameters:
dir
- the DataDir with the BER record- Returns:
- oclcNo or null
- Overrides:
- findOclcNo in class MarcISOILLFmt
getSendToList
protected String getSendToList(DataDir dir)
- Returns null (DRA does not send locations)
- Parameters:
dir
- the top directory of the record- Returns:
- null
- Overrides:
- getSendToList in class MarcISOILLFmt