com.esri.arcgis.geometry
Interface ISpatialReferenceFactory

All Superinterfaces:
java.io.Serializable
All Known Subinterfaces:
ISpatialReferenceFactory2, ISpatialReferenceFactory3, ISpatialReferenceFactory4, ISpatialReferenceFactory5, ISpatialReferenceFactory6
All Known Implementing Classes:
ISpatialReferenceFactory2Proxy, ISpatialReferenceFactory3Proxy, ISpatialReferenceFactory4Proxy, ISpatialReferenceFactory5Proxy, ISpatialReferenceFactory6Proxy, ISpatialReferenceFactoryProxy, SpatialReferenceEnvironment

public interface ISpatialReferenceFactory
extends java.io.Serializable

COM Interface 'ISpatialReferenceFactory'. Generated 3/19/2015 1:20:54 PM from 'C:\ArcGIS\COM\esriGeometry.olb'

Description: 'Provides access to members that create different kinds of spatial reference components.' Generator Options: PromptForTypeLibraries = False ClashPrefix = esri_ LowerCaseMemberNames = True IDispatchOnly = False RetryOnReject = False AwtForOcxs = True ArraysAsObjects = False DontRenameSameMethods = False ImplementConflictingInterfaces = True ReuseMethods = True RenameConflictingInterfaceMethods = True GenBeanInfo = True GenerateJavadoc =


Field Summary
static java.lang.String IID
          Deprecated. Internal use only
static int IID6cd10b60_c4f6_11d1_bc92_0000f875bcce
           
static int xxDummy
          Deprecated. Internal use only
 
Method Summary
 IDatum createDatum(int datumType)
          Creates a predefined datum.
 void createESRISpatialReference(java.lang.String spatRefInfo, ISpatialReference[] spatialReference, int[] cBytesRead)
          Creates a spatial reference system and defines it from the specified ESRISpatialReference buffer.
 ISpatialReference createESRISpatialReferenceFromPRJ(java.lang.String prj)
          Creates a spatial reference from a PRJ string.
 ISpatialReference createESRISpatialReferenceFromPRJFile(java.lang.String prjFile)
          Creates a spatial reference from a PRJ file.
 IGeographicCoordinateSystem createGeographicCoordinateSystem(int gcsType)
          Creates a predefined geographic coordinate system.
 ITransformation createGeoTransformation(int gTransformationType)
          Creates a predefined transformation between geographic coordinate systems.
 IParameter createParameter(int parameterType)
          Creates a predefined parameter.
 ISet createPredefinedAngularUnits()
          Creates a list of predefined angular units.
 ISet createPredefinedDatums()
          Creates a list of a list of predefined datums.
 ISet createPredefinedLinearUnits()
          Creates a list of predefined linear units.
 ISet createPredefinedPrimeMeridians()
          Creates a list of predefined prime meridians.
 ISet createPredefinedProjections()
          Creates a list of predefined projections.
 ISet createPredefinedSpheroids()
          Creates a list of predefined spheroids.
 IPrimeMeridian createPrimeMeridian(int primeMeridianType)
          Creates a predefined prime meridian.
 IProjectedCoordinateSystem createProjectedCoordinateSystem(int pcsType)
          Creates a predefined projected coordinate system.
 IProjection createProjection(int projectionType)
          Creates a predefined projection.
 ISpheroid createSpheroid(int spheroidType)
          Creates a predefined spheroid.
 IUnit createUnit(int unitType)
          Creates a predefined unit of measure.
 void exportESRISpatialReferenceToPRJFile(java.lang.String prjFile, ISpatialReference spatialReference)
          Exports a spatial reference to a PRJ file.
 

Field Detail

IID6cd10b60_c4f6_11d1_bc92_0000f875bcce

static final int IID6cd10b60_c4f6_11d1_bc92_0000f875bcce
See Also:
Constant Field Values

xxDummy

static final int xxDummy
Deprecated. Internal use only
See Also:
Constant Field Values

IID

static final java.lang.String IID
Deprecated. Internal use only
See Also:
Constant Field Values
Method Detail

createESRISpatialReference

void createESRISpatialReference(java.lang.String spatRefInfo,
                                ISpatialReference[] spatialReference,
                                int[] cBytesRead)
                                throws java.io.IOException,
                                       AutomationException
Creates a spatial reference system and defines it from the specified ESRISpatialReference buffer.

Parameters:
spatRefInfo - The spatRefInfo (in)
spatialReference - A reference to a com.esri.arcgis.geometry.ISpatialReference (out: use single element array)
cBytesRead - The cBytesRead (out: use single element array)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

createESRISpatialReferenceFromPRJ

ISpatialReference createESRISpatialReferenceFromPRJ(java.lang.String prj)
                                                    throws java.io.IOException,
                                                           AutomationException
Creates a spatial reference from a PRJ string.

Parameters:
prj - The prj (in)
Returns:
A reference to a com.esri.arcgis.geometry.ISpatialReference
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

