org.apache.turbine.util.uri
Class URIParam

java.lang.Object
  extended by org.apache.turbine.util.uri.URIParam

public class URIParam
extends Object

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

Version:
$Id: URIParam.java 615328 2008-01-25 20:25:05Z tv $
Author:
Henning P. Schmiedehausen

Constructor Summary
URIParam(String key, Object value)
          Creates a new Object from Key and Value
 
Method Summary
 String getKey()
          Returns the key.
 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(String key,
                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 String getKey()
Returns the key.

Returns:
The key value.

getValue

public Object getValue()
Returns the value.

Returns:
The value of this object.


Copyright © 2000-2011 The Apache Software Foundation. All Rights Reserved.