ORG.oclc.fmts.rules
Class SaveImageInfo
java.lang.Object
|
+--ORG.oclc.fmts.rules.RuleUtil
|
+--ORG.oclc.fmts.rules.SaveImageInfo
- public class SaveImageInfo
- extends RuleUtil
- implements DisplayRule
The SaveImageInfo class is a record formatting rule that
creates all the information necessary to navigate an image record
created by the ISP package and saves it in the UserStateObject.
The additional parameter this rule recognizes is:
titleFieldsThe field list defining where the title
resides in the document.
recordInfoFieldsThe field list defining where the
additional citation information in the record resides that
could be displayed on the image screen to give citation information.
pathToImagesThe field list defining the path where the
images can be located where the default, if not specified, is
5/1/3/*
which is the ISP location of the images.
ImageRootPathThe root path to where the images
are located, this can be a fully qualified local pathname on the system or
a relative path from the document root or a fixed http:// path.
- See Also:
RuleSpec
,
FormatBerUtil
,
DisplayUserData
Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
SaveImageInfo
public SaveImageInfo()
doRule
public void doRule(DataDir dir,
int recordNumber,
RuleSpec ruleSpec,
FormatBerUtil fmtUtil,
DisplayUserData userData)
- Creates the ImageInfo for the record for image display for the
document.
- Specified by:
- doRule in interface DisplayRule
- Parameters:
dir
- the DataDir object containing the data recordrecordNumber
- the record number of the item within the listruleSpec
- the field specification for locating the datafmtUtil
- the FormatBerUtil object containing the current formatted
data buffer and the formatting utilities.userData
- the DisplayUserData object containing the user's
context for formatting the data records.