org.esa.beam.framework.dataop.maptransf
Class MapProjectionRegistry

java.lang.Object
  extended by org.esa.beam.framework.dataop.maptransf.MapProjectionRegistry

Deprecated. since BEAM 4.7, use geotools and CrsGeoCoding instead.

@Deprecated
public class MapProjectionRegistry
extends Object

A registry for map projection instances.


Constructor Summary
MapProjectionRegistry()
          Deprecated.  
 
Method Summary
static void deregisterProjection(MapProjection projection)
          Deprecated. De-registers a shared map-projection instance in this registry.
static MapTransformDescriptor getDescriptor(String typeID)
          Deprecated. Gets the descriptor for the given type ID.
static MapTransformDescriptor[] getDescriptors()
          Deprecated. Gets all registered map transformation descriptors.
static MapProjection getProjection(String name)
          Deprecated. Gets the map-projection instance with the given name.
static MapProjection[] getProjections()
          Deprecated. Gets all registered map-projections.
static void registerDescriptor(MapTransformDescriptor descriptor)
          Deprecated. Registers a new map transformation type.
static void registerProjection(MapProjection projection)
          Deprecated. Registers a shared map-projection instance in this registry.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MapProjectionRegistry

public MapProjectionRegistry()
Deprecated. 
Method Detail

registerProjection

public static void registerProjection(MapProjection projection)
Deprecated. 
Registers a shared map-projection instance in this registry.

Parameters:
projection - the map-projection to be added

deregisterProjection

public static void deregisterProjection(MapProjection projection)
Deprecated. 
De-registers a shared map-projection instance in this registry.

Parameters:
projection - the map-projection to be removed

getProjections

public static MapProjection[] getProjections()
Deprecated. 
Gets all registered map-projections.

Returns:
an array of all registered map-projections, never null

getProjection

public static MapProjection getProjection(String name)
Deprecated. 
Gets the map-projection instance with the given name.

Parameters:
name - a map-projection name, must not be null
Returns:
the map-projection instance or null

registerDescriptor

public static void registerDescriptor(MapTransformDescriptor descriptor)
Deprecated. 
Registers a new map transformation type. After the descriptor has been registered, its MapTransformDescriptor.registerProjections() method is called.

Parameters:
descriptor - the new map transformation descriptor

getDescriptors

public static MapTransformDescriptor[] getDescriptors()
Deprecated. 
Gets all registered map transformation descriptors.

Returns:
an array of all registered descriptors, never null

getDescriptor

public static MapTransformDescriptor getDescriptor(String typeID)
Deprecated. 
Gets the descriptor for the given type ID.

Parameters:
typeID - the map transform type ID, must not be null
Returns:
the descriptor, or null if the type ID is unknown


Copyright © 2002-2012 Brockmann Consult GmbH. All Rights Reserved.