com.esri.arcgis.datasourcesraster
Class RasterTypeFactory

java.lang.Object
  extended by com.esri.arcgis.datasourcesraster.RasterTypeFactory
All Implemented Interfaces:
IRasterTypeFactory, IRasterTypeFactory2, com.esri.arcgis.interop.RemoteObjRef, Serializable

public class RasterTypeFactory
extends Object
implements com.esri.arcgis.interop.RemoteObjRef, IRasterTypeFactory2

A raster type factory object.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

See Also:
Serialized Form

Constructor Summary
RasterTypeFactory()
          Constructs a RasterTypeFactory using ArcGIS Engine.
RasterTypeFactory(Object obj)
          Deprecated. As of ArcGIS 9.2, replaced by normal Java casts.
RasterTypeFactory theRasterTypeFactory = (RasterTypeFactory) obj;
 
Method Summary
 IRasterType createRasterType(String rasterTypeName)
          Creates a raster type object given a name.
 boolean equals(Object o)
          Compare this object with another
static String getClsid()
          getClsid.
 IUID getCLSID()
          The COM class ID of the raster type factory.
 String getName()
          The name of the raster type factory.
 IStringArray getRasterTypeNames()
          The raster type names created by this factory.
 int hashCode()
          the hashcode for this object
 void updateRasterTypeDefaults(IRasterType pRasterType, IMosaicDataset pMosaicDataset, IDataSourceCrawler pCrawler)
          Resets properties of the raster type based on an optional mosaic dataset and an optional data source crawler.
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.esri.arcgis.interop.RemoteObjRef
getJintegraDispatch, release
 

Constructor Detail

RasterTypeFactory

public RasterTypeFactory()
                  throws IOException,
                         UnknownHostException
Constructs a RasterTypeFactory using ArcGIS Engine.

Throws:
IOException - if there are interop problems
UnknownHostException - if there are interop problems

RasterTypeFactory

public RasterTypeFactory(Object obj)
                  throws IOException
Deprecated. As of ArcGIS 9.2, replaced by normal Java casts.
RasterTypeFactory theRasterTypeFactory = (RasterTypeFactory) obj;

Construct a RasterTypeFactory using a reference to such an object returned from ArcGIS Engine or Server. This is semantically equivalent to casting obj to RasterTypeFactory.

Parameters:
obj - an object returned from ArcGIS Engine or Server
Throws:
IOException - if there are interop problems
Method Detail

getClsid

public static String getClsid()
getClsid.


equals

public boolean equals(Object o)
Compare this object with another

Overrides:
equals in class Object

hashCode

public int hashCode()
the hashcode for this object

Overrides:
hashCode in class Object

updateRasterTypeDefaults

public void updateRasterTypeDefaults(IRasterType pRasterType,
                                     IMosaicDataset pMosaicDataset,
                                     IDataSourceCrawler pCrawler)
                              throws IOException,
                                     AutomationException
Resets properties of the raster type based on an optional mosaic dataset and an optional data source crawler.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Specified by:
updateRasterTypeDefaults in interface IRasterTypeFactory2
Parameters:
pRasterType - A reference to a com.esri.arcgis.datasourcesraster.IRasterType (in)
pMosaicDataset - A reference to a com.esri.arcgis.datasourcesraster.IMosaicDataset (in)
pCrawler - A reference to a com.esri.arcgis.datasourcesraster.IDataSourceCrawler (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getName

public String getName()
               throws IOException,
                      AutomationException
The name of the raster type factory.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Specified by:
getName in interface IRasterTypeFactory
Returns:
The pName
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getCLSID

public IUID getCLSID()
              throws IOException,
                     AutomationException
The COM class ID of the raster type factory.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Specified by:
getCLSID in interface IRasterTypeFactory
Returns:
A reference to a com.esri.arcgis.system.IUID
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getRasterTypeNames

public IStringArray getRasterTypeNames()
                                throws IOException,
                                       AutomationException
The raster type names created by this factory.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Specified by:
getRasterTypeNames in interface IRasterTypeFactory
Returns:
A reference to a com.esri.arcgis.system.IStringArray
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

createRasterType

public IRasterType createRasterType(String rasterTypeName)
                             throws IOException,
                                    AutomationException
Creates a raster type object given a name.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Specified by:
createRasterType in interface IRasterTypeFactory
Parameters:
rasterTypeName - The rasterTypeName (in)
Returns:
A reference to a com.esri.arcgis.datasourcesraster.IRasterType
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.