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.
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