| javax.sip.header.Parameters
Parameters | public interface Parameters (Code) | | This interface defines methods for accessing generic parameters for
Headers that contain generic parameter values.
author: BEA Systems, NIST version: 1.2 |
getParameter | public String getParameter(String name)(Code) | | Returns the value of the named parameter, or null if it is not set. A
zero-length String indicates flag parameter.
Parameters: name - name of parameter to retrieve the value of specified parameter |
getParameterNames | public Iterator getParameterNames()(Code) | | Returns an Iterator over the names (Strings) of all parameters present
in this ParametersHeader.
an Iterator over all the parameter names |
removeParameter | public void removeParameter(String name)(Code) | | Removes the specified parameter from Parameters of this ParametersHeader.
This method returns silently if the parameter is not part of the
ParametersHeader.
Parameters: name - - a String specifying the parameter name |
setParameter | public void setParameter(String name, String value) throws ParseException(Code) | | Sets the value of the specified parameter. If the parameter already had
a value it will be overwritten. A zero-length String indicates flag
parameter.
Parameters: name - - a String specifying the parameter name Parameters: value - - a String specifying the parameter value throws: ParseException - which signals that an error has been reachedunexpectedly while parsing the parameter name or value. |
|
|