|
||||||||||
前のクラス 次のクラス | フレームあり フレームなし | |||||||||
概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |
java.lang.Objectgov.nist.core.GenericObject
gov.nist.javax.sdp.fields.SDPObject
gov.nist.javax.sdp.fields.SDPField
gov.nist.javax.sdp.fields.AttributeField
public class AttributeField
Attribute Field.
フィールドの概要 |
---|
インタフェース 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 |
コンストラクタの詳細 |
---|
public AttributeField()
メソッドの詳細 |
---|
public NameValue getAttribute()
public void setAttribute(NameValue a)
public java.lang.String encode()
SDPField
内の encode
public java.lang.String toString()
SDPField
内の toString
public java.lang.String getName() throws javax.sdp.SdpParseException
javax.sdp.Attribute
内の getName
javax.sdp.SdpParseException
- if the name is not well formatted.public void setName(java.lang.String name) throws javax.sdp.SdpException
javax.sdp.Attribute
内の setName
name
- the string name/id of the attribute.
javax.sdp.SdpException
- if the name is nullpublic boolean hasValue() throws javax.sdp.SdpParseException
javax.sdp.Attribute
内の hasValue
javax.sdp.SdpParseException
- if the value is not well formatted.public java.lang.String getValue() throws javax.sdp.SdpParseException
javax.sdp.Attribute
内の getValue
javax.sdp.SdpParseException
- if the value is not well formatted.public void setValue(java.lang.String value) throws javax.sdp.SdpException
javax.sdp.Attribute
内の setValue
value
- the - attribute value
javax.sdp.SdpException
- if the value is null.
|
||||||||||
前のクラス 次のクラス | フレームあり フレームなし | |||||||||
概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |