|
NIST SIP Parser and Stack (v1.2) API | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectgov.nist.core.GenericObject
gov.nist.javax.sip.address.NetObject
gov.nist.javax.sip.address.TelephoneNumber
Telephone number class.
| Field Summary | |
static String |
ISUB
|
static String |
PHONE_CONTEXT_TAG
|
static String |
POSTDIAL
|
static String |
PROVIDER_TAG
|
| Constructor Summary | |
TelephoneNumber()
Creates new TelephoneNumber |
|
| Method Summary | |
void |
deleteParm(String name)
delete the specified parameter. |
String |
encode()
Encode into canonical form. |
String |
getIsdnSubaddress()
Get the isdn subaddress for this number. |
String |
getParameter(String name)
Returns the value of the named parameter, or null if it is not set. |
Iterator |
getParameterNames()
Returns an Iterator over the names (Strings) of all parameters. |
String |
getPhoneNumber()
get the PhoneNumber field |
String |
getPostDial()
get the PostDial field |
boolean |
hasIsdnSubaddress()
return true if the isdn subaddress exists. |
boolean |
hasParm(String pname)
return true if this header has parameters. |
boolean |
hasPostDial()
returns true if th PostDial field exists |
boolean |
isGlobal()
is a global telephone number. |
void |
removeIsdnSubaddress()
Remove the isdn subaddress (if it exists). |
void |
removeParameter(String parameter)
|
void |
removePostDial()
remove the PostDial field |
void |
setGlobal(boolean g)
set the Global field |
void |
setIsdnSubaddress(String isub)
set the isdn subaddress for this structure. |
void |
setParameter(String name,
String value)
|
void |
setParameters(NameValueList p)
Set the list of parameters. |
void |
setParm(String name,
Object value)
set the specified parameter |
void |
setPhoneNumber(String num)
set the PhoneNumber field |
void |
setPostDial(String p)
set the PostDial field |
| Methods inherited from class gov.nist.javax.sip.address.NetObject |
clone, debugDump, debugDump, equals, match, merge, replace, replace, replace, replace, toString |
| Methods inherited from class gov.nist.core.GenericObject |
getClassFromName, getMatcher, isMySubclass, setMatcher |
| Methods inherited from class java.lang.Object |
getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
public static final String POSTDIAL
public static final String PHONE_CONTEXT_TAG
public static final String ISUB
public static final String PROVIDER_TAG
| Constructor Detail |
public TelephoneNumber()
| Method Detail |
public void deleteParm(String name)
name - String to setpublic String getPhoneNumber()
public String getPostDial()
public String getIsdnSubaddress()
public boolean hasPostDial()
public boolean hasParm(String pname)
pname - String to set
public boolean hasIsdnSubaddress()
public boolean isGlobal()
public void removePostDial()
public void removeIsdnSubaddress()
public void setParameters(NameValueList p)
p - NameValueList to setpublic void setGlobal(boolean g)
g - boolean to setpublic void setPostDial(String p)
p - String to set
public void setParm(String name,
Object value)
name - String to setvalue - Object to setpublic void setIsdnSubaddress(String isub)
isub - String to setpublic void setPhoneNumber(String num)
num - String to setpublic String encode()
NetObject
encode in class NetObjectpublic String getParameter(String name)
public Iterator getParameterNames()
public void removeParameter(String parameter)
public void setParameter(String name,
String value)
|
NIST SIP Parser and Stack (v1.2) API | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||