|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.deegree.services.wpvs.config.Dataset<CO>
CO
- the constraint object.public abstract class Dataset<CO>
The DatasetWrapper
class defines methods for the retrieval of objects which match requested datasets
types and a given ViewParams
.
Field Summary | |
---|---|
protected static org.deegree.geometry.GeometryFactory |
geomFac
The geometry factory to be used |
Constructor Summary | |
---|---|
Dataset()
|
Method Summary | |
---|---|
protected boolean |
addConstraint(java.lang.String name,
CO datasourceObject,
org.deegree.geometry.Envelope bbt)
Add a constrained to the given name of a dataset. |
protected java.lang.Double |
clarifyMaxPixelError(java.lang.Double parentMaxPixelError,
java.lang.Double maxPixelError)
|
java.util.Set<java.lang.String> |
datasetTitles()
|
abstract org.deegree.geometry.Envelope |
fillFromDatasetDefinitions(org.deegree.geometry.Envelope sceneEnvelope,
double[] translationToLocalCRS,
org.deegree.commons.xml.XMLAdapter configAdapter,
DatasetDefinitions dsd)
Fill the wrapper with the values from the given dataset definition. |
java.util.List<CO> |
getAllDatasourceObjects()
Iterates over all configured datasets and add them to the list |
java.util.List<CO> |
getMatchingDatasourceObjects(java.util.Collection<java.lang.String> requestedDatasets,
org.deegree.rendering.r3d.ViewParams viewParams)
Matches the given names to the configured datasets and tests retrieves the datasources/datasets which match the names and the viewparams. |
protected boolean |
isUnAmbiguous(java.lang.String name)
|
protected java.net.URL |
resolve(org.deegree.commons.xml.XMLAdapter configAdapter,
java.lang.String url)
Resolve the given url to the config xml file. |
int |
size()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected static final org.deegree.geometry.GeometryFactory geomFac
Constructor Detail |
---|
public Dataset()
Method Detail |
---|
public abstract org.deegree.geometry.Envelope fillFromDatasetDefinitions(org.deegree.geometry.Envelope sceneEnvelope, double[] translationToLocalCRS, org.deegree.commons.xml.XMLAdapter configAdapter, DatasetDefinitions dsd)
sceneEnvelope
- whic should be enlarged for all configured datasets, it is 3D!! in real world coordinates.translationToLocalCRS
- which was configuredconfigAdapter
- to resolve urlsdsd
- containing the datasets.
protected java.lang.Double clarifyMaxPixelError(java.lang.Double parentMaxPixelError, java.lang.Double maxPixelError)
parentMaxPixelError
- maxPixelError
-
null.
protected boolean isUnAmbiguous(java.lang.String name)
name
- of dataset
public int size()
protected boolean addConstraint(java.lang.String name, CO datasourceObject, org.deegree.geometry.Envelope bbt)
name
- datasourceObject
- bbt
- in the WPVS scene coordinate system.
public java.util.List<CO> getAllDatasourceObjects()
null
public java.util.List<CO> getMatchingDatasourceObjects(java.util.Collection<java.lang.String> requestedDatasets, org.deegree.rendering.r3d.ViewParams viewParams)
requestedDatasets
- viewParams
-
null
public java.util.Set<java.lang.String> datasetTitles()
protected java.net.URL resolve(org.deegree.commons.xml.XMLAdapter configAdapter, java.lang.String url)
configAdapter
- url
-
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |