org.deegree_impl.services.wcts.capabilities
Class Capability_Impl

java.lang.Object
  extended byorg.deegree_impl.services.wcts.capabilities.Capability_Impl
All Implemented Interfaces:
Capability

public class Capability_Impl
extends java.lang.Object
implements Capability

This section of the Capabilities-document describes the operations made available by the CTS. Apart from the operations defined as mandatory (GetCapabilities, IsTransformable, Transform), the optional operation DescribeTransformation can be described within the element <Request>.

----------------------------------------------------------------------

Version:
2002-07-10
Author:
Katharina Lupp

Field Summary
private  java.util.ArrayList knownCoordinateReferenceSystems
           
private  java.util.ArrayList knownTransformationTypes
           
private  WCTS_Request request
           
private  boolean userDefinedCoordinateSystems
           
private  boolean userDefinedTransformations
           
private  java.util.ArrayList vendorSpecificCapabilities
           
 
Constructor Summary
(package private) Capability_Impl(boolean userDefinedCoordinateSystems, boolean userDefinedTransformations, WCTS_Request request, KnownTransformationType[] knownTransformationTypes, KnownCoordinateReferenceSystem[] knownCoordinateReferenceSystems, java.lang.String[] vendorSpecificCapabilities)
          constructor initializing the class with the
 
Method Summary
 void addKnownCoordinateReferenceSystem(KnownCoordinateReferenceSystem knownCoordinateReferenceSystem)
          adds the <KnownCoordinateReferenceSystem>
 void addKnownTransformationType(KnownTransformationType knownTransformationTypes)
          adds a <knownTransformationType>
 void addVendorSpecificCapability(java.lang.String vendorSpecificCapability)
          adds the <VendorSpecificCapabilities>
 KnownCoordinateReferenceSystem[] getKnownCoordinateReferenceSystems()
          Each CTS must know at least two spatial reference-System, so that at least one transformation is possible.
 KnownTransformationType[] getKnownTransformationTypes()
          Each CTS must know at least one transformation-type.
 WCTS_Request getRequest()
          A Coordinate transformation service (CTS) acts as Web service, which knows the four different Requests
 boolean getUserDefinedCoordinateSystems()
          In many cases, it is possible to perform a transformation of coordinates from one reference system into another in different (mathematical) kinds.
 boolean getUserDefinedTransformations()
          In many cases, it is possible to perform a transformation of coordinates from one reference system into another in different (mathematical) kinds.
 java.lang.String[] getVendorSpecificCapabilities()
          With the <VendorSpecificCapabilities> element, it is possible to define additional Capabilities.
 void setKnownCoordinateReferenceSystems(KnownCoordinateReferenceSystem[] knownCoordinateReferenceSystems)
          sets the <KnownCoordinateReferenceSystem>
 void setKnownTransformationTypes(KnownTransformationType[] knownTransformationTypes)
          sets the <knownTransformationTypes>
 void setRequest(WCTS_Request request)
           
 void setUserDefinedCoordinateSystems(boolean userDefinedCoordinateSystems)
           
 void setUserDefinedTransformations(boolean userDefinedTransformations)
           
 void setVendorSpecificCapabilities(java.lang.String[] vendorSpecificCapabilities)
          sets the <VendorSpecificCapabilities>
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

knownCoordinateReferenceSystems

private java.util.ArrayList knownCoordinateReferenceSystems

knownTransformationTypes

private java.util.ArrayList knownTransformationTypes

vendorSpecificCapabilities

private java.util.ArrayList vendorSpecificCapabilities

request

private WCTS_Request request

userDefinedCoordinateSystems

private boolean userDefinedCoordinateSystems

userDefinedTransformations

private boolean userDefinedTransformations
Constructor Detail

Capability_Impl

Capability_Impl(boolean userDefinedCoordinateSystems,
                boolean userDefinedTransformations,
                WCTS_Request request,
                KnownTransformationType[] knownTransformationTypes,
                KnownCoordinateReferenceSystem[] knownCoordinateReferenceSystems,
                java.lang.String[] vendorSpecificCapabilities)
constructor initializing the class with the

Method Detail

getUserDefinedCoordinateSystems

public boolean getUserDefinedCoordinateSystems()

In many cases, it is possible to perform a transformation of coordinates from one reference system into another in different (mathematical) kinds. Under normal conditions the CTS selects a suitable procedure on the basis the source and the target reference system and accomplishes the transformation. For different reasons it can make sense for a user to specify the transformation steps themselves.

default="false"

Specified by:
getUserDefinedCoordinateSystems in interface Capability

setUserDefinedCoordinateSystems

public void setUserDefinedCoordinateSystems(boolean userDefinedCoordinateSystems)
See Also:
getUserDefinedCoordinateSystems()

getUserDefinedTransformations

public boolean getUserDefinedTransformations()

In many cases, it is possible to perform a transformation of coordinates from one reference system into another in different (mathematical) kinds. Under normal conditions the CTS selects a suitable procedure on the basis the source and the target reference system and accomplishes the transformation. For different reasons it can make sense for a user to specify the transformation steps themselves.

default="false"

Specified by:
getUserDefinedTransformations in interface Capability

setUserDefinedTransformations

public void setUserDefinedTransformations(boolean userDefinedTransformations)
See Also:
getUserDefinedTransformations()

getRequest

public WCTS_Request getRequest()
A Coordinate transformation service (CTS) acts as Web service, which knows the four different Requests

Specified by:
getRequest in interface Capability

setRequest

public void setRequest(WCTS_Request request)
See Also:
getRequest()

getKnownTransformationTypes

public KnownTransformationType[] getKnownTransformationTypes()

Each CTS must know at least one transformation-type. These concern fundamental methods for the transformation of coordinates out of a reference system into another. It doesn't concern concrete transformations between two determined references system.

Examples of kinds of transformation are: Longitude rotation, Abridged Molodenski, Geocentric_to_Ellipsoid etc...

Specified by:
getKnownTransformationTypes in interface Capability

addKnownTransformationType

public void addKnownTransformationType(KnownTransformationType knownTransformationTypes)
adds a <knownTransformationType>


setKnownTransformationTypes

public void setKnownTransformationTypes(KnownTransformationType[] knownTransformationTypes)
sets the <knownTransformationTypes>


getKnownCoordinateReferenceSystems

public KnownCoordinateReferenceSystem[] getKnownCoordinateReferenceSystems()
Each CTS must know at least two spatial reference-System, so that at least one transformation is possible.

Specified by:
getKnownCoordinateReferenceSystems in interface Capability

addKnownCoordinateReferenceSystem

public void addKnownCoordinateReferenceSystem(KnownCoordinateReferenceSystem knownCoordinateReferenceSystem)
adds the <KnownCoordinateReferenceSystem>


setKnownCoordinateReferenceSystems

public void setKnownCoordinateReferenceSystems(KnownCoordinateReferenceSystem[] knownCoordinateReferenceSystems)
sets the <KnownCoordinateReferenceSystem>


getVendorSpecificCapabilities

public java.lang.String[] getVendorSpecificCapabilities()
With the <VendorSpecificCapabilities> element, it is possible to define additional Capabilities.

Specified by:
getVendorSpecificCapabilities in interface Capability

addVendorSpecificCapability

public void addVendorSpecificCapability(java.lang.String vendorSpecificCapability)
adds the <VendorSpecificCapabilities>


setVendorSpecificCapabilities

public void setVendorSpecificCapabilities(java.lang.String[] vendorSpecificCapabilities)
sets the <VendorSpecificCapabilities>


toString

public java.lang.String toString()
Returns: