JSIP API v1.2
November 2006

javax.sip.header
Interface OptionTag

All Known Subinterfaces:
ProxyRequireHeader, RequireHeader, SupportedHeader, UnsupportedHeader

public interface OptionTag

This interface represents methods for manipulating OptionTags values for any header that contains an OptionTag value. Option tags are unique identifiers used to designate new options (extensions) in SIP. Note that these options appear as parameters in those header fields in an option-tag = token form. Option tags are defined in standards track RFCs. This is a change from past practice, and is instituted to ensure continuing multi-vendor interoperability.

Author:
BEA Systems, NIST
See Also:
ProxyRequireHeader, RequireHeader, UnsupportedHeader, SupportedHeader

Method Summary
 java.lang.String getOptionTag()
          Gets the option tag of this OptionTag class.
 void setOptionTag(java.lang.String optionTag)
          Sets the option tag value to the new supplied optionTag parameter.
 

Method Detail

setOptionTag

void setOptionTag(java.lang.String optionTag)
                  throws java.text.ParseException
Sets the option tag value to the new supplied optionTag parameter.

Parameters:
optionTag - - the new string value of the option tag.
Throws:
java.text.ParseException - which signals that an error has been reached unexpectedly while parsing the optionTag value.

getOptionTag

java.lang.String getOptionTag()
Gets the option tag of this OptionTag class.

Returns:
the string that identifies the option tag value.

JSIP API v1.2
November 2006

If you have any comments, please mail them to JAIN-SIP-INTEREST@java.sun.com after subscribing at http://archives.java.sun.com
Copyright - 2006 BEA Systems and Sun Microsystems