| 
deegree 2.1 (2007/11/08 09:57 build-328-official) | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.deegree.ogcwebservices.wcs.configuration.DefaultExtension
public class DefaultExtension
Default implementation of WCS CoverageDescription for handling informations about coverage data backend.
| Field Summary | |
|---|---|
protected  double | 
maxScale
 | 
protected  double | 
minScale
 | 
protected  TreeSet<Resolution> | 
resolutions
 | 
| Fields inherited from interface org.deegree.ogcwebservices.wcs.configuration.Extension | 
|---|
FILEBASED, NAMEINDEXED, ORACLEGEORASTER, SHAPEINDEXED | 
| Constructor Summary | |
|---|---|
DefaultExtension(String type)
constructor initializing an empty Extension  | 
|
DefaultExtension(String type,
                                 Resolution[] resolutions,
                                 double offset,
                                 double scaleFactor)
initializing the Extension with the passed Resolutions  | 
|
| Method Summary | |
|---|---|
 void | 
addResolution(Resolution resolution)
 | 
 double | 
getMaxScale()
returns the maximum scale of objects that are described by an Extension object  | 
 double | 
getMinScale()
returns the minimum scale of objects that are described by an Extension object  | 
 double | 
getOffset()
returns the offset of the data. 0 will be returned if no offset is defined.  | 
 Resolution[] | 
getResolutions()
returns all Resolutions .  | 
 Resolution[] | 
getResolutions(double scale)
returns the Resolutions matching the passed scale.  | 
 double | 
getScaleFactor()
returns the scale factor of the data.  | 
 String | 
getType()
returns the type of the coverage source that is described be an extension  | 
 void | 
setType(String type)
returns the type of the coverage source that is described be an extension.  | 
| Methods inherited from class java.lang.Object | 
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
| Field Detail | 
|---|
protected TreeSet<Resolution> resolutions
protected double minScale
protected double maxScale
| Constructor Detail | 
|---|
public DefaultExtension(String type)
                 throws UnknownCVExtensionException
type - 
UnknownCVExtensionException
public DefaultExtension(String type,
                        Resolution[] resolutions,
                        double offset,
                        double scaleFactor)
                 throws UnknownCVExtensionException
type - resolutions - offset - scaleFactor - 
UnknownCVExtensionException| Method Detail | 
|---|
public String getType()
getType in interface Extension
public void setType(String type)
             throws UnknownCVExtensionException
type - 
UnknownCVExtensionExceptionpublic double getMinScale()
getMinScale in interface Extensionpublic double getOffset()
getOffset in interface Extensionpublic double getScaleFactor()
getScaleFactor in interface Extensionpublic double getMaxScale()
getMaxScale in interface Extensionpublic Resolution[] getResolutions()
getResolutions in interface Extensionscale - scale the returned resolutions must fit
public Resolution[] getResolutions(double scale)
getResolutions in interface Extensionscale - scale the returned resolutions must fit
public void addResolution(Resolution resolution)
addResolution in interface Extensionresolution - 
  | 
deegree 2.1 (2007/11/08 09:57 build-328-official) | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
an open source project founded by lat/lon, Bonn, Germany.
					For more information visit: http://deegree.sourceforge.net