createESRISpatialReferenceFromPRJFile

ISpatialReference createESRISpatialReferenceFromPRJFile(java.lang.String prjFile)
                                                        throws java.io.IOException,
                                                               AutomationException
Creates a spatial reference from a PRJ file.

Parameters:
prjFile - The prjFile (in)
Returns:
A reference to a com.esri.arcgis.geometry.ISpatialReference
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

exportESRISpatialReferenceToPRJFile

void exportESRISpatialReferenceToPRJFile(java.lang.String prjFile,
                                         ISpatialReference spatialReference)
                                         throws java.io.IOException,
                                                AutomationException
Exports a spatial reference to a PRJ file.

Parameters:
prjFile - The prjFile (in)
spatialReference - A reference to a com.esri.arcgis.geometry.ISpatialReference (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

createUnit

IUnit createUnit(int unitType)
                 throws java.io.IOException,
                        AutomationException
Creates a predefined unit of measure.

Parameters:
unitType - The unitType (in)
Returns:
A reference to a com.esri.arcgis.geometry.IUnit
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

createSpheroid

ISpheroid createSpheroid(int spheroidType)
                         throws java.io.IOException,
                                AutomationException
Creates a predefined spheroid.

Parameters:
spheroidType - The spheroidType (in)
Returns:
A reference to a com.esri.arcgis.geometry.ISpheroid
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

createDatum

IDatum createDatum(int datumType)
                   throws java.io.IOException,
                          AutomationException
Creates a predefined datum.

Parameters:
datumType - The datumType (in)
Returns:
A reference to a com.esri.arcgis.geometry.IDatum
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

createPrimeMeridian

IPrimeMeridian createPrimeMeridian(int primeMeridianType)
                                   throws java.io.IOException,
                                          AutomationException
Creates a predefined prime meridian.

Parameters:
primeMeridianType - The primeMeridianType (in)
Returns:
A reference to a com.esri.arcgis.geometry.IPrimeMeridian
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

createProjection

IProjection createProjection(int projectionType)
                             throws java.io.IOException,
                                    AutomationException
Creates a predefined projection.

Parameters:
projectionType - The projectionType (in)
Returns:
A reference to a com.esri.arcgis.geometry.IProjection
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

createParameter

IParameter createParameter(int parameterType)
                           throws java.io.IOException,
                                  AutomationException
Creates a predefined parameter.

Parameters:
parameterType - The parameterType (in)
Returns:
A reference to a com.esri.arcgis.geometry.IParameter
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

createProjectedCoordinateSystem

IProjectedCoordinateSystem createProjectedCoordinateSystem(int pcsType)
                                                           throws java.io.IOException,
                                                                  AutomationException
Creates a predefined projected coordinate system.

Parameters:
pcsType - The pcsType (in)
Returns:
A reference to a com.esri.arcgis.geometry.IProjectedCoordinateSystem
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

createGeographicCoordinateSystem

IGeographicCoordinateSystem createGeographicCoordinateSystem(int gcsType)
                                                             throws java.io.IOException,
                                                                    AutomationException
Creates a predefined geographic coordinate system.

Parameters:
gcsType - The gcsType (in)
Returns:
A reference to a com.esri.arcgis.geometry.IGeographicCoordinateSystem
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

createGeoTransformation

ITransformation createGeoTransformation(int gTransformationType)
                                        throws java.io.IOException,
                                               AutomationException
Creates a predefined transformation between geographic coordinate systems.

Parameters:
gTransformationType - The gTransformationType (in)
Returns:
A reference to a com.esri.arcgis.geometry.ITransformation
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

createPredefinedProjections

ISet createPredefinedProjections()
                                 throws java.io.IOException,
                                        AutomationException
Creates a list of predefined projections.

Returns:
A reference to a com.esri.arcgis.system.ISet
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

createPredefinedLinearUnits

ISet createPredefinedLinearUnits()
                                 throws java.io.IOException,
                                        AutomationException
Creates a list of predefined linear units.

Returns:
A reference to a com.esri.arcgis.system.ISet
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

createPredefinedDatums

ISet createPredefinedDatums()
                            throws java.io.IOException,
                                   AutomationException
Creates a list of a list of predefined datums.

Returns:
A reference to a com.esri.arcgis.system.ISet
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

createPredefinedAngularUnits

ISet createPredefinedAngularUnits()
                                  throws java.io.IOException,
                                         AutomationException
Creates a list of predefined angular units.

Returns:
A reference to a com.esri.arcgis.system.ISet
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

createPredefinedPrimeMeridians

ISet createPredefinedPrimeMeridians()
                                    throws java.io.IOException,
                                           AutomationException
Creates a list of predefined prime meridians.

Returns:
A reference to a com.esri.arcgis.system.ISet
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

createPredefinedSpheroids

ISet createPredefinedSpheroids()
                               throws java.io.IOException,
                                      AutomationException
Creates a list of predefined spheroids.

Returns:
A reference to a com.esri.arcgis.system.ISet
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.