All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class DBIS.RoomSpace.RoomPageGenerator

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

public class RoomPageGenerator
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 RoomPageGenerator(HtmlTemplate, int)
 o RoomPageGenerator(int)

Method Index

 o format()
In this case we are overloading the format function Basically the RoomPageGenerator has enough information to determine the paraeters required which it does so by invoking the underlying database
 o getChildLinks()
 o getItemServlet()
 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 getProductLinks()
 o getServlet()

Constructors

 o RoomPageGenerator
 public RoomPageGenerator(int roomId)
 o RoomPageGenerator
 public RoomPageGenerator(HtmlTemplate _template,
                          int roomId)

Methods

 o format
 public String format()
In this case we are overloading the format function Basically the RoomPageGenerator 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 getChildLinks
 public String getChildLinks()
 o getProductLinks
 public String getProductLinks()
 o getServlet
 protected String getServlet()
 o getItemServlet
 protected String getItemServlet()

All Packages  Class Hierarchy  This Package  Previous  Next  Index