Java Doc for Address.java in  » 6.0-JDK-Modules » Java-Advanced-Imaging » javax » sip » address » Java Source Code / Java DocumentationJava Source Code and Java Documentation

Java Source Code / Java Documentation
1. 6.0 JDK Core
2. 6.0 JDK Modules
3. 6.0 JDK Modules com.sun
4. 6.0 JDK Modules com.sun.java
5. 6.0 JDK Modules sun
6. 6.0 JDK Platform
7. Ajax
8. Apache Harmony Java SE
9. Aspect oriented
10. Authentication Authorization
11. Blogger System
12. Build
13. Byte Code
14. Cache
15. Chart
16. Chat
17. Code Analyzer
18. Collaboration
19. Content Management System
20. Database Client
21. Database DBMS
22. Database JDBC Connection Pool
23. Database ORM
24. Development
25. EJB Server geronimo
26. EJB Server GlassFish
27. EJB Server JBoss 4.2.1
28. EJB Server resin 3.1.5
29. ERP CRM Financial
30. ESB
31. Forum
32. GIS
33. Graphic Library
34. Groupware
35. HTML Parser
36. IDE
37. IDE Eclipse
38. IDE Netbeans
39. Installer
40. Internationalization Localization
41. Inversion of Control
42. Issue Tracking
43. J2EE
44. JBoss
45. JMS
46. JMX
47. Library
48. Mail Clients
49. Net
50. Parser
51. PDF
52. Portal
53. Profiler
54. Project Management
55. Report
56. RSS RDF
57. Rule Engine
58. Science
59. Scripting
60. Search Engine
61. Security
62. Sevlet Container
63. Source Control
64. Swing Library
65. Template Engine
66. Test Coverage
67. Testing
68. UML
69. Web Crawler
70. Web Framework
71. Web Mail
72. Web Server
73. Web Services
74. Web Services apache cxf 2.0.1
75. Web Services AXIS2
76. Wiki Engine
77. Workflow Engines
78. XML
79. XML UI
Java
Java Tutorial
Java Open Source
Jar File Download
Java Articles
Java Products
Java by API
Photoshop Tutorials
Maya Tutorials
Flash Tutorials
3ds-Max Tutorials
Illustrator Tutorials
GIMP Tutorials
C# / C Sharp
C# / CSharp Tutorial
C# / CSharp Open Source
ASP.Net
ASP.NET Tutorial
JavaScript DHTML
JavaScript Tutorial
JavaScript Reference
HTML / CSS
HTML CSS Reference
C / ANSI-C
C Tutorial
C++
C++ Tutorial
Ruby
PHP
Python
Python Tutorial
Python Open Source
SQL Server / T-SQL
SQL Server / T-SQL Tutorial
Oracle PL / SQL
Oracle PL/SQL Tutorial
PostgreSQL
SQL / MySQL
MySQL Tutorial
VB.Net
VB.Net Tutorial
Flash / Flex / ActionScript
VBA / Excel / Access / Word
XML
XML Tutorial
Microsoft Office PowerPoint 2007 Tutorial
Microsoft Office Excel 2007 Tutorial
Microsoft Office Word 2007 Tutorial
Java Source Code / Java Documentation » 6.0 JDK Modules » Java Advanced Imaging » javax.sip.address 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


javax.sip.address.Address

Address
public interface Address extends Cloneable,Serializable(Code)
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.
See Also:   SipURI
See Also:   TelURL
author:
   BEA Systems, NIST
version:
   1.2




Method Summary
public  Objectclone()
     Clone method.
public  booleanequals(Object obj)
     Indicates whether some other Object is "equal to" this Address. The actual implementation class of a Address object must override the Object.equals method.
public  StringgetDisplayName()
     Gets the display name of this Address, or null if the attribute is not set.
public  URIgetURI()
     Returns the URI of this Address.
public  inthashCode()
     Gets a hash code value for this address.
public  booleanisWildcard()
     This determines if this address is a wildcard address.
public  voidsetDisplayName(String displayName)
     Sets the display name of the Address.
public  voidsetURI(URI uri)
     Sets the URI of this Address.
public  StringtoString()
     Returns a string representation of this Address.



Method Detail
clone
public Object clone()(Code)
Clone method. An implementation is expected to override the default Object.clone method and return a "deep clone".
since:
   v1.2



equals
public boolean equals(Object obj)(Code)
Indicates whether some other Object is "equal to" this Address. The actual implementation class of a Address object must override the Object.equals method. The new equals method must ensure that the implementation of the method is reflexive, symmetric, transitive and for any non null value X, X.equals(null) returns false.
Parameters:
  obj - - the Object with which to compare this Address true if this Address is "equal to" the object argument andfalse otherwise.
See Also:   Object



getDisplayName
public String getDisplayName()(Code)
Gets the display name of this Address, or null if the attribute is not set. the display name of this Address



getURI
public URI getURI()(Code)
Returns the URI of this Address. The type of URI can be determined by the scheme. URI parmater of the Address object



hashCode
public int hashCode()(Code)
Gets a hash code value for this address. Implementations MUST implement a hashCode method that overrides the default hash code method for Objects comparision. a hash code value.
since:
   v1.2



isWildcard
public boolean isWildcard()(Code)
This determines if this address is a wildcard address. That is ((SipURI)Address.getURI()).getUser() == *;. This method is specific to SIP and SIPS schemes. true if this address is a wildcard, false otherwise.



setDisplayName
public void setDisplayName(String displayName) throws ParseException(Code)
Sets the display name of the Address. The display name is an additional user friendly personalized text that accompanies the address.
Parameters:
  displayName - - the new string value of the display name.
throws:
  ParseException - which signals that an error has been reachedunexpectedly while parsing the displayName value.



setURI
public void setURI(URI uri)(Code)
Sets the URI of this Address. The URI can be either a TelURL or a SipURI.
Parameters:
  uri - - the new URI value of this Address.



toString
public String toString()(Code)
Returns a string representation of this Address. the stringified representation of the Address



www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.