|
| Foundation |
|
| |||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||||
public interface AttributeMapInterface
The AttributeMapInterface manages name/value pairs. A name/value can be specified as a name, a name and a value, or a name and multiple values.
Name/value pairs are used by the Publish services to provide user or application control information describing the result package or entry. Name/values can be associated with a result package, or with individual entries within the result package.
| Method Summary | |
|---|---|
void |
addAttribute(java.lang.String name,
java.lang.String value)
Add a value to existing name/value pair. |
java.lang.String |
getAttribute(java.lang.String name)
Get the value for the specified name. |
java.lang.String[] |
getAttributes(java.lang.String name)
Get all the values for the specified name. |
java.lang.String[] |
listAttributeNames()
Returns an array of all the names. |
void |
setAttribute(java.lang.String name,
java.lang.String value)
Set the name/value pair. |
| Method Detail |
|---|
java.lang.String getAttribute(java.lang.String name)
throws java.rmi.RemoteException
name - The name portion of the name/value pair.
String The value.
java.rmi.RemoteException - If a network anomaly is encountered.
java.lang.String[] getAttributes(java.lang.String name)
throws java.rmi.RemoteException
name - The name portion of the name/value pair.
String[] An array of all values for the specified name.
java.rmi.RemoteException - If a network anomaly is encountered.
void setAttribute(java.lang.String name,
java.lang.String value)
throws java.rmi.RemoteException,
java.lang.IllegalArgumentException
name - The name portion of the name/value pair.value - The value portion of the name/value pair.
If this value is null, any
existing value(s) are removed for the name/value pair.
java.lang.IllegalArgumentException - If a null or blank name is specified.
java.rmi.RemoteException - If a network anomaly is encountered.
void addAttribute(java.lang.String name,
java.lang.String value)
throws java.rmi.RemoteException,
java.lang.IllegalArgumentException
setAttribute(String, String).
The order is preserved between addAttribute and getAttributes(String).
name - The name portion of the name/value pair.value - The value portion of the name/value pair.
java.lang.IllegalArgumentException - If a null or blank name is specified.
java.rmi.RemoteException - If a network anomaly is encountered.
java.lang.String[] listAttributeNames()
throws java.rmi.RemoteException
String [] An array of all the names.
java.rmi.RemoteException - If a network anomaly is encountered.
|
| Foundation |
|
| |||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||||