juju.reattore.util
Class NameValue

java.lang.Object
  |
  +--juju.reattore.util.NameValue
Direct Known Subclasses:
ExtMap

public class NameValue
extends java.lang.Object

Simple name/value pair class, normally used to simplify hooking in the digestor.


Constructor Summary
NameValue()
           
 
Method Summary
 java.lang.String getName()
          Gets the name.
 java.lang.String getValue()
          Gets the value.
 void setName(java.lang.String val)
          Sets the name.
 void setValue(java.lang.String val)
          Sets the value.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NameValue

public NameValue()
Method Detail

setName

public void setName(java.lang.String val)
Sets the name.

Parameters:
val - The new value.

setValue

public void setValue(java.lang.String val)
Sets the value.

Parameters:
val - The new value.

getName

public java.lang.String getName()
Gets the name.

Returns:
The name

getValue

public java.lang.String getValue()
Gets the value.

Returns:
The value


Copyright © 2002-2003 Michael Hope. All Rights Reserved.