|
NIST SIP Parser and Stack (v1.2) API | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
A Key represents the k= field contained within either a MediaDescription or a SessionDescription. Please refer to IETF RFC 2327 for a description of SDP.
Method Summary | |
String |
getKey()
Returns the value of this attribute. |
String |
getMethod()
Returns the name of this attribute |
boolean |
hasKey()
Determines if this attribute has an associated value. |
void |
setKey(String key)
Sets the value of this attribute. |
void |
setMethod(String name)
Sets the id of this attribute. |
Methods inherited from interface javax.sdp.Field |
clone, getTypeChar |
Method Detail |
public String getMethod() throws SdpParseException
SdpParseException
public void setMethod(String name) throws SdpException
name
- to set
SdpException
- if the name is nullpublic boolean hasKey() throws SdpParseException
SdpParseException
public String getKey() throws SdpParseException
SdpParseException
public void setKey(String key) throws SdpException
key
- to set
SdpException
- if key is null
|
NIST SIP Parser and Stack (v1.2) API | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |