|
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.ReservefullFmt
The ReservebookMarkFmt class formats records from the ISP databases following the RESERVE database schema for display in the WebZ interface. The record will be displayed in a full format.
ReservebookMarkFmt 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 ReservebookMarkFmt results in HTML that can be displayed in the WebZ interface. Unsuccessful execution will result in a null String being returned.
Field Summary | |
protected String |
begLabel
String containing the characters to be used before the label text - usually HTML |
protected String |
endLabel
String containing the characters to be used after the label text - usually HTML |
protected String |
font
String containing the information for specifying a font in HTML |
protected String |
linkData
String containing information for a hotlink |
protected String |
pathToImages
String containing the tag for access the TIFF image within the BER record. |
protected String |
termData
String containing the information for terminating a HTML string |
protected String |
trailer
String containing the label to be used at the end of a field |
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 | |
ReservefullFmt()
Create a ReservefullFmt object |
Method Summary | |
String |
doFormat(Object userObject,
Vector records)
Format multiple records passed in an input Vector |
protected void |
formatTags(DataDir dir,
boolean doHotLinks,
boolean doBookMarkLink,
boolean doImageLink)
Formats the data from specific tags and adds it to the HTML |
protected String |
label(String text)
Creates a label from some text |
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 |
Field Detail |
protected String pathToImages
String containing the tag for access the TIFF image within the BER record.
protected String begLabel
String containing the characters to be used before the label text - usually HTML
protected String endLabel
String containing the characters to be used after the label text - usually HTML
protected String trailer
String containing the label to be used at the end of a field
protected String linkData
String containing information for a hotlink
protected String font
String containing the information for specifying a font in HTML
protected String termData
String containing the information for terminating a HTML string
Constructor Detail |
public ReservefullFmt()
Method Detail |
public String doFormat(Object userObject, Vector records)
userObject
- a user Object. This is userStateObject(WebZ)records
- a vector of record Objects. For use in WebZ, this is a
vector of DataDir objectsprotected String label(String text)
Creates a label from some text
text
- a String that contains the text to be made into a labelprotected void formatTags(DataDir dir, boolean doHotLinks, boolean doBookMarkLink, boolean doImageLink)
Formats the data from specific tags and adds it to the HTML
dir
- a DataDir that contains the record to be formatteddoHotLinks
- a boolean that specifies whether or not to generate a hotlinkdoBookMarkLink
- a boolean that specifies whether or not to generate a link
to a bookmarkdoImageLink
- a boolean that specifies whether or not to generate a link to an
image
|
Open SiteSearch 4.1.1 Final |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |