|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.sf.jplist.core.NameValuePair
public class NameValuePair
Simple POJO to hold a name-value pair. The NameValuePair is the element type for a DictionaryElement container object.
| Constructor Summary | |
|---|---|
NameValuePair()
Instantiate a NameValuePair object. |
|
NameValuePair(java.lang.String key,
IElement value)
Instantiate a NameValuePair object with key and value. |
|
| Method Summary | |
|---|---|
java.lang.String |
getKey()
Returns the key from the NameValuePair object. |
IElement |
getValue()
Return the value from the NameValuePair object. |
void |
setKey(java.lang.String key)
Set the key into the NameValuePair object. |
void |
setValue(IElement value)
Set the value into the NameValuePair object. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public NameValuePair()
public NameValuePair(java.lang.String key,
IElement value)
key - the key as a String.value - the value as an IElement.| Method Detail |
|---|
public final java.lang.String getKey()
public final void setKey(java.lang.String key)
key - the key to set.public final IElement getValue()
public final void setValue(IElement value)
value - the value to set.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||