kiwi.util
Class StringHolder

java.lang.Object
  |
  +--kiwi.util.StringHolder

public class StringHolder
extends Object

A mutable holder for a String value.

Version:
1.0 (11/98)
Author:
Mark Lindner, PING Software Group

Field Summary
protected  String value
          The current value.
 
Constructor Summary
StringHolder()
          Construct a new StringHolder with an initial value of null.
StringHolder(String value)
          Construct a new StringHolder with a specified initial value.
 
Method Summary
 String getValue()
          Get the StringHolder's value.
 void setValue(String value)
          Set the StringHolder's value.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

value

protected String value
The current value.
Constructor Detail

StringHolder

public StringHolder()
Construct a new StringHolder with an initial value of null.

StringHolder

public StringHolder(String value)
Construct a new StringHolder with a specified initial value.
Parameters:
value - The initial value.
Method Detail

setValue

public final void setValue(String value)
Set the StringHolder's value.
Parameters:
value - The new value.

getValue

public final String getValue()
Get the StringHolder's value.
Returns:
The current value.