Klasse URIParam

java.lang.Object
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$
Autor:
Henning P. Schmiedehausen
  • Konstruktordetails

    • URIParam

      public URIParam(String key, Object value)
      Creates a new Object from Key and Value
      Parameter:
      key - A String with the Param Name.
      value - An Object with the Value.
  • Methodendetails

    • getKey

      public String getKey()
      Returns the key.
      Gibt zurück:
      The key value.
    • getValue

      public Object getValue()
      Returns the value.
      Gibt zurück:
      The value of this object.
    • hashCode

      public int hashCode()
      Calculate hash code based on field values
      Setzt außer Kraft:
      hashCode in Klasse Object
    • equals

      public boolean equals(Object obj)
      Calculate equality based on field values
      Setzt außer Kraft:
      equals in Klasse Object
    • toString

      public String toString()
      Provide a string representation of the object
      Setzt außer Kraft:
      toString in Klasse Object