All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class DBIS.RoomSpace.ItemPageGenerator

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

public class ItemPageGenerator
extends PageGenerator
This class generates the page for the item with the suppiled item id At first theinformation about the item is retrived and is then used to get the requisite page


Constructor Index

 o ItemPageGenerator(HtmlTemplate, int)
 o ItemPageGenerator(int)

Method Index

 o format()
In this case we are overloading the format function Basically the ItemPageGenerator has enough information to determine the paraeters required which it does so by invoking the underlying database
 o getParameters(Enumeration)
This function takes an enumeration and determines the required parameters These parameters are determined by a heuristics which is encapsulated in this function and can thus be easily changed or overloaded
 o getRoomLink(int)
 o main(String[])

Constructors

 o ItemPageGenerator
 public ItemPageGenerator(int itemId)
 o ItemPageGenerator
 public ItemPageGenerator(HtmlTemplate _template,
                          int itemId)

Methods

 o format
 public String format()
In this case we are overloading the format function Basically the ItemPageGenerator has enough information to determine the paraeters required which it does so by invoking the underlying database

 o getParameters
 public Hashtable getParameters(Enumeration enumeration)
This function takes an enumeration and determines the required parameters These parameters are determined by a heuristics which is encapsulated in this function and can thus be easily changed or overloaded

 o getRoomLink
 protected String getRoomLink(int itemId)
 o main
 public static void main(String args[])

All Packages  Class Hierarchy  This Package  Previous  Next  Index