public class NameValue
extends java.lang.Object
parameter = attribute "=" value attribute = token value = token | quoted-string
Constructor and Description |
---|
NameValue(java.lang.String name,
java.lang.String value)
Default Constructor taking a name and a value.
|
public NameValue(java.lang.String name, java.lang.String value)
name
- The name.value
- The value.public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public java.lang.String getName()
public java.lang.String getValue()
public int hashCode()
hashCode
in class java.lang.Object
public java.lang.String toString()
toString
in class java.lang.Object