org.geotools.ct.proj
Class Provider

java.lang.Object
  extended byorg.geotools.ct.MathTransformProvider
      extended byorg.geotools.ct.proj.Provider

Deprecated. Replaced by MapProjection provider.

public abstract class Provider
extends MathTransformProvider

Base class for MapProjection provider.

Version:
$Id: Provider.java 17672 2006-01-19 00:25:55Z desruisseaux $
Author:
Martin Desruisseaux

Field Summary
 
Fields inherited from class org.geotools.ct.MathTransformProvider
DEFAULT_PROJECTION_DESCRIPTOR, LATITUDE_RANGE, LONGITUDE_RANGE, POSITIVE_RANGE
 
Method Summary
 MathTransform create(javax.media.jai.ParameterList parameters)
          Deprecated. Create a new map projection from a parameter list.
abstract  MathTransform create(Projection projection)
          Deprecated. Create a new map projection from a Projection parameter.
static Provider[] getDefaults()
          Deprecated. Returns a set of default providers for map projections.
 java.lang.String getName(java.util.Locale locale)
          Deprecated. Returns a human readable name localized for the specified locale.
 
Methods inherited from class org.geotools.ct.MathTransformProvider
getClassName, getParameterList, getParameterListDescriptor, put, remove, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Method Detail

getDefaults

public static Provider[] getDefaults()
Deprecated. 
Returns a set of default providers for map projections. This is used for the initialization of a MathTransformFactory.


getName

public java.lang.String getName(java.util.Locale locale)
Deprecated. 
Returns a human readable name localized for the specified locale.

Overrides:
getName in class MathTransformProvider
Task:
REVISIT: This method overrides the MathTransformProvider implementation. It would not be needed if the package-private constructor in MathTransformProvider was protected.

create

public final MathTransform create(javax.media.jai.ParameterList parameters)
                           throws MissingParameterException
Deprecated. 
Create a new map projection from a parameter list. This method should not be invoked for creating projection transform. Use create(Projection) instead.

Specified by:
create in class MathTransformProvider
Parameters:
parameters - The parameters list.
Returns:
A MathTransform object of this classification.
Throws:
MissingParameterException - if a mandatory parameter is missing.

create

public abstract MathTransform create(Projection projection)
                              throws MissingParameterException
Deprecated. 
Create a new map projection from a Projection parameter.

Overrides:
create in class MathTransformProvider
Parameters:
projection - The projection.
Returns:
A MathTransform object of this classification.
Throws:
MissingParameterException - if a mandatory parameter is missing.


Copyright © GeoTools. All Rights Reserved.