org.deegree.protocol.wms.raster
Class WMSBuilder

java.lang.Object
  extended by org.deegree.protocol.wms.raster.WMSBuilder
All Implemented Interfaces:
ExtendedResourceProvider<Coverage>, ResourceProvider, CoverageBuilder

public class WMSBuilder
extends Object
implements CoverageBuilder

Builds a wms backed coverage

Version:
$Revision: 31444 $, $Date: 2011-08-05 13:51:35 +0200 (Fri, 05 Aug 2011) $
Author:
Rutger Bezema, last edited by: $Author: aschmitz $

Constructor Summary
WMSBuilder()
           
 
Method Summary
 Coverage create(URL configUrl)
           
 String getConfigNamespace()
          Returns the namespace for configuration documents that this provider handles.
 URL getConfigSchema()
          Returns the URL for retrieving the configuration document schema.
 Class<? extends ResourceManager>[] getDependencies()
           
 void init(DeegreeWorkspace workspace)
          Will be called before any call to #create.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WMSBuilder

public WMSBuilder()
Method Detail

getConfigNamespace

public String getConfigNamespace()
Description copied from interface: ResourceProvider
Returns the namespace for configuration documents that this provider handles.

Specified by:
getConfigNamespace in interface ResourceProvider
Returns:
the namespace for configuration documents, never null

getConfigSchema

public URL getConfigSchema()
Description copied from interface: ResourceProvider
Returns the URL for retrieving the configuration document schema.

Specified by:
getConfigSchema in interface ResourceProvider
Returns:
the URL for retrieving the configuration document schema, may be null

init

public void init(DeegreeWorkspace workspace)
Description copied from interface: ExtendedResourceProvider
Will be called before any call to #create.

Specified by:
init in interface ExtendedResourceProvider<Coverage>

create

public Coverage create(URL configUrl)
                throws ResourceInitException
Specified by:
create in interface ExtendedResourceProvider<Coverage>
Returns:
a new resource created from the configuration url, never null
Throws:
ResourceInitException

getDependencies

public Class<? extends ResourceManager>[] getDependencies()
Specified by:
getDependencies in interface ExtendedResourceProvider<Coverage>
Returns:
dependencies as resource manager classes, never null


Copyright © 2011. All Rights Reserved.