org.xlightweb
Class NameValuePair

Package class diagram package NameValuePair
java.lang.Object
  extended by org.xlightweb.NameValuePair

public final class NameValuePair
extends Object

Name-Value-Pair


Constructor Summary
NameValuePair(String nvp)
          constructor
NameValuePair(String name, String value)
          constructor
 
Method Summary
 String getName()
          return the name
 String getValue()
          return the value
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NameValuePair

public NameValuePair(String nvp)
constructor

Parameters:
nvp - the name value pair "{name}={value}"

NameValuePair

public NameValuePair(String name,
                     String value)
constructor

Parameters:
name - the name
value - the value
Method Detail

getName

public String getName()
return the name

Returns:
the name

getValue

public String getValue()
return the value

Returns:
the value;