|
NIST-SIP: The Reference Implementation for JAIN-SIP 1.2 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectgov.nist.core.GenericObject
gov.nist.javax.sdp.fields.SDPObject
gov.nist.javax.sdp.fields.SDPField
gov.nist.javax.sdp.fields.PhoneField
public class PhoneField
Phone Field SDP header
| Field Summary |
|---|
| Fields inherited from interface gov.nist.javax.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 | |
|---|---|
PhoneField()
|
|
| Method Summary | |
|---|---|
String |
encode()
Get the string encoded version of this object |
String |
getName()
|
String |
getPhoneNumber()
|
String |
getValue()
Returns the value. |
void |
setName(String name)
Set the name member |
void |
setPhoneNumber(String phoneNumber)
Set the phoneNumber member |
void |
setValue(String value)
Sets the value. |
| Methods inherited from class gov.nist.javax.sdp.fields.SDPField |
|---|
getFieldName, getTypeChar, toString |
| Methods inherited from class gov.nist.javax.sdp.fields.SDPObject |
|---|
dbgPrint, debugDump, equals, match |
| Methods inherited from class gov.nist.core.GenericObject |
|---|
clone, debugDump, encode, getClassFromName, getMatcher, isMySubclass, makeClone, merge, setMatcher |
| Methods inherited from class java.lang.Object |
|---|
getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface javax.sdp.Field |
|---|
clone, getTypeChar |
| Constructor Detail |
|---|
public PhoneField()
| Method Detail |
|---|
public String getName()
public String getPhoneNumber()
public void setName(String name)
name - - the name to set.public void setPhoneNumber(String phoneNumber)
phoneNumber - - phone number to set.
public String getValue()
throws SdpParseException
getValue in interface PhoneSdpParseException
public void setValue(String value)
throws SdpException
setValue in interface Phonevalue - the - new information.
SdpException - if the value is nullpublic String encode()
encode in class SDPField
|
NIST-SIP: The Reference Implementation for JAIN-SIP 1.2 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||