public class NameValuePair
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
CLASS_VERSION
Class version string
|
Modifier and Type | Method and Description |
---|---|
static NameValuePair |
create(java.lang.String pName,
java.lang.Object pValue)
Factory method for instantiating a NameValuePair object
|
static NameValuePair |
create(java.lang.String pName,
java.lang.Object pValue,
java.lang.Object pContainer)
Factory method for instantiating a NameValuePair object which also takes an optional container object
|
java.lang.Object |
getContainer() |
java.lang.String |
getName() |
java.lang.Object |
getValue() |
java.lang.String |
getValueAsString() |
java.lang.String |
toString()
Returns a string representation of this NameValuePair object
|
public java.lang.String getName()
public java.lang.Object getValue()
public java.lang.String getValueAsString()
public java.lang.Object getContainer()
public static NameValuePair create(java.lang.String pName, java.lang.Object pValue)
pName
- the namepValue
- the valuepublic static NameValuePair create(java.lang.String pName, java.lang.Object pValue, java.lang.Object pContainer)
pName
- the namepValue
- the valuepContainer
- an optional containerpublic java.lang.String toString()
toString
in class java.lang.Object