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
-
ItemPageGenerator(HtmlTemplate, int)
-
-
ItemPageGenerator(int)
-
-
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
-
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
-
getRoomLink(int)
-
-
main(String[])
-
ItemPageGenerator
public ItemPageGenerator(int itemId)
ItemPageGenerator
public ItemPageGenerator(HtmlTemplate _template,
int itemId)
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
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
getRoomLink
protected String getRoomLink(int itemId)
main
public static void main(String args[])
All Packages Class Hierarchy This Package Previous Next Index