Open SiteSearch 4.1.1
Final

ORG.oclc.webz
Interface DisplayGenerator

All Known Implementing Classes:
RulesBasedDisplayGenerator

public abstract interface DisplayGenerator

The DisplayGenerator interface defines the methods that must be implemented to add a formatting tool implementation to the system that can be used to generate formatted data from input records.


Method Summary
 String generate(Vector data, int startRecno, DisplayUserData userData)
          Generates the formatted string using the input data, record number and DisplayUserData.
 void init(IniFile ini, String name)
           
 

Method Detail

init

public void init(IniFile ini,
                 String name)

generate

public String generate(Vector data,
                       int startRecno,
                       DisplayUserData userData)
Generates the formatted string using the input data, record number and DisplayUserData.
Parameters:
data - a Vector of data object to generate the formatted string from.
startRecno - the starting record number for the vector of data objects.
userData - the user specific context data object.
Returns:
String containing the formatted data

Open SiteSearch 4.1.1
Final