ORG.oclc.gadgets
Class Dump
java.lang.Object
|
+--ORG.oclc.gadgets.Dump
- public class Dump
- extends Object
- implements GadgetBuilder
The Dump class is a gadget that builds an HTML String containing
all the data currently stored in the UserStateObject for a user
using the parameters contained in a RequestManager object.
If an error occurs, an empty string("") is returned.
Constructor Summary |
Dump()
Constructs a Dump object. |
Method Summary |
String |
buildit(RequestManager rMngr,
String name)
Generates a String containing an HTML representation of a user's
current state using the the parameters containined
in the RequestManager object and the name of the gadget. |
String |
toString()
|
Dump
public Dump()
- Constructs a Dump object.
buildit
public String buildit(RequestManager rMngr,
String name)
- Generates a String containing an HTML representation of a user's
current state using the the parameters containined
in the RequestManager object and the name of the gadget.
- Specified by:
- buildit in interface GadgetBuilder
- Parameters:
rMngr
- object containing input parameters for the request.name
- the name of the gadget - the section name in the configuration
file defining the particular gadget.- Returns:
- String
toString
public String toString()
- Specified by:
- toString in interface GadgetBuilder
- Overrides:
- toString in class Object