public class NameValuePairImpl extends Object implements NameValuePair
Constructor and Description |
---|
NameValuePairImpl() |
NameValuePairImpl(String aName,
Object aValue) |
Modifier and Type | Method and Description |
---|---|
String |
getName()
Gets the name.
|
Object |
getValue()
Gets the value.
|
void |
setName(String aName)
Sets the name.
|
void |
setValue(Object aValue)
Sets the value.
|
public String getName()
NameValuePair
getName
in interface NameValuePair
public void setName(String aName)
NameValuePair
setName
in interface NameValuePair
aName
- a namepublic Object getValue()
NameValuePair
getValue
in interface NameValuePair
public void setValue(Object aValue)
NameValuePair
setValue
in interface NameValuePair
aValue
- a valueCopyright © 2006–2021 The Apache Software Foundation. All rights reserved.