Open SiteSearch 4.1.1
Final

ORG.oclc.fmts.rules
Class AddFormattedDupData

java.lang.Object
  |
  +--ORG.oclc.fmts.rules.RuleUtil
        |
        +--ORG.oclc.fmts.rules.AddFormattedDupData

public class AddFormattedDupData
extends RuleUtil
implements DisplayRule

The AddFormattedDupData class is a record formatting rule that appends formatted data from duplicate records held in the parameter to the class defined by the variable entityname. When formatting duplicate records, the duplicates are formatted before the representative record by the gadget FormatRecordsWithDuplicates. This class provides a means to associated the formatted duplicate data with the representative record.

See Also:
RuleSpec, FormatBerUtil, DisplayUserData, FormatRecordsWithDuplicates

Constructor Summary
AddFormattedDupData()
           
 
Method Summary
 void doRule(DataDir dir, int recordNumber, RuleSpec ruleSpec, FormatBerUtil fmtUtil, DisplayUserData userData)
          Adds the formatted duplicate record data to the output format buffer.
 
Methods inherited from class ORG.oclc.fmts.rules.RuleUtil
appendEntityData, getData, getData, getWrapperData, getWrapperData, getWrapperDataFromRuleParm, labelMaker, saveDataInEntity
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AddFormattedDupData

public AddFormattedDupData()
Method Detail

doRule

public void doRule(DataDir dir,
                   int recordNumber,
                   RuleSpec ruleSpec,
                   FormatBerUtil fmtUtil,
                   DisplayUserData userData)
Adds the formatted duplicate record data to the output format buffer.
Specified by:
doRule in interface DisplayRule
Parameters:
dir - the DataDir object containing the data record
recordNumber - the record number of the item within the list
ruleSpec - the field specification for locating the data
fmtUtil - 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.

Open SiteSearch 4.1.1
Final