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

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

public class AttributeField
extends SDPField
implements javax.sdp.Attribute

Attribute Field.

バージョン:
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
 
コンストラクタの概要
AttributeField()
           
 
メソッドの概要
 java.lang.String encode()
          Get the string encoded version of this object
 NameValue getAttribute()
           
 java.lang.String getName()
          Returns the name of this attribute
 java.lang.String getValue()
          Returns the value of this attribute.
 boolean hasValue()
          Determines if this attribute has an associated value.
 void setAttribute(NameValue a)
          Set the attribute member
 void setName(java.lang.String name)
          Sets the id of this attribute.
 void setValue(java.lang.String value)
          Sets the value of this attribute.
 java.lang.String toString()
           
 
クラス gov.nist.javax.sdp.fields.SDPField から継承されたメソッド
getFieldName, getTypeChar
 
クラス 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
 

コンストラクタの詳細

AttributeField

public AttributeField()
メソッドの詳細

getAttribute

public NameValue getAttribute()

setAttribute

public void setAttribute(NameValue a)
Set the attribute member


encode

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

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

toString

public java.lang.String toString()
オーバーライド:
クラス SDPField 内の toString

getName

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

定義:
インタフェース javax.sdp.Attribute 内の getName
戻り値:
a String identity or null.
例外:
javax.sdp.SdpParseException - if the name is not well formatted.

setName

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

定義:
インタフェース javax.sdp.Attribute 内の setName
パラメータ:
name - the string name/id of the attribute.
例外:
javax.sdp.SdpException - if the name is null

hasValue

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

定義:
インタフェース javax.sdp.Attribute 内の hasValue
戻り値:
true if the attribute has a value.
例外:
javax.sdp.SdpParseException - if the value is not well formatted.

getValue

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

定義:
インタフェース javax.sdp.Attribute 内の getValue
戻り値:
the value; null if the attribute has no associated value.
例外:
javax.sdp.SdpParseException - if the value is not well formatted.

setValue

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

定義:
インタフェース javax.sdp.Attribute 内の setValue
パラメータ:
value - the - attribute value
例外:
javax.sdp.SdpException - if the value is null.