|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.lastbamboo.common.sdp.GenericObject
org.lastbamboo.common.sdp.fields.SDPObject
org.lastbamboo.common.sdp.fields.SDPField
org.lastbamboo.common.sdp.fields.KeyField
public class KeyField
Key field part of an SDP header. Acknowledgement. Bug fix contributed by espen@java.net
| Field Summary | |
|---|---|
protected String |
keyData
|
protected String |
type
|
| Fields inherited from class org.lastbamboo.common.sdp.fields.SDPField |
|---|
fieldName |
| Fields inherited from class org.lastbamboo.common.sdp.GenericObject |
|---|
AND, AT, COLON, COMMA, DOT, DOUBLE_QUOTE, EQUALS, GREATER_THAN, HT, immutableClasses, immutableClassNames, indentation, LESS_THAN, LPAREN, matchExpression, NEWLINE, PERCENT, POUND, QUESTION, QUOTE, RETURN, RPAREN, SEMICOLON, SLASH, SP, STAR, stringRepresentation |
| Fields inherited from interface org.lastbamboo.common.sdp.fields.SDPFieldNames |
|---|
ATTRIBUTE_FIELD, BANDWIDTH_FIELD, CONNECTION_FIELD, EMAIL_FIELD, INFORMATION_FIELD, KEY_FIELD, MEDIA_FIELD, ORIGIN_FIELD, PHONE_FIELD, PROTO_VERSION_FIELD, REPEAT_FIELD, SESSION_NAME_FIELD, TIME_FIELD, URI_FIELD, ZONE_FIELD |
| Constructor Summary | |
|---|---|
KeyField()
|
|
| Method Summary | |
|---|---|
String |
encode()
Get the string encoded version of this object |
String |
getKey()
Returns the value of this attribute. |
String |
getKeyData()
|
String |
getMethod()
Returns the name of this attribute |
String |
getType()
|
boolean |
hasKey()
Determines if this attribute has an associated value. |
void |
setKey(String key)
Sets the value of this attribute. |
void |
setKeyData(String k)
Set the keyData member |
void |
setMethod(String name)
Sets the id of this attribute. |
void |
setType(String t)
Set the type member |
| Methods inherited from class org.lastbamboo.common.sdp.fields.SDPField |
|---|
getFieldName, getTypeChar, toString |
| Methods inherited from class org.lastbamboo.common.sdp.fields.SDPObject |
|---|
dbgPrint, debugDump, equals, getStringRepresentation, initSprint, match, merge, replace, replace, replace, replace, sprint |
| Methods inherited from class org.lastbamboo.common.sdp.GenericObject |
|---|
Assert, clone, dbgPrint, dbgPrint, debugDump, getIndentation, getMatcher, isMySubclass, makeClone, setMatcher, sprint, sprint, sprint, sprint, sprint, sprint, sprint, sprint |
| Methods inherited from class java.lang.Object |
|---|
finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface org.lastbamboo.common.sdp.api.Field |
|---|
clone, getTypeChar |
| Field Detail |
|---|
protected String type
protected String keyData
| Constructor Detail |
|---|
public KeyField()
| Method Detail |
|---|
public String getType()
public String getKeyData()
public void setType(String t)
public void setKeyData(String k)
public String encode()
encode in class SDPField
public String getMethod()
throws SdpParseException
getMethod in interface KeySdpParseException
public void setMethod(String name)
throws SdpException
setMethod in interface Keyname - to set
SdpException - if the name is null
public boolean hasKey()
throws SdpParseException
hasKey in interface KeySdpParseException
public String getKey()
throws SdpParseException
getKey in interface KeySdpParseException
public void setKey(String key)
throws SdpException
setKey in interface Keykey - to set
SdpException - if key is null
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||