org.geotools.cs
Class Adapters

java.lang.Object
  extended byorg.geotools.pt.Adapters
      extended byorg.geotools.cs.Adapters
Direct Known Subclasses:
Adapters

Deprecated. The legacy OpenGIS CS package is deprecated. There is no replacement at this time for RMI objects.

public class Adapters
extends Adapters

Provide methods for interoperability with OpenGIS CS package. All methods accept null argument. All OpenGIS objects are suitable for RMI use. A default instance of the Adapters classes is provided in the org.geotools.ct package.

Version:
$Id: Adapters.java 17672 2006-01-19 00:25:55Z desruisseaux $
Author:
Martin Desruisseaux
See Also:
Adapters.getDefault()

Field Summary
protected  CoordinateSystemFactory csFactory
          Deprecated. The factory to use for creating CoordinateSystem objects.
 
Constructor Summary
protected Adapters()
          Deprecated. Construct an adapter with default factories.
 
Method Summary
 org.opengis.cs.CS_AxisInfo export(AxisInfo axis)
          Deprecated. Returns an OpenGIS structure for an axis info.
 org.opengis.cs.CS_AxisOrientationEnum export(AxisOrientation orientation)
          Deprecated. Returns an OpenGIS enumeration for an axis orientation.
 org.opengis.cs.CS_CompoundCoordinateSystem export(CompoundCoordinateSystem cs)
          Deprecated. Returns an OpenGIS interface for a compound coordinate system.
 org.opengis.cs.CS_CoordinateSystem export(CoordinateSystem cs)
          Deprecated. Returns an OpenGIS interface for a coordinate system.
 org.opengis.cs.CS_CoordinateSystemAuthorityFactory export(CoordinateSystemAuthorityFactory factory)
          Deprecated. Returns an OpenGIS interface for a coordinate system authority factory.
 org.opengis.cs.CS_CoordinateSystemFactory export(CoordinateSystemFactory factory)
          Deprecated. Returns an OpenGIS interface for a coordinate system factory.
 org.opengis.cs.CS_Datum export(Datum datum)
          Deprecated. Returns an OpenGIS interface for a datum.
 org.opengis.cs.CS_DatumType export(DatumType type)
          Deprecated. Returns an OpenGIS enumeration for a datum type.
 org.opengis.cs.CS_Ellipsoid export(Ellipsoid ellipsoid)
          Deprecated. Returns an OpenGIS interface for an ellipsoid.
 org.opengis.cs.CS_FittedCoordinateSystem export(FittedCoordinateSystem cs)
          Deprecated. Returns an OpenGIS interface for a fitted coordinate system.
 org.opengis.cs.CS_GeocentricCoordinateSystem export(GeocentricCoordinateSystem cs)
          Deprecated. Returns an OpenGIS interface for a geocentric coordinate system.
 org.opengis.cs.CS_GeographicCoordinateSystem export(GeographicCoordinateSystem cs)
          Deprecated. Returns an OpenGIS interface for a geographic coordinate system.
 org.opengis.cs.CS_HorizontalCoordinateSystem export(HorizontalCoordinateSystem cs)
          Deprecated. Returns an OpenGIS interface for a horizontal coordinate system.
 org.opengis.cs.CS_HorizontalDatum export(HorizontalDatum datum)
          Deprecated. Returns an OpenGIS interface for a horizontal datum.
 org.opengis.cs.CS_Info export(Info info)
          Deprecated. Returns an OpenGIS interface for an info.
 org.opengis.cs.CS_LocalCoordinateSystem export(LocalCoordinateSystem cs)
          Deprecated. Returns an OpenGIS interface for a local coordinate system.
 org.opengis.cs.CS_LocalDatum export(LocalDatum datum)
          Deprecated. Returns an OpenGIS interface for a local datum.
 org.opengis.cs.CS_PrimeMeridian export(PrimeMeridian meridian)
          Deprecated. Returns an OpenGIS interface for a prime meridian.
 org.opengis.cs.CS_ProjectedCoordinateSystem export(ProjectedCoordinateSystem cs)
          Deprecated. Returns an OpenGIS interface for a projected coordinate system.
 org.opengis.cs.CS_Projection export(Projection projection)
          Deprecated. Returns an OpenGIS interface for a projection.
 org.opengis.cs.CS_Unit export(Unit unit)
          Deprecated. Returns an OpenGIS interface for a unit.
 org.opengis.cs.CS_VerticalCoordinateSystem export(VerticalCoordinateSystem cs)
          Deprecated. Returns an OpenGIS interface for a vertical coordinate system.
 org.opengis.cs.CS_VerticalDatum export(VerticalDatum datum)
          Deprecated. Returns an OpenGIS interface for a vertical datum.
 org.opengis.cs.CS_WGS84ConversionInfo export(WGS84ConversionInfo info)
          Deprecated. Returns an OpenGIS structure for conversion info.
 AxisInfo wrap(org.opengis.cs.CS_AxisInfo axis)
          Deprecated. Returns an axis info for an OpenGIS structure.
 AxisOrientation wrap(org.opengis.cs.CS_AxisOrientationEnum orientation)
          Deprecated. Returns an axis orientation for an OpenGIS enumeration.
 CompoundCoordinateSystem wrap(org.opengis.cs.CS_CompoundCoordinateSystem cs)
          Deprecated. Returns a compound coordinate system for an OpenGIS interface.
 CoordinateSystem wrap(org.opengis.cs.CS_CoordinateSystem cs)
          Deprecated. Returns a coordinate system for an OpenGIS interface.
 Datum wrap(org.opengis.cs.CS_Datum datum)
          Deprecated. Returns a datum for an OpenGIS interface.
 DatumType wrap(org.opengis.cs.CS_DatumType type)
          Deprecated. Returns a datum type for an OpenGIS enumeration.
 Ellipsoid wrap(org.opengis.cs.CS_Ellipsoid ellipsoid)
          Deprecated. Returns an ellipsoid for an OpenGIS interface.
 FittedCoordinateSystem wrap(org.opengis.cs.CS_FittedCoordinateSystem cs)
          Deprecated. Returns a fitted coordinate system for an OpenGIS interface.
 GeocentricCoordinateSystem wrap(org.opengis.cs.CS_GeocentricCoordinateSystem cs)
          Deprecated. Returns a geocentric coordinate system for an OpenGIS interface.
 GeographicCoordinateSystem wrap(org.opengis.cs.CS_GeographicCoordinateSystem cs)
          Deprecated. Returns a geographic coordinate system for an OpenGIS interface.
 HorizontalCoordinateSystem wrap(org.opengis.cs.CS_HorizontalCoordinateSystem cs)
          Deprecated. Returns a horizontal coordinate system for an OpenGIS interface.
 HorizontalDatum wrap(org.opengis.cs.CS_HorizontalDatum datum)
          Deprecated. Returns a horizontal datum for an OpenGIS interface.
 Info wrap(org.opengis.cs.CS_Info info)
          Deprecated. Returns info for an OpenGIS interface.
 LocalCoordinateSystem wrap(org.opengis.cs.CS_LocalCoordinateSystem cs)
          Deprecated. Returns a local coordinate system for an OpenGIS interface.
 LocalDatum wrap(org.opengis.cs.CS_LocalDatum datum)
          Deprecated. Returns a local datum for an OpenGIS interface.
 PrimeMeridian wrap(org.opengis.cs.CS_PrimeMeridian meridian)
          Deprecated. Returns a prime meridian for an OpenGIS interface.
 ProjectedCoordinateSystem wrap(org.opengis.cs.CS_ProjectedCoordinateSystem cs)
          Deprecated. Returns a projected coordinate system for an OpenGIS interface.
 Projection wrap(org.opengis.cs.CS_Projection projection)
          Deprecated. Returns a projection for an OpenGIS interface.
 javax.media.jai.ParameterList wrap(org.opengis.cs.CS_ProjectionParameter[] parameters)
          Deprecated. Returns a parameter list for an array of OpenGIS structures.
 Unit wrap(org.opengis.cs.CS_Unit unit)
          Deprecated. Returns a unit for an OpenGIS structure.
 VerticalCoordinateSystem wrap(org.opengis.cs.CS_VerticalCoordinateSystem cs)
          Deprecated. Returns a vertical coordinate system for an OpenGIS interface.
 VerticalDatum wrap(org.opengis.cs.CS_VerticalDatum datum)
          Deprecated. Returns a vertical datum for an OpenGIS interface.
 WGS84ConversionInfo wrap(org.opengis.cs.CS_WGS84ConversionInfo info)
          Deprecated. Returns conversion info for an OpenGIS structure.
 
Methods inherited from class org.geotools.pt.Adapters
export, export, export, wrap, wrap, wrap
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

csFactory

protected final CoordinateSystemFactory csFactory
Deprecated. 
The factory to use for creating CoordinateSystem objects.

Constructor Detail

Adapters

protected Adapters()
Deprecated. 
Construct an adapter with default factories.

Method Detail

export

public org.opengis.cs.CS_CoordinateSystemAuthorityFactory export(CoordinateSystemAuthorityFactory factory)
                                                          throws java.rmi.RemoteException
Deprecated. 
Returns an OpenGIS interface for a coordinate system authority factory.

Throws:
java.rmi.RemoteException - if the object can't be exported.

export

public org.opengis.cs.CS_CoordinateSystemFactory export(CoordinateSystemFactory factory)
                                                 throws java.rmi.RemoteException
Deprecated. 
Returns an OpenGIS interface for a coordinate system factory.

Throws:
java.rmi.RemoteException - if the object can't be exported.

export

public org.opengis.cs.CS_Info export(Info info)
                              throws java.rmi.RemoteException
Deprecated. 
Returns an OpenGIS interface for an info. If the argument is an Info subclass, the returned object will implement the corresponding interface. For example, a call with an argument of type GeographicCoordinateSystem will return an object implementing the CS_GeographicCoordinateSystem interface.

