|
||||||||||
前のクラス 次のクラス | フレームあり フレームなし | |||||||||
概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |
java.lang.Objectgov.nist.javax.sdp.SessionDescriptionImpl
public class SessionDescriptionImpl
Implementation of the SessionDescription interface.
コンストラクタの概要 | |
---|---|
SessionDescriptionImpl()
Creates new SessionDescriptionImpl |
メソッドの概要 | |
---|---|
void |
addField(SDPField sdpField)
|
java.lang.Object |
clone()
Public clone declaration. |
java.lang.String |
getAttribute(java.lang.String name)
Returns the value of the specified attribute. |
java.util.Vector |
getAttributes(boolean create)
Returns the set of attributes for this Description as a Vector of Attribute objects in the order they were parsed. |
int |
getBandwidth(java.lang.String name)
Returns the integer value of the specified bandwidth name. |
java.util.Vector |
getBandwidths(boolean create)
Returns the Bandwidth of the specified type. |
javax.sdp.Connection |
getConnection()
Returns the connection information associated with this object. |
java.util.Vector |
getEmails(boolean create)
Returns an email address to contact for further information about the session. |
javax.sdp.Info |
getInfo()
Returns value of the info field (i=) of this object. |
javax.sdp.Key |
getKey()
Returns the key data. |
java.util.Vector |
getMediaDescriptions(boolean create)
Adds a MediaDescription to the session description. |
javax.sdp.Origin |
getOrigin()
Returns information about the originator of the session. |
java.util.Vector |
getPhones(boolean create)
Returns a phone number to contact for further information about the session. |
javax.sdp.SessionName |
getSessionName()
Returns the name of the session. |
java.util.Vector |
getTimeDescriptions(boolean create)
Returns a TimeField indicating the start, stop, repetition and time zone information of the session. |
javax.sdp.URI |
getURI()
Returns a uri to the location of more details about the session. |
javax.sdp.Version |
getVersion()
Returns the version of SDP in use. |
java.util.Vector |
getZoneAdjustments(boolean create)
Returns the time zone adjustments for the Session |
void |
removeAttribute(java.lang.String name)
Removes the attribute specified by the value parameter. |
void |
removeBandwidth(java.lang.String name)
Removes the specified bandwidth type. |
void |
setAttribute(java.lang.String name,
java.lang.String value)
Sets the value of the specified attribute. |
void |
setAttributes(java.util.Vector attributes)
Adds the specified Attribute to this Description object. |
void |
setBandwidth(java.lang.String name,
int value)
Sets the value of the specified bandwidth type. |
void |
setBandwidths(java.util.Vector bandwidthList)
set the value of the Bandwidth with the specified type. |
void |
setConnection(javax.sdp.Connection conn)
Set the connection data for this entity. |
void |
setEmails(java.util.Vector emails)
Sets a an email address to contact for further information about the session. |
void |
setInfo(javax.sdp.Info i)
Sets the i= field of this object. |
void |
setKey(javax.sdp.Key key)
Sets encryption key information. |
void |
setMediaDescriptions(java.util.Vector mediaDescriptions)
Removes all MediaDescriptions from the session description. |
void |
setOrigin(javax.sdp.Origin origin)
Sets information about the originator of the session. |
void |
setPhones(java.util.Vector phones)
Sets a phone number to contact for further information about the session. |
void |
setSessionName(javax.sdp.SessionName sessionName)
Sets the name of the session. |
void |
setTimeDescriptions(java.util.Vector times)
Sets a TimeField indicating the start, stop, repetition and time zone information of the session. |
void |
setURI(javax.sdp.URI uri)
Sets the uri to the location of more details about the session. |
void |
setVersion(javax.sdp.Version v)
Sets the version of SDP in use. |
void |
setZoneAdjustments(java.util.Vector zoneAdjustments)
Sets the time zone adjustment for the TimeField. |
java.lang.String |
toString()
Returns the canonical string representation of the current SessionDescrption. |
クラス java.lang.Object から継承されたメソッド |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
コンストラクタの詳細 |
---|
public SessionDescriptionImpl()
メソッドの詳細 |
---|
public void addField(SDPField sdpField) throws java.text.ParseException
java.text.ParseException
public java.lang.Object clone() throws java.lang.CloneNotSupportedException
javax.sdp.SessionDescription
内の clone
java.lang.Object
内の clone
java.lang.CloneNotSupportedException
- if clone method is not supportedpublic javax.sdp.Version getVersion()
javax.sdp.SessionDescription
内の getVersion
public void setVersion(javax.sdp.Version v) throws javax.sdp.SdpException
javax.sdp.SessionDescription
内の setVersion
v
- version - the integer version.
javax.sdp.SdpException
- if the version is nullpublic javax.sdp.Origin getOrigin()
javax.sdp.SessionDescription
内の getOrigin
public void setOrigin(javax.sdp.Origin origin) throws javax.sdp.SdpException
javax.sdp.SessionDescription
内の setOrigin
origin
- origin - the originator data.
javax.sdp.SdpException
- if the origin is nullpublic javax.sdp.SessionName getSessionName()
javax.sdp.SessionDescription
内の getSessionName
public void setSessionName(javax.sdp.SessionName sessionName) throws javax.sdp.SdpException
javax.sdp.SessionDescription
内の setSessionName
sessionName
- name - the session name.
javax.sdp.SdpException
- if the sessionName is nullpublic javax.sdp.Info getInfo()
javax.sdp.SessionDescription
内の getInfo
public void setInfo(javax.sdp.Info i) throws javax.sdp.SdpException
javax.sdp.SessionDescription
内の setInfo
i
- s - new i= value; if null removes the field
javax.sdp.SdpException
- if the info is nullpublic javax.sdp.URI getURI()
javax.sdp.SessionDescription
内の getURI
public void setURI(javax.sdp.URI uri) throws javax.sdp.SdpException
javax.sdp.SessionDescription
内の setURI
uri
- uri - the uri.
javax.sdp.SdpException
- if the uri is nullpublic java.util.Vector getEmails(boolean create) throws javax.sdp.SdpParseException
javax.sdp.SessionDescription
内の getEmails
create
- boolean to set
javax.sdp.SdpException
javax.sdp.SdpParseException
public void setEmails(java.util.Vector emails) throws javax.sdp.SdpException
javax.sdp.SessionDescription
内の setEmails
emails
- email - the email address.
javax.sdp.SdpException
- if the vector is nullpublic java.util.Vector getPhones(boolean create) throws javax.sdp.SdpException
javax.sdp.SessionDescription
内の getPhones
create
- boolean to set
javax.sdp.SdpException
public void setPhones(java.util.Vector phones) throws javax.sdp.SdpException
javax.sdp.SessionDescription
内の setPhones
phones
- phone - the phone number.
javax.sdp.SdpException
- if the vector is nullpublic java.util.Vector getTimeDescriptions(boolean create) throws javax.sdp.SdpException
javax.sdp.SessionDescription
内の getTimeDescriptions
create
- boolean to set
javax.sdp.SdpException
public void setTimeDescriptions(java.util.Vector times) throws javax.sdp.SdpException
javax.sdp.SessionDescription
内の setTimeDescriptions
times
- time - the TimeField.
javax.sdp.SdpException
- if the vector is nullpublic java.util.Vector getZoneAdjustments(boolean create) throws javax.sdp.SdpException
javax.sdp.SessionDescription
内の getZoneAdjustments
create
- boolean to set
javax.sdp.SdpException
public void setZoneAdjustments(java.util.Vector zoneAdjustments) throws javax.sdp.SdpException
javax.sdp.SessionDescription
内の setZoneAdjustments
zoneAdjustments
- zoneAdjustments - a Hashtable containing the zone
adjustments, where the key
is the Adjusted Time Zone and the value is the offset.
javax.sdp.SdpException
- if the vector is nullpublic javax.sdp.Connection getConnection()
javax.sdp.SessionDescription
内の getConnection
public void setConnection(javax.sdp.Connection conn) throws javax.sdp.SdpException
javax.sdp.SessionDescription
内の setConnection
conn
- to set
javax.sdp.SdpException
- if the parameter is nullpublic java.util.Vector getBandwidths(boolean create)
javax.sdp.SessionDescription
内の getBandwidths
create
- type - type of the Bandwidth to return
public void setBandwidths(java.util.Vector bandwidthList) throws javax.sdp.SdpException
javax.sdp.SessionDescription
内の setBandwidths
bandwidthList
- to set
javax.sdp.SdpException
- if the vector is nullpublic int getBandwidth(java.lang.String name) throws javax.sdp.SdpParseException
javax.sdp.SessionDescription
内の getBandwidth
name
- name - the name of the bandwidth type
javax.sdp.SdpParseException
public void setBandwidth(java.lang.String name, int value) throws javax.sdp.SdpException
javax.sdp.SessionDescription
内の setBandwidth
name
- name - the name of the bandwidth type.value
- value - the value of the named bandwidth type.
javax.sdp.SdpException
- if the name is nullpublic void removeBandwidth(java.lang.String name)
javax.sdp.SessionDescription
内の removeBandwidth
name
- name - the name of the bandwidth typepublic javax.sdp.Key getKey()
javax.sdp.SessionDescription
内の getKey
public void setKey(javax.sdp.Key key) throws javax.sdp.SdpException
javax.sdp.SessionDescription
内の setKey
key
- key - the encryption key data; depending on method may be null
javax.sdp.SdpException
- if the parameter is nullpublic java.lang.String getAttribute(java.lang.String name) throws javax.sdp.SdpParseException
javax.sdp.SessionDescription
内の getAttribute
name
- name - the name of the attribute
javax.sdp.SdpParseException
public java.util.Vector getAttributes(boolean create)
javax.sdp.SessionDescription
内の getAttributes
create
- create - specifies whether to return null or a new empty
Vector in case no
attributes exists for this Description
public void removeAttribute(java.lang.String name)
javax.sdp.SessionDescription
内の removeAttribute
name
- name - the name of the attributepublic void setAttribute(java.lang.String name, java.lang.String value) throws javax.sdp.SdpException
javax.sdp.SessionDescription
内の setAttribute
name
- name - the name of the attribute.value
- value - the value of the named attribute.
javax.sdp.SdpException
- if the name or the value is nullpublic void setAttributes(java.util.Vector attributes) throws javax.sdp.SdpException
javax.sdp.SessionDescription
内の setAttributes
Attributes
- attribute - the attribute to add
javax.sdp.SdpException
- if the vector is nullpublic java.util.Vector getMediaDescriptions(boolean create) throws javax.sdp.SdpException
javax.sdp.SessionDescription
内の getMediaDescriptions
create
- boolean to set
javax.sdp.SdpException
public void setMediaDescriptions(java.util.Vector mediaDescriptions) throws javax.sdp.SdpException
javax.sdp.SessionDescription
内の setMediaDescriptions
mediaDescriptions
- to set
javax.sdp.SdpException
- if the parameter is nullpublic java.lang.String toString()
java.lang.Object
内の toString
|
||||||||||
前のクラス 次のクラス | フレームあり フレームなし | |||||||||
概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |