|
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.fmts.WebZFormatter | +--ORG.oclc.fmts.obi.MarcCatalogFmt | +--ORG.oclc.fmts.obi.MarcCatalogMultiFullFmt
The MarcCatalogMultiFullFmt class formats a set of records in full format for display in the WebZ interface.
MarcCatalogMultiFullFmt uses the userObject and a Vector of records to return a formatted String that contains the HTML to display. This class is an extension (through MarcCatalogFmt) 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 records.
Successful execution of MarcCatalogMultiFullFmt results in HTML that can be displayed in the WebZ interface. Unsuccessful execution will result in a null String being returned.
Within doFormat, for each DataDir in the Vector, formatRecord is called to format the contained fields. Most of the formating is defined in the MarcCatalogFmt class. Since there are multiple records within the HTML, the title processing is different and defined in this class.
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 | |
MarcCatalogMultiFullFmt()
Constructs a MarcCatalogMultiFullFmt object. |
Method Summary | |
protected void |
addMultiTitleBookMark(DataDir dir,
int recno,
String fields,
String fields2,
String label)
Adds a title with bookmark widgit that includes a record number (left aligned) |
String |
doFormat(Object userObject,
Vector records)
Formats the records for display in the WebZ interface. |
Methods inherited from class ORG.oclc.fmts.obi.MarcCatalogFmt |
addAbstract,
addAlternateTitle,
addAuthor,
addBriefHoldings,
addConference,
addContents,
addDescriptors,
addEdition,
addFrequency,
addHoldings,
addHoldings,
addHoldings,
addISBN,
addISSN,
addLibraries,
addOrganizationsAsSubjects,
addOtherNotes,
addPerformers,
addPersonsAsSubjects,
addPhysDesc,
addPublication,
addPublicationDates,
addSeries,
addSubjectHeadings,
addTitle,
addUniformTitle,
addUniformTitleAsSubject,
createHoldings,
labelMaker |
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 |
public MarcCatalogMultiFullFmt()
Constructs a MarcCatalogMultiFullFmt object.
Method Detail |
public String doFormat(Object userObject, Vector records)
Formats the records for display in the WebZ interface.
userObject
- the UserStateObject object for the current user.records
- a vector of bookmark records to be formattedprotected final void addMultiTitleBookMark(DataDir dir, int recno, String fields, String fields2, String label)
Adds a title with bookmark widgit that includes a record number (left aligned)
dir
- a DataDir that contains the bookmark record to be formattedrecno
- an integer that contains the current record number for display of the
the title.fields
- the primary set of BER tags to use as the titlefields2
- the secondary set of BER tags to use as the title
|
Open SiteSearch 4.1.1 Final |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |