gov.nist.javax.sdp.fields
クラス PhoneField
java.lang.Object
gov.nist.core.GenericObject
gov.nist.javax.sdp.fields.SDPObject
gov.nist.javax.sdp.fields.SDPField
gov.nist.javax.sdp.fields.PhoneField
- すべての実装されたインタフェース:
- SDPFieldNames, java.io.Serializable, java.lang.Cloneable, javax.sdp.Field, javax.sdp.Phone
public class PhoneField
- extends SDPField
- implements javax.sdp.Phone
Phone Field SDP header
- バージョン:
- JSR141-PUBLIC-REVIEW (subject to change).
- 作成者:
- Olivier Deruelle , M. Ranganathan
This code is in the public domain.
- 関連項目:
- 直列化された形式
インタフェース 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 |
メソッドの概要 |
java.lang.String |
encode()
Get the string encoded version of this object |
java.lang.String |
getName()
|
java.lang.String |
getPhoneNumber()
|
java.lang.String |
getValue()
Returns the value. |
void |
setName(java.lang.String name)
Set the name member |
void |
setPhoneNumber(java.lang.String phoneNumber)
Set the phoneNumber member |
void |
setValue(java.lang.String value)
Sets the value. |
クラス java.lang.Object から継承されたメソッド |
getClass, hashCode, notify, notifyAll, wait, wait, wait |
インタフェース javax.sdp.Field から継承されたメソッド |
clone, getTypeChar |
PhoneField
public PhoneField()
getName
public java.lang.String getName()
getPhoneNumber
public java.lang.String getPhoneNumber()
setName
public void setName(java.lang.String name)
- Set the name member
- パラメータ:
name
- - the name to set.
setPhoneNumber
public void setPhoneNumber(java.lang.String phoneNumber)
- Set the phoneNumber member
- パラメータ:
phoneNumber
- - phone number to set.
getValue
public java.lang.String getValue()
throws javax.sdp.SdpParseException
- Returns the value.
- 定義:
- インタフェース
javax.sdp.Phone
内の getValue
- 戻り値:
- the value.
- 例外:
javax.sdp.SdpParseException
setValue
public void setValue(java.lang.String value)
throws javax.sdp.SdpException
- Sets the value.
- 定義:
- インタフェース
javax.sdp.Phone
内の setValue
- パラメータ:
value
- the - new information.
- 例外:
javax.sdp.SdpException
- if the value is null
encode
public java.lang.String encode()
- Get the string encoded version of this object
- 定義:
- クラス
SDPField
内の encode
- 導入されたバージョン:
- v1.0
Here, we implement only the "name " form
and not the "phoneNumber (name)" form