gov.nist.javax.sdp.fields
クラス KeyField

java.lang.Object
  上位を拡張 gov.nist.core.GenericObject
      上位を拡張 gov.nist.javax.sdp.fields.SDPObject
          上位を拡張 gov.nist.javax.sdp.fields.SDPField
              上位を拡張 gov.nist.javax.sdp.fields.KeyField
すべての実装されたインタフェース:
SDPFieldNames, java.io.Serializable, java.lang.Cloneable, javax.sdp.Field, javax.sdp.Key

public class KeyField
extends SDPField
implements javax.sdp.Key

Key field part of an SDP header. Acknowledgement. Bug fix contributed by espen@java.net

バージョン:
JSR141-PUBLIC-REVIEW (subject to change)
作成者:
Oliver Deruelle , M. Ranganathan
関連項目:
直列化された形式

フィールドの概要
 
インタフェース 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
 
コンストラクタの概要
KeyField()
           
 
メソッドの概要
 java.lang.String encode()
          Get the string encoded version of this object
 java.lang.String getKey()
          Returns the value of this attribute.
 java.lang.String getKeyData()
           
 java.lang.String getMethod()
          Returns the name of this attribute
 java.lang.String getType()
           
 boolean hasKey()
          Determines if this attribute has an associated value.
 void setKey(java.lang.String key)
          Sets the value of this attribute.
 void setKeyData(java.lang.String k)
          Set the keyData member
 void setMethod(java.lang.String name)
          Sets the id of this attribute.
 void setType(java.lang.String t)
          Set the type member
 
クラス gov.nist.javax.sdp.fields.SDPField から継承されたメソッド
getFieldName, getTypeChar, toString
 
クラス gov.nist.javax.sdp.fields.SDPObject から継承されたメソッド
clone, dbgPrint, debugDump, equals, match, merge, replace, replace, replace, replace
 
クラス gov.nist.core.GenericObject から継承されたメソッド
debugDump, getClassFromName, getMatcher, isMySubclass, setMatcher
 
クラス java.lang.Object から継承されたメソッド
getClass, hashCode, notify, notifyAll, wait, wait, wait
 
インタフェース javax.sdp.Field から継承されたメソッド
clone, getTypeChar
 

コンストラクタの詳細

KeyField

public KeyField()
メソッドの詳細

getType

public java.lang.String getType()

getKeyData

public java.lang.String getKeyData()

setType

public void setType(java.lang.String t)
Set the type member


setKeyData

public void setKeyData(java.lang.String k)
Set the keyData member


encode

public java.lang.String encode()
Get the string encoded version of this object

定義:
クラス SDPField 内の encode
導入されたバージョン:
v1.0

getMethod

public java.lang.String getMethod()
                           throws javax.sdp.SdpParseException
Returns the name of this attribute

定義:
インタフェース javax.sdp.Key 内の getMethod
戻り値:
the name of this attribute
例外:
javax.sdp.SdpParseException

setMethod

public void setMethod(java.lang.String name)
               throws javax.sdp.SdpException
Sets the id of this attribute.

定義:
インタフェース javax.sdp.Key 内の setMethod
パラメータ:
name - to set
例外:
javax.sdp.SdpException - if the name is null

hasKey

public boolean hasKey()
               throws javax.sdp.SdpParseException
Determines if this attribute has an associated value.

定義:
インタフェース javax.sdp.Key 内の hasKey
戻り値:
if this attribute has an associated value.
例外:
javax.sdp.SdpParseException

getKey

public java.lang.String getKey()
                        throws javax.sdp.SdpParseException
Returns the value of this attribute.

定義:
インタフェース javax.sdp.Key 内の getKey
戻り値:
the value of this attribute
例外:
javax.sdp.SdpParseException

setKey

public void setKey(java.lang.String key)
            throws javax.sdp.SdpException
Sets the value of this attribute.

定義:
インタフェース javax.sdp.Key 内の setKey
パラメータ:
key - to set
例外:
javax.sdp.SdpException - if key is null