|
NIST-SIP: The Reference Implementation for JAIN-SIP 1.2 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Address
This interface represents a user's display name and URI address. The display
name of an address is optional but if included can be displayed to an end-user.
The address URI (most likely a SipURI) is the user's address. For example a
'To' address of To: Bob sip:duke@jcp.org
would have a display
name attribute of Bob
and an address of
sip:duke@jcp.org
.
SipURI
,
TelURL
Method Summary | |
---|---|
Object |
clone()
Clone method. |
boolean |
equals(Object obj)
Indicates whether some other Object is "equal to" this Address. |
String |
getDisplayName()
Gets the display name of this Address, or null if the attribute is not set. |
URI |
getURI()
Returns the URI of this Address. |
int |
hashCode()
Gets a hash code value for this address. |
boolean |
isWildcard()
This determines if this address is a wildcard address. |
void |
setDisplayName(String displayName)
Sets the display name of the Address. |
void |
setURI(URI uri)
Sets the URI of this Address. |
String |
toString()
Returns a string representation of this Address. |
Method Detail |
---|
void setDisplayName(String displayName) throws ParseException
displayName
- - the new string value of the display name.
ParseException
- which signals that an error has been reached
unexpectedly while parsing the displayName value.String getDisplayName()
void setURI(URI uri)
uri
- - the new URI value of this Address.URI getURI()
String toString()
toString
in class Object
boolean equals(Object obj)
equals
in class Object
obj
- - the Object with which to compare this Address
Object
int hashCode()
hashCode
in class Object
boolean isWildcard()
((SipURI)Address.getURI()).getUser() == *;
. This method
is specific to SIP and SIPS schemes.
Object clone()
|
NIST-SIP: The Reference Implementation for JAIN-SIP 1.2 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |