deegree 2.5 (2011/06/29 09:44 build-8-official)

org.deegree.ogcwebservices.wcts.capabilities
Class Content

java.lang.Object
  extended by org.deegree.ogcwebservices.wcts.capabilities.Content

public class Content
extends java.lang.Object

Content encapsulates the Content element of the WCTS_0.4.0 Capabilities document.

Version:
$Revision:$, $Date:$
Author:
Rutger Bezema, last edited by: $Author:$

Constructor Summary
Content(java.util.Map<java.lang.String,Transformation> configuredTransforms, java.util.List<java.lang.String> methods, java.util.List<CoordinateSystem> sourceCRSs, java.util.List<CoordinateSystem> targetCRSs, CoverageAbilities coverageAbilities, FeatureAbilities featureAbilities, java.util.List<Metadata> metadata, boolean userDefinedCRS, java.util.List<MetadataProfile<?>> transformMetadata)
           
 
Method Summary
protected  java.lang.String createTransformationMDDescription(CoordinateSystem sourceCRS, CoordinateSystem targetCRS)
          Create a description saying: Transforming from sourceCRS.getIdentifer (sourceCRS.getName() ) to targetCRS.getIdentifer (targetCRS.getName() ) using the helmert transformation.
 void describeDefaultTransformations(java.lang.String transformationPrefix)
          Create the transformations and their MetaData for all source / target combinations, e.g. create identifiers for the default transformations of the crs package which is the usage of a wgs 84 pivot crs and the helmert transformation.
 CoverageAbilities getCoverageAbilities()
           
 FeatureAbilities getFeatureAbilities()
           
 java.util.List<Metadata> getMetadata()
           
 java.util.List<java.lang.String> getMethods()
           
 java.util.List<CoordinateSystem> getSourceCRSs()
           
 java.util.List<CoordinateSystem> getTargetCRSs()
           
 java.util.Map<java.lang.String,Transformation> getTransformations()
           
 java.util.List<MetadataProfile<?>> getTransformMetadata()
           
 boolean supportsUserDefinedCRS()
           
 void updateFromProvider(java.lang.String configuredProvider)
          Uses the configured identifiers of the source and targets to create new (cached) coordinatesystems.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Content

public Content(java.util.Map<java.lang.String,Transformation> configuredTransforms,
               java.util.List<java.lang.String> methods,
               java.util.List<CoordinateSystem> sourceCRSs,
               java.util.List<CoordinateSystem> targetCRSs,
               CoverageAbilities coverageAbilities,
               FeatureAbilities featureAbilities,
               java.util.List<Metadata> metadata,
               boolean userDefinedCRS,
               java.util.List<MetadataProfile<?>> transformMetadata)
Parameters:
configuredTransforms - Unordered list of zero or more identifiers of well-known coordinate operations which the server can perform.
methods - Unordered list of zero or more identifiers of well-known operation methods which the server can apply in user-defined coordinate Transformations and Conversions.
sourceCRSs - Unordered list of one or more identifiers of well-known CRSs in which the server can accept sourceCRS values.
targetCRSs - Unordered list of one or more identifiers of well-known CRSs in which the server can accept targetCRS values.
coverageAbilities - Specifies coverage transformation abilities of WCTS server.
featureAbilities - Specifies feature transformation abilities of WCTS server.
metadata - Optional unordered list of additional metadata about the data served by this WCTS implementation. For example, this metadata could include more detailed definitions of the Methods, Transformations, and CRSs known to this server, perhaps in the form of a gml:Dictionary of such information.
userDefinedCRS - Specifies if this server supports user-defined Coordinate Reference Systems (CRSs).
transformMetadata -
Method Detail

getTransformations

public final java.util.Map<java.lang.String,Transformation> getTransformations()
Returns:
the transformations.

getMethods

public final java.util.List<java.lang.String> getMethods()
Returns:
the methods.

getSourceCRSs

public final java.util.List<CoordinateSystem> getSourceCRSs()
Returns:
the sourceCRSs.

getTargetCRSs

public final java.util.List<CoordinateSystem> getTargetCRSs()
Returns:
the targetCRSs.

getCoverageAbilities

public final CoverageAbilities getCoverageAbilities()
Returns:
the coverageAbilities.

getFeatureAbilities

public final FeatureAbilities getFeatureAbilities()
Returns:
the featureAbilities.

getMetadata

public final java.util.List<Metadata> getMetadata()
Returns:
the metadatas, may be empty but will never be null

supportsUserDefinedCRS

public final boolean supportsUserDefinedCRS()
Returns:
the userDefinedCRS.

getTransformMetadata

public final java.util.List<MetadataProfile<?>> getTransformMetadata()
Returns:
the transformMetadata elements.

describeDefaultTransformations

public void describeDefaultTransformations(java.lang.String transformationPrefix)
Create the transformations and their MetaData for all source / target combinations, e.g. create identifiers for the default transformations of the crs package which is the usage of a wgs 84 pivot crs and the helmert transformation.

Parameters:
transformationPrefix - to be used for the transformations

createTransformationMDDescription

protected java.lang.String createTransformationMDDescription(CoordinateSystem sourceCRS,
                                                             CoordinateSystem targetCRS)
Create a description saying: Transforming from sourceCRS.getIdentifer (sourceCRS.getName() ) to targetCRS.getIdentifer (targetCRS.getName() ) using the helmert transformation. if either the sourceCRS or the targetCRS are null the String "Transform using the helmert transformation." will be returned.

Parameters:
sourceCRS -
targetCRS -
Returns:
a possible description for a Transformation Metadata.

updateFromProvider

public void updateFromProvider(java.lang.String configuredProvider)
Uses the configured identifiers of the source and targets to create new (cached) coordinatesystems.

Parameters:
configuredProvider - may be null to use the default crs provider.

deegree 2.5 (2011/06/29 09:44 build-8-official)

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