|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface INameValuePairs
This interface provides access to a collection of name-value pairs.
| Method Summary | |
|---|---|
boolean |
add(java.lang.String name,
java.lang.String value)
Adds a name-value pair to the collection. |
java.util.Map |
getMap()
Returns this name-value collection as a Map. |
java.lang.String |
getValue(java.lang.String name)
Returns the value for the specified entry in the collection. |
boolean |
remove(java.lang.String name)
Removes the name-value pair with the name from the collection. |
boolean |
update(java.lang.String name,
java.lang.String value)
Updates the value associated with the specified name. |
| Method Detail |
|---|
boolean add(java.lang.String name,
java.lang.String value)
name - the namevalue - the value
java.util.Map getMap()
Map.
Map containing the name-value pairs.
boolean update(java.lang.String name,
java.lang.String value)
INameValuePairs.add(String, String).
name - the name of a name-value pair within this collectionvalue - the new value for the name-value pair
boolean remove(java.lang.String name)
name - the name of a name-value pair within this collection
java.lang.String getValue(java.lang.String name)
name - the name of a name-value pair within this collection
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||