org.geotools.catalog.wms
Class WMSServiceFactory

java.lang.Object
  extended byorg.geotools.catalog.wms.WMSServiceFactory
All Implemented Interfaces:
ServiceFactory

public class WMSServiceFactory
extends java.lang.Object
implements ServiceFactory

Provides ...TODO summary sentence

TODO Description

Since:
0.6

Constructor Summary
WMSServiceFactory()
           
 
Method Summary
 boolean canProcess(java.net.URI uri)
          Determines if the ServiceExtension can process the specified uri and use it to create a set of connection paramters.
 java.util.Map createParams(java.net.URI uri)
          The primary intention is for drag 'n' drop.
 Service createService(Catalog parent, java.net.URI id, java.util.Map params)
          TODO summary sentence for createService ...
static boolean isWMS(java.net.URL url)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WMSServiceFactory

public WMSServiceFactory()
Method Detail

createService

public Service createService(Catalog parent,
                             java.net.URI id,
                             java.util.Map params)
TODO summary sentence for createService ...

Specified by:
createService in interface ServiceFactory
Parameters:
parent - DOCUMENT ME!
id -
params -
Returns:
x
See Also:
IService#getStatus(), IService#getMessage()

canProcess

public boolean canProcess(java.net.URI uri)
Description copied from interface: ServiceFactory
Determines if the ServiceExtension can process the specified uri and use it to create a set of connection paramters.

Specified by:
canProcess in interface ServiceFactory
Parameters:
uri - The uri representing the service.
Returns:
true if the uri can be processed, otherwise false.

createParams

public java.util.Map createParams(java.net.URI uri)
Description copied from interface: ServiceFactory
The primary intention is for drag 'n' drop. This generates a set of params for the given URL ... in most cases this will be passed to the createService method. It is important to note that this method must inspect the url to determine if it can be used to create the service. If it cannot, null must be returned.

Specified by:
createParams in interface ServiceFactory
Parameters:
uri - The potential source of params.
Returns:
Map of params to be used for creation, null if the URL cannot be used.

isWMS

public static boolean isWMS(java.net.URL url)


Copyright © GeoTools. All Rights Reserved.