All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class DBIS.Tools.PageGenerator

java.lang.Object
   |
   +----DBIS.Tools.PageGenerator

public class PageGenerator
extends Object
This class generates the html page on the fly The class constructor takes a non-null instance of HtmlTemplate class and generates the required page when the format function is called This function is passed a hastable as a parameter These parameters are the substituted for the named variables in the html page The substitution follows synamic scoping hence the variabls should be suitably named in the html template page


Constructor Index

 o PageGenerator(HtmlTemplate)

Method Index

 o format(Hashtable)
 o getHtmlTemplate()
 o initialise()

Constructors

 o PageGenerator
 public PageGenerator(HtmlTemplate _template)

Methods

 o initialise
 public void initialise()
 o format
 public String format(Hashtable hashtable)
 o getHtmlTemplate
 protected HtmlTemplate getHtmlTemplate()

All Packages  Class Hierarchy  This Package  Previous  Next  Index