com.esri.sde.sdk.pe
Class PeFactory

java.lang.Object
  extended by com.esri.sde.sdk.pe.PeFactory

public final class PeFactory
extends java.lang.Object

Abstract Projection Engine Factory which returns one of several Projection Engine Objects.


Constructor Summary
PeFactory()
           
 
Method Summary
static int[] angularUnitCodelist()
          Deprecated. This will be removed after version 10.0. It is replaced by PeFactoryCodelist.angunit().
static PeUnit angunit(int code)
          Convert a code to a angunit
static PeCoordinateSystem coordsys(int code)
          Convert a code to a coordsys
static PeDatum datum(int code)
          Convert a code to a datum
static int[] datumCodelist()
          Deprecated. This will be removed after version 10.0. It is replaced by PeFactoryCodelist.datum().
static void destroyCodelist(int[] codelist)
          Deprecated. This will be removed after version 10.0. It is replaced by PeFactoryCodelist.delete(int[]).
static PeObject factory(int code)
          Deprecated. This will be removed after version 10.0. It is replaced by factoryByType(int, int) or PeFactory.objectName().
static PeObject factoryByType(int type, int code)
          Create a PE object from a factory code and type.
static PeGeographicCS geogcs(int code)
          Convert a code to a geogcs
static int[] geogcsCodelist()
          Deprecated. This will be removed after version 10.0. It is replaced by PeFactoryCodelist.geogcs().
static PeGeogTransformations geogtran(int code)
          Convert a code to a geogtran
static int[] geogtranCodelist()
          Deprecated. This will be removed after version 10.0. It is replaced by PeFactoryCodelist.geogtran().
static PeAuthority getAuthority(PeObject p)
          Retrieves an object's authority
static int getCode(PeObject p)
          Retrieves an object's factory code.
static int getType(PeObject p)
          Retrieves an object's factory type.
static PeHTMethod htmethod(int code)
          Convert a code to a htmethod
static int[] htmethodCodelist()
          Deprecated. This will be removed after version 10.0. It is replaced by PeFactoryCodelist.htmethod().
static PeHVCoordSys hvcoordsys(int code)
          Convert a code to a hvcoordsys
static PeHVDatum hvdatum(int code)
          Convert a code to a hvdatum
static int[] linearUnitCodelist()
          Deprecated. This will be removed after version 10.0. It is replaced by PeFactoryCodelist.linunit().
static PeUnit linunit(int code)
          Convert a code to a linunit
static PeMetadata metadata(int type, int code)
          Convert a type and code to a metadata
static PeMethod method(int code)
          Convert a code to a method
static int[] methodCodelist()
          Deprecated. This will be removed after version 10.0. It is replaced by PeFactoryCodelist.method().
static PeParameters parameter(int code)
          Convert a code to a parameter
static int[] parameterCodelist()
          Deprecated. This will be removed after version 10.0. It is replaced by PeFactoryCodelist.parameter().
static PePrimeMeridian primem(int code)
          Convert a code to a primem
static int[] primemCodelist()
          Deprecated. This will be removed after version 10.0. It is replaced by PeFactoryCodelist.primem().
static PeProjectedCS projcs(int code)
          Convert a code to a projcs
static int[] projcsCodelist()
          Deprecated. This will be removed after version 10.0. It is replaced by PeFactoryCodelist.projcs().
static PeProjection projection(int code)
          Convert a code to a projection
static int[] projectionCodelist()
          Deprecated. This will be removed after version 10.0. It is replaced by PeFactoryCodelist.projection().
static PeSpheroid spheroid(int code)
          Convert a code to a spheroid
static int[] spheroidCodelist()
          Deprecated. This will be removed after version 10.0. It is replaced by PeFactoryCodelist.spheroid().
static PeUnit unit(int code)
          Convert a code to a unit
static PeVDatum vdatum(int code)
          Convert a code to a vdatum
static int[] vdatumCodelist()
          Deprecated. This will be removed after version 10.0. It is replaced by PeFactoryCodelist.vdatum().
static PeVertCS vertcs(int code)
          Convert a code to a vertcs
static int[] vertcsCodelist()
          Deprecated. This will be removed after version 10.0. It is replaced by PeFactoryCodelist.vertcs().
static PeVerttran verttran(int code)
          Convert a code to a verttran
static int[] verttranCodelist()
          Deprecated. This will be removed after version 10.0. It is replaced by PeFactoryCodelist.verttran().
static PeVTMethod vtmethod(int code)
          Convert a code to a vtmethod
static int[] vtmethodCodelist()
          Deprecated. This will be removed after version 10.0. It is replaced by PeFactoryCodelist.vtmethod().
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PeFactory

public PeFactory()
Method Detail

getType

public static int getType(PeObject p)
Retrieves an object's factory type.


getAuthority

public static PeAuthority getAuthority(PeObject p)
Retrieves an object's authority


getCode

public static int getCode(PeObject p)
Retrieves an object's factory code.


factory

public static PeObject factory(int code)
                        throws PeProjectionException
Deprecated. This will be removed after version 10.0. It is replaced by factoryByType(int, int) or PeFactory.objectName().

Create a PE object from a factory code.

Throws:
PeProjectionException

factoryByType

public static PeObject factoryByType(int type,
                                     int code)
                              throws PeProjectionException
Create a PE object from a factory code and type.

Throws:
PeProjectionException

method

public static PeMethod method(int code)
                       throws PeProjectionException
Convert a code to a method

Throws:
PeProjectionException

htmethod

public static PeHTMethod htmethod(int code)
                           throws PeProjectionException
Convert a code to a htmethod

Throws:
PeProjectionException

vtmethod

public static PeVTMethod vtmethod(int code)
                           throws PeProjectionException
Convert a code to a vtmethod

Throws:
PeProjectionException

projection

public static PeProjection projection(int code)
                               throws PeProjectionException
Convert a code to a projection

Throws:
PeProjectionException

parameter

public static PeParameters parameter(int code)
                              throws PeProjectionException
Convert a code to a parameter

Throws:
PeProjectionException

unit

public static PeUnit unit(int code)
                   throws PeProjectionException
Convert a code to a unit

Throws:
PeProjectionException

coordsys

public static PeCoordinateSystem coordsys(int code)
                                   throws PeProjectionException
Convert a code to a coordsys

Throws:
PeProjectionException

hvdatum

public static PeHVDatum hvdatum(int code)
                         throws PeProjectionException
Convert a code to a hvdatum

Throws:
PeProjectionException

geogcs

public static PeGeographicCS geogcs(int code)
                             throws PeProjectionException
Convert a code to a geogcs

Throws:
PeProjectionException

projcs

public static PeProjectedCS projcs(int code)
                            throws PeProjectionException
Convert a code to a projcs

Throws:
PeProjectionException

vertcs

public static PeVertCS vertcs(int code)
                       throws PeProjectionException
Convert a code to a vertcs

Throws:
PeProjectionException

hvcoordsys

public static PeHVCoordSys hvcoordsys(int code)
                               throws PeProjectionException
Convert a code to a hvcoordsys

Throws:
PeProjectionException

datum

public static PeDatum datum(int code)
                     throws PeProjectionException
Convert a code to a datum

Throws:
PeProjectionException

vdatum

public static PeVDatum vdatum(int code)
                       throws PeProjectionException
Convert a code to a vdatum

Throws:
PeProjectionException

geogtran

public static PeGeogTransformations geogtran(int code)
                                      throws PeProjectionException
Convert a code to a geogtran

Throws:
PeProjectionException

verttran

public static PeVerttran verttran(int code)
                           throws PeProjectionException
Convert a code to a verttran

Throws:
PeProjectionException

angunit

public static PeUnit angunit(int code)
                      throws PeProjectionException
Convert a code to a angunit

Throws:
PeProjectionException

linunit

public static PeUnit linunit(int code)
                      throws PeProjectionException
Convert a code to a linunit

Throws:
PeProjectionException

primem

public static PePrimeMeridian primem(int code)
                              throws PeProjectionException
Convert a code to a primem

Throws:
PeProjectionException

spheroid

public static PeSpheroid spheroid(int code)
                           throws PeProjectionException
Convert a code to a spheroid

Throws:
PeProjectionException

metadata

public static PeMetadata metadata(int type,
                                  int code)
                           throws PeProjectionException
Convert a type and code to a metadata

Throws:
PeProjectionException

datumCodelist

public static int[] datumCodelist()
                           throws PeProjectionException
Deprecated. This will be removed after version 10.0. It is replaced by PeFactoryCodelist.datum().

