Open SiteSearch 4.1.1
Final

ORG.oclc.webz
Class Format

java.lang.Object
  |
  +--ORG.oclc.webz.Format

public class Format
extends Object

The Format class manages all the Formatting classes for the databases in WebZ.


Method Summary
 Class fmtclass()
          Returns a Class object for the java formatting class.
static Format getFormat(String name, String whichFormat)
          Retrieves a Format object for the input className.
 DisplayGenerator getGenerator()
           
 boolean isGenerator()
          Returns a Class object for the java formatting class.
 String name()
          Returns a String containing the name of the format.
 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
 

Method Detail

getFormat

public static Format getFormat(String name,
                               String whichFormat)
Retrieves a Format object for the input className.
Parameters:
className - the name of the format class
whichFormat - the name of the format from the db inifile.

name

public String name()
Returns a String containing the name of the format.
Returns:
String

fmtclass

public Class fmtclass()
Returns a Class object for the java formatting class.
Returns:
Class

isGenerator

public boolean isGenerator()
Returns a Class object for the java formatting class.
Returns:
Class

getGenerator

public DisplayGenerator getGenerator()

toString

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

Open SiteSearch 4.1.1
Final