Open SiteSearch 4.1.1
Final

ORG.oclc.fmts.obi
Class MarcISOILLFmt

java.lang.Object
  |
  +--ORG.oclc.fmts.WebZFormatter
        |
        +--ORG.oclc.fmts.obi.MarcISOILLFmt
Direct Known Subclasses:
DRAISOILLFmt, IIIISOILLFmt, LIASISOILLFmt, NotisISOILLFmt, OpacISOILLFmt

public class MarcISOILLFmt
extends WebZFormatter

The MarcISOILLFmt class formats records as an ISOILL requests for display in the WebZ interface.

MarcISOILLFmt 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 MarcISOILLFmt 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
 
Constructor Summary
MarcISOILLFmt()
          Constructs a MarcISOILLFmt object.
 
Method Summary
 String doFormat(Object userObject, Vector records)
          Formats the records for display in the WebZ interface as ISOILL requests.
protected  String findOclcNo(DataDir dir)
          Returns a String containing the OCLC number in the 001 field
protected  String getCallNo(DataDir dir)
          Returns a String containing the call number
protected  String getSendToList(DataDir dir)
          Returns a String containing a sendToList of null
 
Methods inherited from class ORG.oclc.fmts.WebZFormatter
addBookMark, addBookMark, addBookMark, init
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MarcISOILLFmt

public MarcISOILLFmt()

Constructs a MarcISOILLFmt object.

Method Detail

doFormat

public String doFormat(Object userObject,
                       Vector records)

Formats the records for display in the WebZ interface as ISOILL requests.

Parameters:
userObject - the UserStateObject object for the current user.
records - a vector of bookmark records to be formatted
Returns:
String contains the HTML representation of the records
Overrides:
doFormat in class WebZFormatter

getCallNo

protected String getCallNo(DataDir dir)
Returns a String containing the call number
Parameters:
dir - the top directory of the record
Returns:
callNo or null

findOclcNo

protected String findOclcNo(DataDir dir)
Returns a String containing the OCLC number in the 001 field
Parameters:
dir - the top directory of the record
Returns:
oclcNo or null

getSendToList

protected String getSendToList(DataDir dir)
Returns a String containing a sendToList of null
Parameters:
dir - the top directory of the record
Returns:
null

Open SiteSearch 4.1.1
Final