gov.nist.javax.sip.address
クラス TelURLImpl

java.lang.Object
  上位を拡張 gov.nist.core.GenericObject
      上位を拡張 gov.nist.javax.sip.address.NetObject
          上位を拡張 gov.nist.javax.sip.address.GenericURI
              上位を拡張 gov.nist.javax.sip.address.TelURLImpl
すべての実装されたインタフェース:
java.io.Serializable, java.lang.Cloneable, javax.sip.address.TelURL, javax.sip.address.URI, javax.sip.header.Parameters

public class TelURLImpl
extends GenericURI
implements javax.sip.address.TelURL

Implementation of the TelURL interface.

バージョン:
JAIN-SIP-1.1 $Revision: 1.2 $ $Date: 2004/01/22 13:26:28 $
作成者:
M. Ranganathan This code is in the public domain.
関連項目:
直列化された形式

フィールドの概要
 
クラス gov.nist.javax.sip.address.GenericURI から継承されたフィールド
ISUB, PHONE_CONTEXT_TAG, POSTDIAL, PROVIDER_TAG, SIP, SIPS, TEL
 
コンストラクタの概要
TelURLImpl()
          Creates a new instance of TelURLImpl
 
メソッドの概要
 java.lang.Object clone()
          Deep copy clone operation.
 java.lang.String encode()
          Encode the URI.
 java.lang.String getIsdnSubAddress()
          Returns the value of the isdnSubAddress parameter, or null if it is not set.
 java.lang.String getParameter(java.lang.String parameterName)
           
 java.util.Iterator getParameterNames()
           
 java.lang.String getPhoneNumber()
          Get the telephone number.
 java.lang.String getPostDial()
          Returns the value of the postDial parameter, or null if it is not set.
 java.lang.String getScheme()
          Returns the value of the "scheme" of this URI, for example "sip", "sips" or "tel".
 boolean isGlobal()
          Returns true if this TelURL is global i.e. if the TelURI has a global phone user.
 boolean isSipURI()
          This method determines if this is a URI with a scheme of "sip" or "sips".
 void removeParameter(java.lang.String name)
           
 void setGlobal(boolean global)
          Sets phone user of this TelURL to be either global or local.
 void setIsdnSubAddress(java.lang.String isdnSubAddress)
          Sets ISDN subaddress of this TelURL.
 void setParameter(java.lang.String name, java.lang.String value)
           
 void setPhoneNumber(java.lang.String telephoneNumber)
          Set the telephone number.
 void setPostDial(java.lang.String postDial)
          Sets post dial of this TelURL.
 void setTelephoneNumber(TelephoneNumber telephoneNumber)
          Set the telephone number.
 java.lang.String toString()
          Return the string encoding.
 
クラス gov.nist.javax.sip.address.NetObject から継承されたメソッド
debugDump, debugDump, equals, match, merge, replace, replace, replace, replace
 
クラス gov.nist.core.GenericObject から継承されたメソッド
getClassFromName, getMatcher, isMySubclass, setMatcher
 
クラス java.lang.Object から継承されたメソッド
getClass, hashCode, notify, notifyAll, wait, wait, wait
 

コンストラクタの詳細

TelURLImpl

public TelURLImpl()
Creates a new instance of TelURLImpl

メソッドの詳細

setTelephoneNumber

public void setTelephoneNumber(TelephoneNumber telephoneNumber)
Set the telephone number.

パラメータ:
telephoneNumber - -- telephone number to set.

getIsdnSubAddress

public java.lang.String getIsdnSubAddress()
Returns the value of the isdnSubAddress parameter, or null if it is not set.

定義:
インタフェース javax.sip.address.TelURL 内の getIsdnSubAddress
戻り値:
the value of the isdnSubAddress parameter

getPostDial

public java.lang.String getPostDial()
Returns the value of the postDial parameter, or null if it is not set.

定義:
インタフェース javax.sip.address.TelURL 内の getPostDial
戻り値:
the value of the postDial parameter

getScheme

public java.lang.String getScheme()
Returns the value of the "scheme" of this URI, for example "sip", "sips" or "tel".

定義:
インタフェース javax.sip.address.URI 内の getScheme
オーバーライド:
クラス GenericURI 内の getScheme
戻り値:
the scheme paramter of the URI

isGlobal

public boolean isGlobal()
Returns true if this TelURL is global i.e. if the TelURI has a global phone user.

定義:
インタフェース javax.sip.address.TelURL 内の isGlobal
戻り値:
true if this TelURL represents a global phone user, and false otherwise.

isSipURI

public boolean isSipURI()
This method determines if this is a URI with a scheme of "sip" or "sips".

定義:
インタフェース javax.sip.address.URI 内の isSipURI
オーバーライド:
クラス GenericURI 内の isSipURI
戻り値:
true if the scheme is "sip" or "sips", false otherwise.

setGlobal

public void setGlobal(boolean global)
Sets phone user of this TelURL to be either global or local. The default value is false, hence the TelURL is defaulted to local.

定義:
インタフェース javax.sip.address.TelURL 内の setGlobal
パラメータ:
global - - the boolean value indicating if the TelURL has a global phone user.

setIsdnSubAddress

public void setIsdnSubAddress(java.lang.String isdnSubAddress)
Sets ISDN subaddress of this TelURL. If a subaddress is present, it is appended to the phone number after ";isub=".

定義:
インタフェース javax.sip.address.TelURL 内の setIsdnSubAddress
パラメータ:
isdnSubAddress - - new value of the isdnSubAddress parameter

setPostDial

public void setPostDial(java.lang.String postDial)
Sets post dial of this TelURL. The post-dial sequence describes what and when the local entity should send to the phone line.

定義:
インタフェース javax.sip.address.TelURL 内の setPostDial
パラメータ:
postDial - - new value of the postDial parameter

setPhoneNumber

public void setPhoneNumber(java.lang.String telephoneNumber)
Set the telephone number.

定義:
インタフェース javax.sip.address.TelURL 内の setPhoneNumber
パラメータ:
telephoneNumber - long phone number to set.

getPhoneNumber

public java.lang.String getPhoneNumber()
Get the telephone number.

定義:
インタフェース javax.sip.address.TelURL 内の getPhoneNumber
戻り値:
-- the telephone number.

toString

public java.lang.String toString()
Return the string encoding.

定義:
インタフェース javax.sip.address.TelURL 内の toString
定義:
インタフェース javax.sip.address.URI 内の toString
オーバーライド:
クラス GenericURI 内の toString
戻り値:
-- the string encoding.

encode

public java.lang.String encode()
クラス GenericURI の記述:
Encode the URI.

オーバーライド:
クラス GenericURI 内の encode
戻り値:
The encoded URI

clone

public java.lang.Object clone()
Deep copy clone operation.

定義:
インタフェース javax.sip.address.URI 内の clone
オーバーライド:
クラス GenericURI 内の clone
戻り値:
-- a cloned version of this telephone number.

getParameter

public java.lang.String getParameter(java.lang.String parameterName)
定義:
インタフェース javax.sip.header.Parameters 内の getParameter

setParameter

public void setParameter(java.lang.String name,
                         java.lang.String value)
定義:
インタフェース javax.sip.header.Parameters 内の setParameter

getParameterNames

public java.util.Iterator getParameterNames()
定義:
インタフェース javax.sip.header.Parameters 内の getParameterNames

removeParameter

public void removeParameter(java.lang.String name)
定義:
インタフェース javax.sip.header.Parameters 内の removeParameter