Java Doc for ResourceLookup.java in  » Content-Management-System » harmonise » org » openharmonise » vfs » metadata » 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 » Content Management System » harmonise » org.openharmonise.vfs.metadata 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


java.lang.Object
   org.openharmonise.vfs.metadata.ResourceLookup

ResourceLookup
public class ResourceLookup (Code)
The ResourceLookup class provides a store of objects which can be requested out by either their full path or their fully qualified name, i.e. their namespace#name.
author:
   Matthew Large
version:
   $Revision: 1.1 $


Field Summary
 HashMapm_href2qname
     Map of full paths to fully qualified names.
 HashMapm_hrefLookup
     Map of full paths to objects.
 HashMapm_qname2href
     Map of fully qualified names to full paths.
 HashMapm_qnameLookup
     Map of fully qualified names to objects.

Constructor Summary
public  ResourceLookup(int nInitialSize)
    

Method Summary
public  ObjectgetByHREF(String sHREF)
     Returns an object for a given full path.
public  ObjectgetByQName(String sQName)
     Returns an object for a given fully qualified name.
public  SetgetHREFKeySet()
     Returns all the full paths in this ResoruceLookup.
public  StringgetHref(String sQName)
     Returns a full path for a given fully qualified name.
public  StringgetQName(String sHref)
     Returns a fully qualified name for a given full path.
public  SetgetQNameKeySet()
     Returns all the fully qualified names in this ResourceLookup.
public  CollectiongetValues()
     Returns all the values in this ResourceLookup.
public  voidput(String sQName, String sHREF, Object obj)
     Adds a new object to the lookup.
public  voidremove(Object obj)
     Removes a given object.
public  voidremoveByHREF(String sHREF)
     Remove an object for a given full path.
public  voidremoveByQName(String sQName)
     Removes an object for a given fully qualified name.

Field Detail
m_href2qname
HashMap m_href2qname(Code)
Map of full paths to fully qualified names.



m_hrefLookup
HashMap m_hrefLookup(Code)
Map of full paths to objects.



m_qname2href
HashMap m_qname2href(Code)
Map of fully qualified names to full paths.



m_qnameLookup
HashMap m_qnameLookup(Code)
Map of fully qualified names to objects.




Constructor Detail
ResourceLookup
public ResourceLookup(int nInitialSize)(Code)
Constructs a new ResoruceLookup
Parameters:
  nInitialSize - Initial size




Method Detail
getByHREF
public Object getByHREF(String sHREF)(Code)
Returns an object for a given full path.
Parameters:
  sHREF - Full path Object or null if not found



getByQName
public Object getByQName(String sQName)(Code)
Returns an object for a given fully qualified name.
Parameters:
  sQName - Fully qualified name Object or null if not found



getHREFKeySet
public Set getHREFKeySet()(Code)
Returns all the full paths in this ResoruceLookup. Set of full paths



getHref
public String getHref(String sQName)(Code)
Returns a full path for a given fully qualified name.
Parameters:
  sQName - Fully qualified name Full path or null if not found



getQName
public String getQName(String sHref)(Code)
Returns a fully qualified name for a given full path.
Parameters:
  sHref - Full path Fully qualified name or null if not found



getQNameKeySet
public Set getQNameKeySet()(Code)
Returns all the fully qualified names in this ResourceLookup. Set of fully qualified names



getValues
public Collection getValues()(Code)
Returns all the values in this ResourceLookup. Collection of objects



put
public void put(String sQName, String sHREF, Object obj)(Code)
Adds a new object to the lookup.
Parameters:
  sQName - Fully qualified name
Parameters:
  sHREF - Full path
Parameters:
  obj - Object



remove
public void remove(Object obj)(Code)
Removes a given object.
Parameters:
  obj - Object



removeByHREF
public void removeByHREF(String sHREF)(Code)
Remove an object for a given full path.
Parameters:
  sHREF - Full path



removeByQName
public void removeByQName(String sQName)(Code)
Removes an object for a given fully qualified name.
Parameters:
  sQName - Fully qualified name



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.