All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class ncsa.habanero.ArgWrapper

java.lang.Object
   |
   +----ncsa.habanero.ArgWrapper

public class ArgWrapper
extends Object
implements Marshallable, Describable
This is used to marshall an unknown object by writing out its contents and the name of the class, so that somehow the class can be reconstituted at the other end. It really only handles Strings right now


Variable Index

 o className
 o contents

Constructor Index

 o ArgWrapper()
 o ArgWrapper(String, String)

Method Index

 o describe()
 o results()

Variables

 o contents
 protected String contents
 o className
 protected String className

Constructors

 o ArgWrapper
 public ArgWrapper(String contents,
                   String className)
Parameters:
contents - the unknown object's contents as a String
className - the unknown object's class name
Returns:
Construct the object with contents and className
 o ArgWrapper
 public ArgWrapper()
Returns:
Default constructor called if the next call will be a marshall() or if this is wrapping a null object

Methods

 o results
 public Object results()
Returns:
Return the object this represents. Obviously this needs some work.
 o describe
 public String describe()
Returns:
a string that describes this object

All Packages  Class Hierarchy  This Package  Previous  Next  Index