org.mobicents.servlet.sip.address
Class TelURLImpl
java.lang.Object
org.mobicents.servlet.sip.address.ParameterableImpl
org.mobicents.servlet.sip.address.URIImpl
org.mobicents.servlet.sip.address.TelURLImpl
- All Implemented Interfaces:
- java.lang.Cloneable, Parameterable, TelURL, URI
public class TelURLImpl
- extends URIImpl
- implements TelURL
Wrapper class for servlet TelURL. Would be nice if the javax.sip and servlet
spec adopted the same convention.
- Author:
- M. Ranganathan
|
Constructor Summary |
TelURLImpl(javax.sip.address.TelURL telUrl)
|
| Methods inherited from class java.lang.Object |
finalize, getClass, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface javax.servlet.sip.TelURL |
equals |
TelURLImpl
public TelURLImpl(javax.sip.address.TelURL telUrl)
getPhoneNumber
public java.lang.String getPhoneNumber()
- Specified by:
getPhoneNumber in interface TelURL
isGlobal
public boolean isGlobal()
- Specified by:
isGlobal in interface TelURL
setPhoneNumber
public void setPhoneNumber(java.lang.String number)
- Specified by:
setPhoneNumber in interface TelURL
getParameter
public java.lang.String getParameter(java.lang.String key)
- Specified by:
getParameter in interface Parameterable- Specified by:
getParameter in interface URI- Overrides:
getParameter in class ParameterableImpl
getParameterNames
public java.util.Iterator<java.lang.String> getParameterNames()
- Specified by:
getParameterNames in interface Parameterable- Specified by:
getParameterNames in interface URI- Overrides:
getParameterNames in class ParameterableImpl
getScheme
public java.lang.String getScheme()
- Specified by:
getScheme in interface URI- Overrides:
getScheme in class URIImpl
isSipURI
public boolean isSipURI()
- Specified by:
isSipURI in interface URI- Overrides:
isSipURI in class URIImpl
removeParameter
public void removeParameter(java.lang.String name)
- Specified by:
removeParameter in interface Parameterable- Specified by:
removeParameter in interface URI- Overrides:
removeParameter in class ParameterableImpl
setParameter
public void setParameter(java.lang.String name,
java.lang.String value)
- Specified by:
setParameter in interface Parameterable- Specified by:
setParameter in interface URI- Overrides:
setParameter in class ParameterableImpl
clone
public TelURL clone()
- Specified by:
clone in interface Parameterable- Specified by:
clone in interface URI- Specified by:
clone in class URIImpl
toString
public java.lang.String toString()
- Specified by:
toString in interface TelURL- Specified by:
toString in interface URI- Overrides:
toString in class URIImpl
getValue
public java.lang.String getValue()
- Specified by:
getValue in interface Parameterable
setValue
public void setValue(java.lang.String value)
- Specified by:
setValue in interface Parameterable
getPhoneContext
public java.lang.String getPhoneContext()
-
- Specified by:
getPhoneContext in interface TelURL
setPhoneNumber
public void setPhoneNumber(java.lang.String number,
java.lang.String phoneContext)
-
- Specified by:
setPhoneNumber in interface TelURL
Copyright © 2008. All Rights Reserved.