Package org.htmlunit.util
Class NameValuePair
java.lang.Object
org.htmlunit.util.NameValuePair
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
KeyDataPair
A name/value pair.
- See Also:
-
Constructor Details
-
NameValuePair
Creates a new instance.- Parameters:
name
- the namevalue
- the value
-
-
Method Details
-
getName
Returns the name.- Returns:
- the name
-
getValue
Returns the value.- Returns:
- the value
-
equals
-
hashCode
public int hashCode() -
toString
-
normalized
INTERNAL API - SUBJECT TO CHANGE AT ANY TIME - USE AT YOUR OWN RISK.
convert null values to empty string- Returns:
- a normalized copy of the
NameValuePair
-