Java Doc for ICatalog.java in  » GIS » udig-1.1 » net » refractions » udig » catalog » 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 » GIS » udig 1.1 » net.refractions.udig.catalog 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


java.lang.Object
   net.refractions.udig.catalog.ICatalog

All known Subclasses:   net.refractions.udig.catalog.internal.CatalogImpl,  net.refractions.udig.catalog.google.GoogleCatalog,
ICatalog
abstract public class ICatalog implements IResolve(Code)
Interface to capture both the Local Catalog resources and Web Registry Service.

Conceptually provides a searchable Catalog of "Spatial Data Sources". Metadata search is abitrary.


author:
   David Zwiers, Refractions Research
since:
   0.7.0
See Also:   IService




Method Summary
abstract public  voidadd(IService service)
     Adds the specified entry to this catalog.
abstract public  voidaddCatalogListener(IResolveChangeListener listener)
    
abstract public  IGeoResourcecreateTemporaryResource(Object descriptor)
     Create an IGeoResource that is will be deleted after the session.
public  voiddispose(IProgressMonitor monitor)
    
abstract public  List<IResolve>find(URL resource, IProgressMonitor monitor)
     Find resources matching this id directly from this Catalog.
Parameters:
  resource - used to match resolves
Parameters:
  monitor - used to show the progress of the find.
abstract public  List<IService>findService(URL query)
     Find Service matching this id directly from this Catalog.
abstract public  TgetById(Class<T> type, URL id, IProgressMonitor monitor)
     Look in catalog for exact match with provided id.
public  ICatalogInfogetInfo(IProgressMonitor monitor)
     Aquire info on this Catalog.
abstract public  String[]getTemporaryDescriptorClasses()
     Returns The list of class names that this catalog can use to create Temporary Resources.
public  IResolveparent(IProgressMonitor monitor)
     Catalogs do not have a parent so null is returned.
abstract public  voidremove(IService service)
     Removes the specified entry to this catalog.
abstract public  voidremoveCatalogListener(IResolveChangeListener listener)
    
abstract public  voidreplace(URL id, IService service)
     Replaces the specified entry in this catalog.
abstract public  Tresolve(Class<T> adaptee, IProgressMonitor monitor)
     Will attempt to morph into the adaptee, and return that object.
abstract public  List<IResolve>search(String pattern, Envelope bbox, IProgressMonitor monitor)
     Performs a search on this catalog based on the specified inputs.
public  StringtoString()
     Indicate class and id.



Method Detail
add
abstract public void add(IService service) throws UnsupportedOperationException(Code)
Adds the specified entry to this catalog. In some cases the catalog will be backed onto a server, which may not allow for additions.

An IService may belong to more than one Catalog.


Parameters:
  entry -
throws:
  UnsupportedOperationException -



addCatalogListener
abstract public void addCatalogListener(IResolveChangeListener listener)(Code)

Parameters:
  listener -



createTemporaryResource
abstract public IGeoResource createTemporaryResource(Object descriptor) throws IllegalArgumentException(Code)
Create an IGeoResource that is will be deleted after the session. The descriptor object passed in is used to determine the type of resource that is created. For example if the descriptor object is a FeatureType then a IGeoResource that can resolve to a FeatureStore will be returned.
Parameters:
  descriptor - An object whose type is in the ICatalog.getTemporaryDescriptorClasses() array. an IGeoResource that is will be deleted after the session.
throws:
  IllegalArgumentException - if the descriptor type is not known.



dispose
public void dispose(IProgressMonitor monitor)(Code)



find
abstract public List<IResolve> find(URL resource, IProgressMonitor monitor)(Code)
Find resources matching this id directly from this Catalog.
Parameters:
  resource - used to match resolves
Parameters:
  monitor - used to show the progress of the find. List (possibly empty) of matching Resolves



findService
abstract public List<IService> findService(URL query)(Code)
Find Service matching this id directly from this Catalog. This method is guaranteed to be non-blocking.
Parameters:
  id - used to match resolves
Parameters:
  monitor - TODO List (possibly empty) of matching Resolves



getById
abstract public T getById(Class<T> type, URL id, IProgressMonitor monitor)(Code)
Look in catalog for exact match with provided id.
Parameters:
  type - Type of IResolve if known
Parameters:
  id - id used for lookup
Parameters:
  monitor - Resolve or null if not found



getInfo
public ICatalogInfo getInfo(IProgressMonitor monitor) throws IOException(Code)
Aquire info on this Catalog.

This is functionally equivalent to: resolve(ICatalogInfo.class,monitor)


See Also:   ICatalog.resolve(ClassIProgressMonitor) ICatalogInfo resolve(ICatalogInfo.class,IProgressMonitor monitor);



getTemporaryDescriptorClasses
abstract public String[] getTemporaryDescriptorClasses()(Code)
Returns The list of class names that this catalog can use to create Temporary Resources. The list of class names that this catalog can use to create Temporary Resources.



parent
public IResolve parent(IProgressMonitor monitor)(Code)
Catalogs do not have a parent so null is returned.

We can consider adding a global 'root' parent - but we will wait until we find a need, or if users request.

null as catalogs do not have a parent



remove
abstract public void remove(IService service) throws UnsupportedOperationException(Code)
Removes the specified entry to this catalog. In some cases the catalog will be backed onto a server, which may not allow for deletions.
Parameters:
  service -
throws:
  UnsupportedOperationException -



removeCatalogListener
abstract public void removeCatalogListener(IResolveChangeListener listener)(Code)

Parameters:
  listener -



replace
abstract public void replace(URL id, IService service) throws UnsupportedOperationException(Code)
Replaces the specified entry in this catalog. In some cases the catalog will be backed onto a server, which may not allow for deletions.
Parameters:
  id -
Parameters:
  service -
throws:
  UnsupportedOperationException -



resolve
abstract public T resolve(Class<T> adaptee, IProgressMonitor monitor) throws IOException(Code)
Will attempt to morph into the adaptee, and return that object. Required adaptions:
  • ICatalogInfo.class
  • List.class
May Block.
Parameters:
  adaptee -
Parameters:
  monitor - May Be Null
See Also:   ICatalogInfo
See Also:   IService



search
abstract public List<IResolve> search(String pattern, Envelope bbox, IProgressMonitor monitor) throws IOException(Code)
Performs a search on this catalog based on the specified inputs.

The pattern uses the following conventions:

  • use " " to surround a phase
  • use + to represent 'AND'
  • use - to represent 'OR'
  • use ! to represent 'NOT'
  • use ( ) to designate scope
The bbox provided shall be in Lat - Long, or null if the search is not to be contained within a specified area.


Parameters:
  pattern - Search pattern (see above)
Parameters:
  bbox - The bbox in Lat-Long (ESPG 4269), or null
Parameters:
  monitor - for progress, or null if monitoring is not desired List matching IResolve



toString
public String toString()(Code)
Indicate class and id. string representing this IResolve



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.