Open SiteSearch 4.1.1
Final

ORG.oclc.gadgets
Class IllForm

java.lang.Object
  |
  +--ORG.oclc.gadgets.FormatRecords
        |
        +--ORG.oclc.gadgets.IllForm

public class IllForm
extends FormatRecords

The IllForm class is a gadget that creates the bibliographic data and hidden inputs for the ILL request screen. 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:
fmt - the name of the formatting type in the database to use such as 'isoill'. This is specified in the [Formats] section of the database configuration file.
wrapperData - the html/text wrapper data for the formatted bibliographic data to display on the screen.

The bibliographic data formatting is performed by the parent class FormatRecords.

See Also:
UserStateObject, WebZFormatter, FormatRecords

Fields inherited from class ORG.oclc.gadgets.FormatRecords
dataWrappers, dbname, displayGadget, errormsg, fmtName, gadgetInfo, initted, numHoldings, recno, recordData, recordformat, resultset, returnedRecs, searchKeyFmt, user, zDb, zUserData
 
Constructor Summary
IllForm()
          Constructs a IllForm object.
 
Method Summary
 String buildit(RequestManager rMngr, String name)
          Generates a String containing the HTML for the isoill request form using the parameters containined in the RequestManager object and the name of the gadget.
protected  String hiddenInput()
           
 String toString()
          Generates a String representation of the object.
 
Methods inherited from class ORG.oclc.gadgets.FormatRecords
formatPresentData, getDataWrappers, init, runFormat, runFormat
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

IllForm

public IllForm()
Constructs a IllForm object.
Method Detail

buildit

public String buildit(RequestManager rMngr,
                      String name)
Generates a String containing the HTML for the isoill request form using the parameters containined in the RequestManager object and the name of the gadget.
Parameters:
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.
Returns:
String
Overrides:
buildit in class FormatRecords

hiddenInput

protected final String hiddenInput()

toString

public String toString()
Generates a String representation of the object.
Returns:
String
Overrides:
toString in class FormatRecords

Open SiteSearch 4.1.1
Final