ORG.oclc.webz
Interface DisplayRule
- All Known Implementing Classes:
- Add856, AddBriefHoldings, AddCompoundSubjectPhrase, AddDatabaseName, AddFetchAnchor, AddFormattedDupData, AddFSABIISubjects, AddFSMedlineSubjects, AddFullTextButton, AddHoldings, AddHTTPAnchor, AddILL920FieldSendToList, AddILLData, AddILLDatabaseName, AddILLOclcNum, AddILLSendToList, AddImageDisplayAnchor, AddLocalHoldingsButton, AddRecordData, AddRecordNumber, AddSaveButton, AddWrapperData, CopyAnchor, DeleteAnchor, EditAnchor, HoldingsSearchKey, SaveDuplicateDatabaseNames, SaveImageInfo, SaveTermFinderResults, UpdateCurrecno
- public abstract interface DisplayRule
The DisplayRule interface class defines the
method that must be implemented
to add a new formattting rule in the RulesBasedDisplayGenerator.
doRule
public void doRule(DataDir dir,
int recordNum,
RuleSpec ruleSpec,
FormatBerUtil fmtUtil,
DisplayUserData userData)
- Executes the rule to create formatted data in the
RulesBasedDisplayGenerator.
- Parameters:
dir
- the DataDir object containing the data recordrecordNum
- the record number of the data in the displayruleSpec
- the specifications for formatting the datafmtUtil
- the formatting utilities and the buffer to add
the data to.userData
- the DisplayUserData object containing user
context specific information