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
-
className
-
-
contents
-
-
ArgWrapper()
-
-
ArgWrapper(String, String)
-
-
describe()
-
-
results()
-
contents
protected String contents
className
protected String className
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
ArgWrapper
public ArgWrapper()
- Returns:
- Default constructor called if the next call will be a marshall()
or if this is wrapping a null object
results
public Object results()
- Returns:
- Return the object this represents. Obviously this needs some work.
describe
public String describe()
- Returns:
- a string that describes this object
All Packages Class Hierarchy This Package Previous Next Index