|
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.MarcArticleFmt | +--ORG.oclc.fmts.obi.MarcPapersFrstBookmarkFullFmt
The MarcPapersFrstBookmarkFullFmt class formats records from the Papers First database for display in the WebZ interface. The record will be displayed as a bookmark in a full format.
MarcPapersFrstFullFmt 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 (through MarcArticleFmt) 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 MarcPapersFrstFullFmt 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 | |
MarcPapersFrstBookmarkFullFmt()
Constructs a MarcPapersFrstFullFmt object. |
Method Summary | |
protected void |
addThisFrom(DataDir dir,
boolean useLabel)
Formats the from fields and adds them to the HTML Specifications for the from fields: 773/20,4,7 |
protected void |
addThisMeeting(DataDir dir,
boolean useLabel)
Formats the meetings and adds them to the HTML Specifications for the meeting fields: 773/19,1 |
String |
doFormat(Object userObject,
Vector records)
Formats the records for display in the WebZ interface from the Papers First database |
Methods inherited from class ORG.oclc.fmts.obi.MarcArticleFmt |
addAbstract,
addAuthor,
addCODEN,
addCountry,
addDatabaseNo,
addDocumentType,
addFrom,
addGovDocNo,
addIncludes,
addISBN,
addISSN,
addLanguage,
addLibraries,
addMeeting,
addNotes,
addOrganization,
addPublisher,
addRecordType,
addSubjects,
addTitleBookMark,
addYear,
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 MarcPapersFrstBookmarkFullFmt()
Constructs a MarcPapersFrstFullFmt object.
Method Detail |
public String doFormat(Object userObject, Vector records)
Formats the records for display in the WebZ interface from the Papers First database
userObject
- the UserStateObject object for the current user.records
- a vector of bookmark records to be formattedprotected final void addThisMeeting(DataDir dir, boolean useLabel)
Formats the meetings and adds them to the HTML
dir
- a DataDir that contains the record to be formatteduseLabel
- a boolean that specifies whether or not a label is neededprotected final void addThisFrom(DataDir dir, boolean useLabel)
Formats the from fields and adds them to the HTML
dir
- a DataDir that contains the record to be formatteduseLabel
- a boolean that specifies whether or not a label is needed
|
Open SiteSearch 4.1.1 Final |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |