net.refractions.udig.catalog.cgdi
Class CGDILayerCatalog

java.lang.Object
  extended by ICatalog
      extended by net.refractions.udig.catalog.cgdi.CGDILayerCatalog

public class CGDILayerCatalog
extends ICatalog

Author:
dzwiers This catalog is built to connect to a single server instance. To the best of my knowledge, the server is not based on a specification. The server can be found at 'http://geodiscover.cgdi.ca/ceonetWeb/biz' and a web interface at 'http://geodiscover.cgdi.ca/ceonetWeb/doc?dispatchServlet=/biz&servletName=biz Servlet&service=searchForWebServiceData'. This returns a WebContextDocument ... so WMS layers.

Constructor Summary
CGDILayerCatalog()
          Construct CGDILayerCatalog.
CGDILayerCatalog(java.net.URL url)
          Construct CGDILayerCatalog.
 
Method Summary
 void add(IService entry)
           
 void addCatalogListener(IResolveChangeListener listener)
          TODO summary sentence for addCatalogListener ...
<T> boolean
canResolve(java.lang.Class<T> adaptee)
           
 IGeoResource createTemporaryResource(java.lang.Object descriptor)
           
 java.util.List<IResolve> find(java.net.URL id, IProgressMonitor monitor)
           
 java.util.List<IService> findService(java.net.URL query)
           
<T extends IResolve>
T
getById(java.lang.Class<T> type, java.net.URL id, IProgressMonitor monitor)
           
 java.net.URL getIdentifier()
           
 java.lang.Throwable getMessage()
           
 Status getStatus()
           
 java.lang.String[] getTemporaryDescriptorClasses()
           
 java.util.List<IResolve> members(IProgressMonitor monitor)
           
 void remove(IService entry)
           
 void removeCatalogListener(IResolveChangeListener listener)
          TODO summary sentence for removeCatalogListener ...
 void replace(java.net.URL id, IService entry)
           
<T> T
resolve(java.lang.Class<T> adaptee, IProgressMonitor monitor)
           
 java.util.List<IResolve> search(java.lang.String pattern, Envelope bbox, IProgressMonitor monitor)
          Looks for services based on the pattern ...
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CGDILayerCatalog

public CGDILayerCatalog()
Construct CGDILayerCatalog.


CGDILayerCatalog

public CGDILayerCatalog(java.net.URL url)
Construct CGDILayerCatalog.

Parameters:
url -
Method Detail

addCatalogListener

public void addCatalogListener(IResolveChangeListener listener)
TODO summary sentence for addCatalogListener ...

Parameters:
listener -

removeCatalogListener

public void removeCatalogListener(IResolveChangeListener listener)
TODO summary sentence for removeCatalogListener ...

Parameters:
listener -

add

public void add(IService entry)
         throws java.lang.UnsupportedOperationException
Throws:
java.lang.UnsupportedOperationException

remove

public void remove(IService entry)
            throws java.lang.UnsupportedOperationException
Throws:
java.lang.UnsupportedOperationException

replace

public void replace(java.net.URL id,
                    IService entry)
             throws java.lang.UnsupportedOperationException
Throws:
java.lang.UnsupportedOperationException

search

public java.util.List<IResolve> search(java.lang.String pattern,
                                       Envelope bbox,
                                       IProgressMonitor monitor)
                                throws java.io.IOException
Looks for services based on the pattern ... Ignores the bbox. This uses the searchForServices action.

Throws:
java.io.IOException

resolve

public <T> T resolve(java.lang.Class<T> adaptee,
                     IProgressMonitor monitor)

find

public java.util.List<IResolve> find(java.net.URL id,
                                     IProgressMonitor monitor)

canResolve

public <T> boolean canResolve(java.lang.Class<T> adaptee)

members

public java.util.List<IResolve> members(IProgressMonitor monitor)

getStatus

public Status getStatus()

getMessage

public java.lang.Throwable getMessage()

getIdentifier

public java.net.URL getIdentifier()

findService

public java.util.List<IService> findService(java.net.URL query)

getById

public <T extends IResolve> T getById(java.lang.Class<T> type,
                                      java.net.URL id,
                                      IProgressMonitor monitor)

createTemporaryResource

public IGeoResource createTemporaryResource(java.lang.Object descriptor)
                                     throws java.lang.IllegalArgumentException
Throws:
java.lang.IllegalArgumentException

getTemporaryDescriptorClasses

public java.lang.String[] getTemporaryDescriptorClasses()