Throws:
java.rmi.RemoteException - if the object can't be exported.

export

public org.opengis.cs.CS_CoordinateSystem export(CoordinateSystem cs)
                                          throws java.rmi.RemoteException
Deprecated. 
Returns an OpenGIS interface for a coordinate system. If the argument is a CoordinateSystem subclass, the returned object will implement the corresponding interface.

Throws:
java.rmi.RemoteException - if the object can't be exported.

export

public org.opengis.cs.CS_FittedCoordinateSystem export(FittedCoordinateSystem cs)
                                                throws java.rmi.RemoteException
Deprecated. 
Returns an OpenGIS interface for a fitted coordinate system.

Throws:
java.rmi.RemoteException - if the object can't be exported.

export

public org.opengis.cs.CS_CompoundCoordinateSystem export(CompoundCoordinateSystem cs)
                                                  throws java.rmi.RemoteException
Deprecated. 
Returns an OpenGIS interface for a compound coordinate system.

Throws:
java.rmi.RemoteException - if the object can't be exported.

export

public org.opengis.cs.CS_LocalCoordinateSystem export(LocalCoordinateSystem cs)
                                               throws java.rmi.RemoteException
Deprecated. 
Returns an OpenGIS interface for a local coordinate system.

Throws:
java.rmi.RemoteException - if the object can't be exported.

export

public org.opengis.cs.CS_GeocentricCoordinateSystem export(GeocentricCoordinateSystem cs)
                                                    throws java.rmi.RemoteException
Deprecated. 
Returns an OpenGIS interface for a geocentric coordinate system.

Throws:
java.rmi.RemoteException - if the object can't be exported.

export

public org.opengis.cs.CS_VerticalCoordinateSystem export(VerticalCoordinateSystem cs)
                                                  throws java.rmi.RemoteException
Deprecated. 
Returns an OpenGIS interface for a vertical coordinate system.

Throws:
java.rmi.RemoteException - if the object can't be exported.

export

public org.opengis.cs.CS_HorizontalCoordinateSystem export(HorizontalCoordinateSystem cs)
                                                    throws java.rmi.RemoteException
Deprecated. 
Returns an OpenGIS interface for a horizontal coordinate system.

Throws:
java.rmi.RemoteException - if the object can't be exported.

export

public org.opengis.cs.CS_GeographicCoordinateSystem export(GeographicCoordinateSystem cs)
                                                    throws java.rmi.RemoteException
Deprecated. 
Returns an OpenGIS interface for a geographic coordinate system.

Throws:
java.rmi.RemoteException - if the object can't be exported.

export

public org.opengis.cs.CS_ProjectedCoordinateSystem export(ProjectedCoordinateSystem cs)
                                                   throws java.rmi.RemoteException
Deprecated. 
Returns an OpenGIS interface for a projected coordinate system.

Throws:
java.rmi.RemoteException - if the object can't be exported.

export

public org.opengis.cs.CS_Projection export(Projection projection)
                                    throws java.rmi.RemoteException
Deprecated. 
Returns an OpenGIS interface for a projection.

Throws:
java.rmi.RemoteException - if the object can't be exported.

export

public org.opengis.cs.CS_PrimeMeridian export(PrimeMeridian meridian)
                                       throws java.rmi.RemoteException
Deprecated. 
Returns an OpenGIS interface for a prime meridian.

Throws:
java.rmi.RemoteException - if the object can't be exported.

export

public org.opengis.cs.CS_Ellipsoid export(Ellipsoid ellipsoid)
                                   throws java.rmi.RemoteException
Deprecated. 
Returns an OpenGIS interface for an ellipsoid.

Throws:
java.rmi.RemoteException - if the object can't be exported.

export

public org.opengis.cs.CS_DatumType export(DatumType type)
Deprecated. 
Returns an OpenGIS enumeration for a datum type.


export

public org.opengis.cs.CS_Datum export(Datum datum)
                               throws java.rmi.RemoteException
Deprecated. 
Returns an OpenGIS interface for a datum.

Throws:
java.rmi.RemoteException - if the object can't be exported.

export

public org.opengis.cs.CS_LocalDatum export(LocalDatum datum)
                                    throws java.rmi.RemoteException
Deprecated. 
Returns an OpenGIS interface for a local datum.

Throws:
java.rmi.RemoteException - if the object can't be exported.

export

public org.opengis.cs.CS_HorizontalDatum export(HorizontalDatum datum)
                                         throws java.rmi.RemoteException
Deprecated. 
Returns an OpenGIS interface for a horizontal datum.

Throws:
java.rmi.RemoteException - if the object can't be exported.

export

public org.opengis.cs.CS_VerticalDatum export(VerticalDatum datum)
                                       throws java.rmi.RemoteException
Deprecated. 
Returns an OpenGIS interface for a vertical datum.

Throws:
java.rmi.RemoteException - if the object can't be exported.

export

public org.opengis.cs.CS_AxisOrientationEnum export(AxisOrientation orientation)
Deprecated. 
Returns an OpenGIS enumeration for an axis orientation.


export

public org.opengis.cs.CS_AxisInfo export(AxisInfo axis)
Deprecated. 
Returns an OpenGIS structure for an axis info.


export

public org.opengis.cs.CS_WGS84ConversionInfo export(WGS84ConversionInfo info)
Deprecated. 
Returns an OpenGIS structure for conversion info.


export

public org.opengis.cs.CS_Unit export(Unit unit)
                              throws java.rmi.RemoteException
Deprecated. 
Returns an OpenGIS interface for a unit. The returned interface may extend CS_LinearUnit or CS_AngularUnit according to the specified unit.

Throws:
java.rmi.RemoteException - if the object can't be exported.

wrap

public Info wrap(org.opengis.cs.CS_Info info)
          throws java.rmi.RemoteException
Deprecated. 
Returns info for an OpenGIS interface.

Throws:
java.rmi.RemoteException - if a remote call fails.

wrap

public CoordinateSystem wrap(org.opengis.cs.CS_CoordinateSystem cs)
                      throws java.rmi.RemoteException
Deprecated. 
Returns a coordinate system for an OpenGIS interface.

Throws:
java.rmi.RemoteException - if a remote call fails.

wrap

public FittedCoordinateSystem wrap(org.opengis.cs.CS_FittedCoordinateSystem cs)
                            throws java.rmi.RemoteException
Deprecated. 
Returns a fitted coordinate system for an OpenGIS interface.

Throws:
java.rmi.RemoteException - if a remote call fails.

wrap

public CompoundCoordinateSystem wrap(org.opengis.cs.CS_CompoundCoordinateSystem cs)
                              throws java.rmi.RemoteException
Deprecated. 
Returns a compound coordinate system for an OpenGIS interface.

Throws:
java.rmi.RemoteException - if a remote call fails.

wrap

public LocalCoordinateSystem wrap(org.opengis.cs.CS_LocalCoordinateSystem cs)
                           throws java.rmi.RemoteException
Deprecated. 
Returns a local coordinate system for an OpenGIS interface.

Throws:
java.rmi.RemoteException - if a remote call fails.

wrap

public GeocentricCoordinateSystem wrap(org.opengis.cs.CS_GeocentricCoordinateSystem cs)
                                throws java.rmi.RemoteException
Deprecated. 
Returns a geocentric coordinate system for an OpenGIS interface.

