deegree 2.3 (2010/04/09 10:10 build-4-official)

org.deegree.ogcwebservices.wms.configuration
Class LocalWCSDataSource

java.lang.Object
  extended by org.deegree.ogcwebservices.wms.configuration.AbstractDataSource
      extended by org.deegree.ogcwebservices.wms.configuration.LocalWCSDataSource
Direct Known Subclasses:
RemoteWCSDataSource

public class LocalWCSDataSource
extends AbstractDataSource

Data source description for a LOCALWCS datasource

Version:
$Revision: 18195 $, $Date: 2009-06-18 17:55:39 +0200 (Do, 18. Jun 2009) $
Author:
Andreas Poth

Field Summary
 
Fields inherited from class org.deegree.ogcwebservices.wms.configuration.AbstractDataSource
DATABASE, EXTERNALDATAACCESS, LOCALWCS, LOCALWFS, ows, REMOTEWCS, REMOTEWFS, REMOTEWMS
 
Constructor Summary
LocalWCSDataSource(boolean querable, boolean failOnException, QualifiedName name, int type, OGCWebService ows, URL capabilitiesURL, ScaleHint scaleHint, Geometry validArea, GetCoverage getCoverage, Color[] transparentColors, int reqTimeLimit)
          Creates a new DataSource object.
 
Method Summary
 GetCoverage getGetCoverageRequest()
          returns an instance of a WCSGetCoverageRequest encapsulating the filter conditions against a remote WCS.
 OGCWebService getOGCWebService()
           
 Color[] getTransparentColors()
           
 
Methods inherited from class org.deegree.ogcwebservices.wms.configuration.AbstractDataSource
getCapabilitiesURL, getDimProps, getFeatureInfoTransform, getFeatureInfoURL, getName, getRequestTimeLimit, getScaleHint, getType, getValidArea, isFailOnException, isQueryable, setFeatureInfoURL, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

LocalWCSDataSource

public LocalWCSDataSource(boolean querable,
                          boolean failOnException,
                          QualifiedName name,
                          int type,
                          OGCWebService ows,
                          URL capabilitiesURL,
                          ScaleHint scaleHint,
                          Geometry validArea,
                          GetCoverage getCoverage,
                          Color[] transparentColors,
                          int reqTimeLimit)
Creates a new DataSource object.

Parameters:
querable -
failOnException -
name - name of the featuretype to access
type - type of the data source (REMOTEWCS, LOCALWCS)
ows - OGCWebService instance for accessing the data source
capabilitiesURL -
scaleHint -
validArea -
getCoverage - filter condition
transparentColors -
reqTimeLimit -
Method Detail

getGetCoverageRequest

public GetCoverage getGetCoverageRequest()
returns an instance of a WCSGetCoverageRequest encapsulating the filter conditions against a remote WCS. The request object contains: VERSION, LAYER, FORMAT, VENDORSPECIFICPARAMETERS

Returns:
filter conditions

getTransparentColors

public Color[] getTransparentColors()
Returns:
an array of colors that shall be treated as transparent

getOGCWebService

public OGCWebService getOGCWebService()
Specified by:
getOGCWebService in class AbstractDataSource
Returns:
an instance of the OGCWebService that represents the datasource. Notice: if more than one layer uses data that are offered by the same OWS the deegree WMS shall just use one instance for accessing the OWS

deegree 2.3 (2010/04/09 10:10 build-4-official)

an open source project founded by lat/lon, Bonn, Germany.
For more information visit: http://www.deegree.org