org.apache.turbine.util.uri
Class URIParam

java.lang.Object
  extended byorg.apache.turbine.util.uri.URIParam

public class URIParam
extends java.lang.Object

Helper Class to keep a key and a value together in one object. Used for URI Parameters

Version:
$Id: URIParam.java 534527 2007-05-02 16:10:59Z tv $
Author:
Henning P. Schmiedehausen

Constructor Summary
URIParam(java.lang.String key, java.lang.Object value)
          Creates a new Object from Key and Value
 
Method Summary
 java.lang.String getKey()
          Returns the key.
 java.lang.Object getValue()
          Returns the value.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

URIParam

public URIParam(java.lang.String key,
                java.lang.Object value)
Creates a new Object from Key and Value

Parameters:
key - A String with the Param Name.
value - An Object with the Value.
Method Detail

getKey

public java.lang.String getKey()
Returns the key.

Returns:
The key value.

getValue

public java.lang.Object getValue()
Returns the value.

Returns:
The value of this object.


Copyright © 2000-2008 Apache Software Foundation. All Rights Reserved.