Throws:
java.rmi.RemoteException - if a remote call fails.

wrap

public VerticalCoordinateSystem wrap(org.opengis.cs.CS_VerticalCoordinateSystem cs)
                              throws java.rmi.RemoteException
Deprecated. 
Returns a vertical coordinate system for an OpenGIS interface.

Throws:
java.rmi.RemoteException - if a remote call fails.

wrap

public HorizontalCoordinateSystem wrap(org.opengis.cs.CS_HorizontalCoordinateSystem cs)
                                throws java.rmi.RemoteException
Deprecated. 
Returns a horizontal coordinate system for an OpenGIS interface.

Throws:
java.rmi.RemoteException - if a remote call fails.

wrap

public GeographicCoordinateSystem wrap(org.opengis.cs.CS_GeographicCoordinateSystem cs)
                                throws java.rmi.RemoteException
Deprecated. 
Returns a geographic coordinate system for an OpenGIS interface.

Throws:
java.rmi.RemoteException - if a remote call fails.

wrap

public ProjectedCoordinateSystem wrap(org.opengis.cs.CS_ProjectedCoordinateSystem cs)
                               throws java.rmi.RemoteException
Deprecated. 
Returns a projected coordinate system for an OpenGIS interface.

Throws:
java.rmi.RemoteException - if a remote call fails.

wrap

public Projection wrap(org.opengis.cs.CS_Projection projection)
                throws java.rmi.RemoteException
Deprecated. 
Returns a projection for an OpenGIS interface.

Throws:
java.rmi.RemoteException - if a remote call fails.

wrap

public PrimeMeridian wrap(org.opengis.cs.CS_PrimeMeridian meridian)
                   throws java.rmi.RemoteException
Deprecated. 
Returns a prime meridian for an OpenGIS interface.

Throws:
java.rmi.RemoteException - if a remote call fails.

wrap

public Ellipsoid wrap(org.opengis.cs.CS_Ellipsoid ellipsoid)
               throws java.rmi.RemoteException
Deprecated. 
Returns an ellipsoid for an OpenGIS interface.

Throws:
java.rmi.RemoteException - if a remote call fails.

wrap

public DatumType wrap(org.opengis.cs.CS_DatumType type)
Deprecated. 
Returns a datum type for an OpenGIS enumeration.


wrap

public Datum wrap(org.opengis.cs.CS_Datum datum)
           throws java.rmi.RemoteException
Deprecated. 
Returns a datum for an OpenGIS interface.

Throws:
java.rmi.RemoteException - if a remote call fails.

wrap

public LocalDatum wrap(org.opengis.cs.CS_LocalDatum datum)
                throws java.rmi.RemoteException
Deprecated. 
Returns a local datum for an OpenGIS interface.

Throws:
java.rmi.RemoteException - if a remote call fails.

wrap

public HorizontalDatum wrap(org.opengis.cs.CS_HorizontalDatum datum)
                     throws java.rmi.RemoteException
Deprecated. 
Returns a horizontal datum for an OpenGIS interface.

Throws:
java.rmi.RemoteException - if a remote call fails.

wrap

public VerticalDatum wrap(org.opengis.cs.CS_VerticalDatum datum)
                   throws java.rmi.RemoteException
Deprecated. 
Returns a vertical datum for an OpenGIS interface.

Throws:
java.rmi.RemoteException - if a remote call fails.

wrap

public AxisOrientation wrap(org.opengis.cs.CS_AxisOrientationEnum orientation)
Deprecated. 
Returns an axis orientation for an OpenGIS enumeration.


wrap

public AxisInfo wrap(org.opengis.cs.CS_AxisInfo axis)
Deprecated. 
Returns an axis info for an OpenGIS structure.


wrap

public javax.media.jai.ParameterList wrap(org.opengis.cs.CS_ProjectionParameter[] parameters)
Deprecated. 
Returns a parameter list for an array of OpenGIS structures.


wrap

public WGS84ConversionInfo wrap(org.opengis.cs.CS_WGS84ConversionInfo info)
Deprecated. 
Returns conversion info for an OpenGIS structure.


wrap

public Unit wrap(org.opengis.cs.CS_Unit unit)
          throws java.rmi.RemoteException
Deprecated. 
Returns a unit for an OpenGIS structure.

Throws:
java.rmi.RemoteException - if a remote call fails.


Copyright © GeoTools. All Rights Reserved.