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

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

public class OriginField
extends SDPField
implements javax.sdp.Origin

Origin 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
 
コンストラクタの概要
OriginField()
           
 
メソッドの概要
 java.lang.String encode()
          Get the string encoded version of this object
 java.lang.String getAddress()
          Returns the type of the network for this Connection.
 java.lang.String getAddressType()
          Returns the type of the address for this Connection.
 java.lang.String getAddrtype()
          Get the address type member.
 Host getHost()
          Get the host member.
 java.lang.String getNettype()
          Get the netType member.
 java.lang.String getNetworkType()
          Returns the type of the network for this Connection
 long getSessId()
          Get the sessionID member.
 long getSessionId()
          Returns the unique identity of the session.
 long getSessionVersion()
          Returns the unique version of the session.
 long getSessVersion()
          Get the sessionVersion member.
 java.lang.String getUsername()
          Returns the name of the session originator.
 void setAddress(Host a)
          Set the address member
 void setAddress(java.lang.String addr)
          Sets the type of the address for this Connection.
 void setAddressType(java.lang.String type)
          Returns the type of the network for this Connection.
 void setAddrtype(java.lang.String a)
          Set the addrtype member
 void setNettype(java.lang.String n)
          Set the nettype member
 void setNetworkType(java.lang.String type)
          Sets the type of the network for this Connection.
 void setSessId(long s)
          Set the sessId member
 void setSessionId(long id)
          Sets the unique identity of the session.
 void setSessionVersion(long version)
          Sets the unique version of the session.
 void setSessVersion(long s)
          Set the sessVersion member
 void setUsername(java.lang.String user)
          Sets the name of the session originator.
 
クラス 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
 

コンストラクタの詳細

OriginField

public OriginField()
メソッドの詳細

getUsername

public java.lang.String getUsername()
                             throws javax.sdp.SdpParseException
Returns the name of the session originator.

定義:
インタフェース javax.sdp.Origin 内の getUsername
戻り値:
the string username.
例外:
javax.sdp.SdpParseException

getSessId

public long getSessId()
Get the sessionID member.


getSessVersion

public long getSessVersion()
Get the sessionVersion member.


getNettype

public java.lang.String getNettype()
Get the netType member.


getAddrtype

public java.lang.String getAddrtype()
Get the address type member.


getHost

public Host getHost()
Get the host member.


setSessId

public void setSessId(long s)
Set the sessId member


setSessVersion

public void setSessVersion(long s)
Set the sessVersion member


setNettype

public void setNettype(java.lang.String n)
Set the nettype member


setAddrtype

public void setAddrtype(java.lang.String a)
Set the addrtype member


setAddress

public void setAddress(Host a)
Set the address member


setUsername

public void setUsername(java.lang.String user)
                 throws javax.sdp.SdpException
Sets the name of the session originator.

定義:
インタフェース javax.sdp.Origin 内の setUsername
パラメータ:
user - the string username.
例外:
javax.sdp.SdpException - if the parameter is null

getSessionId

public long getSessionId()
                  throws javax.sdp.SdpParseException
Returns the unique identity of the session.

定義:
インタフェース javax.sdp.Origin 内の getSessionId
戻り値:
the session id.
例外:
javax.sdp.SdpParseException

setSessionId

public void setSessionId(long id)
                  throws javax.sdp.SdpException
Sets the unique identity of the session.

定義:
インタフェース javax.sdp.Origin 内の setSessionId
パラメータ:
id - the session id.
例外:
javax.sdp.SdpException - if the id is <0

getSessionVersion

public long getSessionVersion()
                       throws javax.sdp.SdpParseException
Returns the unique version of the session.

定義:
インタフェース javax.sdp.Origin 内の getSessionVersion
戻り値:
the session version.
例外:
javax.sdp.SdpException
javax.sdp.SdpParseException

setSessionVersion

public void setSessionVersion(long version)
                       throws javax.sdp.SdpException
Sets the unique version of the session.

定義:
インタフェース javax.sdp.Origin 内の setSessionVersion
パラメータ:
version - the session version.
例外:
javax.sdp.SdpException - if the version is <0

getAddress

public java.lang.String getAddress()
                            throws javax.sdp.SdpParseException
Returns the type of the network for this Connection.

定義:
インタフェース javax.sdp.Origin 内の getAddress
戻り値:
the string network type.
例外:
javax.sdp.SdpParseException

getAddressType

public java.lang.String getAddressType()
                                throws javax.sdp.SdpParseException
Returns the type of the address for this Connection.

定義:
インタフェース javax.sdp.Origin 内の getAddressType
戻り値:
the string address type.
例外:
javax.sdp.SdpParseException

getNetworkType

public java.lang.String getNetworkType()
                                throws javax.sdp.SdpParseException
Returns the type of the network for this Connection

定義:
インタフェース javax.sdp.Origin 内の getNetworkType
戻り値:
the string network type.
例外:
javax.sdp.SdpParseException

setAddress

public void setAddress(java.lang.String addr)
                throws javax.sdp.SdpException
Sets the type of the address for this Connection.

定義:
インタフェース javax.sdp.Origin 内の setAddress
パラメータ:
addr - string address type.
例外:
javax.sdp.SdpException - if the addr is null

setAddressType

public void setAddressType(java.lang.String type)
                    throws javax.sdp.SdpException
Returns the type of the network for this Connection.

定義:
インタフェース javax.sdp.Origin 内の setAddressType
パラメータ:
type - the string network type.
例外:
javax.sdp.SdpException - if the type is null

setNetworkType

public void setNetworkType(java.lang.String type)
                    throws javax.sdp.SdpException
Sets the type of the network for this Connection.

定義:
インタフェース javax.sdp.Origin 内の setNetworkType
パラメータ:
type - the string network type.
例外:
javax.sdp.SdpException - if the type is null

encode

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

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