|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.aselect.server.processor.NMVPair
public class NMVPair
NameMultiValue pair
Description:
NameValue pair. Contains a name and value.
Concurrency issues:
None
Constructor Summary | |
---|---|
NMVPair(java.lang.String name)
Create a new NMVPair Concurrency issues: - Preconditions: - Postconditions: - |
|
NMVPair(java.lang.String name,
java.lang.String value)
Create a new NMVPair Description: Create a new NMVPair . |
|
NMVPair(java.lang.String name,
java.util.Vector value)
Create a new NMVPair with a default value. |
Method Summary | |
---|---|
void |
addValue(java.lang.String value)
Add a single value to this pair. |
void |
addValues(java.util.Vector v)
Add one or more values to this name value pair. |
java.lang.String |
encodeMV()
Encodes the name multivalue pair into a url-encoded pair. |
java.lang.String |
getName()
Retrieve the name of this NVPair. |
java.util.List |
getValues()
Retrieve the value of this NVPair. |
java.lang.String |
toString()
|
void |
updateMixedHashtable(java.util.Hashtable ht)
Add to the mixed hashtable the value(s) of the current object. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public NMVPair(java.lang.String name)
NMVPair
name
- The name.public NMVPair(java.lang.String name, java.lang.String value)
NMVPair
NMVPair
. With no value.
name
- name as Stringvalue
- value as Stringpublic NMVPair(java.lang.String name, java.util.Vector value)
NMVPair
with a default value. NMVPair
with a default value.
name
- The name of the pairvalue
- The value of the pair.Method Detail |
---|
public void updateMixedHashtable(java.util.Hashtable ht)
ht
- The hashtable where to add the variables.public void addValue(java.lang.String value)
value
- public void addValues(java.util.Vector v)
v
- A vector of strings to add.public java.lang.String encodeMV()
public java.lang.String getName()
public java.util.List getValues()
public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |