|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.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 GeometryFactory |
geomFac
The geometry factory to be used |
| Constructor Summary | |
|---|---|
Dataset()
|
|
| Method Summary | |
|---|---|
protected boolean |
addConstraint(String name,
CO datasourceObject,
Envelope bbt)
Add a constrained to the given name of a dataset. |
protected Double |
clarifyMaxPixelError(Double parentMaxPixelError,
Double maxPixelError)
|
Set<String> |
datasetTitles()
|
abstract Envelope |
fillFromDatasetDefinitions(Envelope sceneEnvelope,
double[] translationToLocalCRS,
XMLAdapter configAdapter,
DatasetDefinitions dsd)
Fill the wrapper with the values from the given dataset definition. |
List<CO> |
getAllDatasourceObjects()
Iterates over all configured datasets and add them to the list |
List<CO> |
getMatchingDatasourceObjects(Collection<String> requestedDatasets,
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(String name)
|
protected URL |
resolve(XMLAdapter configAdapter,
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 GeometryFactory geomFac
| Constructor Detail |
|---|
public Dataset()
| Method Detail |
|---|
public abstract Envelope fillFromDatasetDefinitions(Envelope sceneEnvelope,
double[] translationToLocalCRS,
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 Double clarifyMaxPixelError(Double parentMaxPixelError,
Double maxPixelError)
parentMaxPixelError - maxPixelError -
null.protected boolean isUnAmbiguous(String name)
name - of dataset
public int size()
protected boolean addConstraint(String name,
CO datasourceObject,
Envelope bbt)
name - datasourceObject - bbt - in the WPVS scene coordinate system.
public List<CO> getAllDatasourceObjects()
null
public List<CO> getMatchingDatasourceObjects(Collection<String> requestedDatasets,
ViewParams viewParams)
requestedDatasets - viewParams -
nullpublic Set<String> datasetTitles()
protected URL resolve(XMLAdapter configAdapter,
String url)
configAdapter - url -
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||