org.openid4java.message
Class Parameter

java.lang.Object
  extended by org.openid4java.message.Parameter
All Implemented Interfaces:
Serializable, Comparable

public class Parameter
extends Object
implements Comparable, Serializable

A key / value pair which is part of an OpenID message.

Author:
Marius Scurtescu, Johnny Bufu
See Also:
ParameterList, Serialized Form

Constructor Summary
Parameter(String key, String value)
           
 
Method Summary
 int compareTo(Object obj)
           
 boolean equals(Object obj)
           
 String getKey()
           
 String getValue()
           
 int hashCode()
           
 boolean isValid()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Parameter

public Parameter(String key,
                 String value)
Method Detail

isValid

public boolean isValid()

equals

public boolean equals(Object obj)
Overrides:
equals in class Object

hashCode

public int hashCode()
Overrides:
hashCode in class Object

getKey

public String getKey()

getValue

public String getValue()

compareTo

public int compareTo(Object obj)
Specified by:
compareTo in interface Comparable

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2013 Sxip. All Rights Reserved.