org.deegree.cs.transformations
Enum TransformationFactory.DSTransform

java.lang.Object
  extended by java.lang.Enum<TransformationFactory.DSTransform>
      extended by org.deegree.cs.transformations.TransformationFactory.DSTransform
All Implemented Interfaces:
Serializable, Comparable<TransformationFactory.DSTransform>
Enclosing class:
TransformationFactory

public static enum TransformationFactory.DSTransform
extends Enum<TransformationFactory.DSTransform>

Defines the type of transformation to use while switching datums.


Enum Constant Summary
HELMERT
          use the helmert transformation
NTv2
          Try to use an ntv2 transformation
 
Field Summary
static String DS_PROP
          The property to use
 
Method Summary
static TransformationFactory.DSTransform fromSchema(AbstractStore store)
          Create a TransformationFactory.DSTransform from the AbstractStore TransformationType property.
 boolean isPreferred(Transformation transform)
           
static TransformationFactory.DSTransform valueOf(String name)
          Returns the enum constant of this type with the specified name.
static TransformationFactory.DSTransform[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

HELMERT

public static final TransformationFactory.DSTransform HELMERT
use the helmert transformation


NTv2

public static final TransformationFactory.DSTransform NTv2
Try to use an ntv2 transformation

Field Detail

DS_PROP

public static final String DS_PROP
The property to use

See Also:
Constant Field Values
Method Detail

values

public static TransformationFactory.DSTransform[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
for (TransformationFactory.DSTransform c : TransformationFactory.DSTransform.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static TransformationFactory.DSTransform valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Parameters:
name - the name of the enum constant to be returned.
Returns:
the enum constant with the specified name
Throws:
IllegalArgumentException - if this enum type has no constant with the specified name
NullPointerException - if the argument is null

fromSchema

public static TransformationFactory.DSTransform fromSchema(AbstractStore store)
Create a TransformationFactory.DSTransform from the AbstractStore TransformationType property. If null HELMERT will be returned.

Parameters:
store - the AbstractStore
Returns:
the value of key AbstractStore TransformationType property of HELMERT if the value was not known.

isPreferred

public boolean isPreferred(Transformation transform)
Parameters:
transform - to check for.
Returns:
true if the name of this data shift transformation hint equals the implementation name of the given transformation.


Copyright © 2011. All Rights Reserved.