Java Doc for QNameMap.java in  » 6.0-JDK-Modules » jax-ws-runtime » com » sun » xml » ws » util » 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 » jax ws runtime » com.sun.xml.ws.util 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


java.lang.Object
   com.sun.xml.ws.util.QNameMap

QNameMap
final public class QNameMap (Code)
Map keyed by QName . This specialized map allows a look up operation without constructing a new QName instance, for a performance reason. This Map assumes that both namespace URI and local name are String.intern intern ed.
since:
   JAXB 2.0

Inner Class :final public static class Entry

Field Summary
transient  intsize
     The number of key-value mappings contained in this identity hash map.
transient  Entry<V>[]table
     The table, resized as necessary.

Constructor Summary
public  QNameMap()
    

Method Summary
public  booleancontainsKey(String nsUri, String localName)
    
public  Set<Entry<V>>entrySet()
    
public  Vget(String nsUri, String localPart)
     Returns the value to which the specified keys are mapped in this QNameMap, or null if the map contains no mapping for this key.
Parameters:
  nsUri - the namespaceUri key whose associated value is to be returned.
Parameters:
  localPart - the localPart key whose associated value is to be returned.
public  Vget(QName name)
    
public  Entry<V>getOne()
     Returns one random item in the map.
public  booleanisEmpty()
     Returns true if this map is empty.
public  Collection<QName>keySet()
    
public  voidput(String namespaceUri, String localname, V value)
     Associates the specified value with the specified keys in this map.
public  voidput(QName name, V value)
    
public  QNameMap<V>putAll(QNameMap<? extends V> map)
     Copies all of the mappings from the specified map to this map These mappings will replace any mappings that this map had for any of the keys currently in the specified map.
public  QNameMap<V>putAll(Map<QName, ? extends V> map)
    
public  intsize()
     Returns the number of keys-value mappings in this map.
public  StringtoString()
    
public  Iterable<V>values()
    

Field Detail
size
transient int size(Code)
The number of key-value mappings contained in this identity hash map.



table
transient Entry<V>[] table(Code)
The table, resized as necessary. Length MUST Always be a power of two.




Constructor Detail
QNameMap
public QNameMap()(Code)




Method Detail
containsKey
public boolean containsKey(String nsUri, String localName)(Code)



entrySet
public Set<Entry<V>> entrySet()(Code)



get
public V get(String nsUri, String localPart)(Code)
Returns the value to which the specified keys are mapped in this QNameMap, or null if the map contains no mapping for this key.
Parameters:
  nsUri - the namespaceUri key whose associated value is to be returned.
Parameters:
  localPart - the localPart key whose associated value is to be returned. the value to which this map maps the specified set of keya, ornull if the map contains no mapping for this set of keys.
See Also:   QNameMap.put(String,String,Object)



get
public V get(QName name)(Code)



getOne
public Entry<V> getOne()(Code)
Returns one random item in the map. If this map is empty, return null.

This method is useful to obtain the value from a map that only contains one element.




isEmpty
public boolean isEmpty()(Code)
Returns true if this map is empty.



keySet
public Collection<QName> keySet()(Code)



put
public void put(String namespaceUri, String localname, V value)(Code)
Associates the specified value with the specified keys in this map. If the map previously contained a mapping for this key, the old value is replaced.
Parameters:
  namespaceUri - First key with which the specified value is to be associated.
Parameters:
  localname - Second key with which the specified value is to be associated.
Parameters:
  value - value to be associated with the specified key.



put
public void put(QName name, V value)(Code)



putAll
public QNameMap<V> putAll(QNameMap<? extends V> map)(Code)
Copies all of the mappings from the specified map to this map These mappings will replace any mappings that this map had for any of the keys currently in the specified map.
Parameters:
  map - mappings to be stored in this map.



putAll
public QNameMap<V> putAll(Map<QName, ? extends V> map)(Code)



size
public int size()(Code)
Returns the number of keys-value mappings in this map. the number of keys-value mappings in this map.



toString
public String toString()(Code)



values
public Iterable<V> values()(Code)



Methods inherited from java.lang.Object
native protected Object clone() throws CloneNotSupportedException(Code)(Java Doc)
public boolean equals(Object obj)(Code)(Java Doc)
protected void finalize() throws Throwable(Code)(Java Doc)
final native public Class getClass()(Code)(Java Doc)
native public int hashCode()(Code)(Java Doc)
final native public void notify()(Code)(Java Doc)
final native public void notifyAll()(Code)(Java Doc)
public String toString()(Code)(Java Doc)
final native public void wait(long timeout) throws InterruptedException(Code)(Java Doc)
final public void wait(long timeout, int nanos) throws InterruptedException(Code)(Java Doc)
final public void wait() throws InterruptedException(Code)(Java Doc)

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