Creates an integer array of datum factory codes.

Throws:
PeProjectionException

vdatumCodelist

public static int[] vdatumCodelist()
                            throws PeProjectionException
Deprecated. This will be removed after version 10.0. It is replaced by PeFactoryCodelist.vdatum().

Creates an integer array of vdatum factory codes.

Throws:
PeProjectionException

geogcsCodelist

public static int[] geogcsCodelist()
                            throws PeProjectionException
Deprecated. This will be removed after version 10.0. It is replaced by PeFactoryCodelist.geogcs().

Creates an integer array of GeographicCS factory codes.

Throws:
PeProjectionException

geogtranCodelist

public static int[] geogtranCodelist()
                              throws PeProjectionException
Deprecated. This will be removed after version 10.0. It is replaced by PeFactoryCodelist.geogtran().

Creates an integer array of Geographic Transformation factory codes.

Throws:
PeProjectionException

methodCodelist

public static int[] methodCodelist()
                            throws PeProjectionException
Deprecated. This will be removed after version 10.0. It is replaced by PeFactoryCodelist.method().

Creates an integer array of Method factory codes.

Throws:
PeProjectionException

htmethodCodelist

public static int[] htmethodCodelist()
                              throws PeProjectionException
Deprecated. This will be removed after version 10.0. It is replaced by PeFactoryCodelist.htmethod().

Creates an integer array of HTMethod factory codes.

Throws:
PeProjectionException

parameterCodelist

public static int[] parameterCodelist()
                               throws PeProjectionException
Deprecated. This will be removed after version 10.0. It is replaced by PeFactoryCodelist.parameter().

Creates an integer array of Parameters factory codes.

Throws:
PeProjectionException

projcsCodelist

public static int[] projcsCodelist()
                            throws PeProjectionException
Deprecated. This will be removed after version 10.0. It is replaced by PeFactoryCodelist.projcs().

Creates an integer array of ProjectedCS factory codes.

Throws:
PeProjectionException

vertcsCodelist

public static int[] vertcsCodelist()
                            throws PeProjectionException
Deprecated. This will be removed after version 10.0. It is replaced by PeFactoryCodelist.vertcs().

Creates an integer array of VertCS factory codes.

Throws:
PeProjectionException

primemCodelist

public static int[] primemCodelist()
                            throws PeProjectionException
Deprecated. This will be removed after version 10.0. It is replaced by PeFactoryCodelist.primem().

Creates an integer array of Prime Meridian factory codes.

Throws:
PeProjectionException

projectionCodelist

public static int[] projectionCodelist()
                                throws PeProjectionException
Deprecated. This will be removed after version 10.0. It is replaced by PeFactoryCodelist.projection().

Creates an integer array of Projection factory codes.

Throws:
PeProjectionException

spheroidCodelist

public static int[] spheroidCodelist()
                              throws PeProjectionException
Deprecated. This will be removed after version 10.0. It is replaced by PeFactoryCodelist.spheroid().

Creates an integer array of Spheroid factory codes.

Throws:
PeProjectionException

angularUnitCodelist

public static int[] angularUnitCodelist()
                                 throws PeProjectionException
Deprecated. This will be removed after version 10.0. It is replaced by PeFactoryCodelist.angunit().

Creates an integer array of angular unit factory codes.

Throws:
PeProjectionException

linearUnitCodelist

public static int[] linearUnitCodelist()
                                throws PeProjectionException
Deprecated. This will be removed after version 10.0. It is replaced by PeFactoryCodelist.linunit().

Creates an integer array of Linear Unit factory codes.

Throws:
PeProjectionException

vtmethodCodelist

public static int[] vtmethodCodelist()
                              throws PeProjectionException
Deprecated. This will be removed after version 10.0. It is replaced by PeFactoryCodelist.vtmethod().

Creates an integer array of VTMethod factory codes.

Throws:
PeProjectionException

verttranCodelist

public static int[] verttranCodelist()
                              throws PeProjectionException
Deprecated. This will be removed after version 10.0. It is replaced by PeFactoryCodelist.verttran().

Creates an integer array of Verttran factory codes.

Throws:
PeProjectionException

destroyCodelist

public static void destroyCodelist(int[] codelist)
Deprecated. This will be removed after version 10.0. It is replaced by PeFactoryCodelist.delete(int[]).

Deletes an integer array of factory codes.