|
deegree 2.5 (2011/06/29 09:44 build-8-official) | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.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 java.util.TreeSet<Resolution> |
resolutions
all resolutions |
Fields inherited from interface org.deegree.ogcwebservices.wcs.configuration.Extension |
---|
DATABASEINDEXED, FILEBASED, NAMEINDEXED, ORACLEGEORASTER, SCRIPTBASED, SHAPEINDEXED |
Constructor Summary | |
---|---|
DefaultExtension(java.lang.String type)
constructor initializing an empty Extension |
|
DefaultExtension(java.lang.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. |
java.lang.String |
getType()
returns the type of the coverage source that is described be an extension |
void |
setType(java.lang.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 java.util.TreeSet<Resolution> resolutions
protected double minScale
protected double maxScale
Constructor Detail |
---|
public DefaultExtension(java.lang.String type) throws UnknownCVExtensionException
type
-
UnknownCVExtensionException
public DefaultExtension(java.lang.String type, Resolution[] resolutions, double offset, double scaleFactor) throws UnknownCVExtensionException
type
- resolutions
- offset
- scaleFactor
-
UnknownCVExtensionException
Method Detail |
---|
public java.lang.String getType()
getType
in interface Extension
public void setType(java.lang.String type) throws UnknownCVExtensionException
type
-
UnknownCVExtensionException
public double getMinScale()
getMinScale
in interface Extension
public double getOffset()
getOffset
in interface Extension
public double getScaleFactor()
getScaleFactor
in interface Extension
public double getMaxScale()
getMaxScale
in interface Extension
public Resolution[] getResolutions()
getResolutions
in interface Extension
public Resolution[] getResolutions(double scale)
getResolutions
in interface Extension
scale
- scale the returned resolutions must fit
public void addResolution(Resolution resolution)
addResolution
in interface Extension
resolution
-
|
deegree 2.5 (2011/06/29 09:44 build-8-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://www.deegree.org