Open SiteSearch 4.1.1
Final

ORG.oclc.gadgets
Class GadgetAndStyleLoader

java.lang.Object
  |
  +--ORG.oclc.jassi.InitClass
        |
        +--ORG.oclc.gadgets.GadgetAndStyleLoader

public class GadgetAndStyleLoader
extends InitClass

The GadgetAndStyleLoader class is an InitClass that reads all the JaSSI configuration files containing definitions for interface styles and gadgets used to build HTML strings for display in HTML pages. Each style definition and gadget definition is stored as a StyleTable object and is maintained by the StyleTable object itself. Each user is assigned a particular style at startup time and given a reference the correct StyleTable objects. This information is used control the appearance of the interface and to build the appropriate HTML output strings for formatting pages and data records. For efficiency purposes, the StyleTables and Gadgets information is loaded only 1 time and shared by all users in the system.

See Also:
InitClass, StyleTable

Constructor Summary
GadgetAndStyleLoader()
          Constructs a GadgetAndStyleLoader object.
 
Method Summary
 void init(IniFile ini)
          Initializes all Gadgets and StyleTables using from the configuration information from the input IniFile object.
 String toString()
          Generates a String representation of the object.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

GadgetAndStyleLoader

public GadgetAndStyleLoader()
Constructs a GadgetAndStyleLoader object.
Method Detail

init

public void init(IniFile ini)
Initializes all Gadgets and StyleTables using from the configuration information from the input IniFile object.
Parameters:
ini - the JaSSI configuration ini file
Overrides:
init in class InitClass

toString

public String toString()
Generates a String representation of the object.
Returns:
String
Overrides:
toString in class InitClass

Open SiteSearch 4.1.1
Final