com.esri.arcgis.search
Class GPSearchDataTypeFactory

java.lang.Object
  extended by com.esri.arcgis.search.GPSearchDataTypeFactory
All Implemented Interfaces:
IGPDataTypeFactory, IGPLayerSupport, com.esri.arcgis.interop.RemoteObjRef, Serializable

public class GPSearchDataTypeFactory
extends Object
implements com.esri.arcgis.interop.RemoteObjRef, IGPDataTypeFactory, IGPLayerSupport

GeoProcessor Network Data Type Factory object.

See Also:
Serialized Form

Constructor Summary
GPSearchDataTypeFactory()
          Constructs a GPSearchDataTypeFactory using ArcGIS Engine.
GPSearchDataTypeFactory(Object obj)
          Construct a GPSearchDataTypeFactory using a reference to such an object returned from ArcGIS Engine or Server.
 
Method Summary
 boolean equals(Object o)
          Compare this object with another
static String getClsid()
          getClsid.
 IUID getCLSID()
          The COM class ID of the data type factory.
 IGPDataType getDataType(String name)
          Provides the data type object given the name.
 IGPName getDataTypeName(String name)
          Provides the data type name object given the name.
 IEnumGPName getDataTypeNames()
          Provides the enumeration of data type name objects.
 int hashCode()
          the hashcode for this object
 IGPLayer makeGPLayer(ILayer pLayer)
          Makes a GPLayer from a layer.
 ILayer makeLayer(IGPValue pValue, String name, Object pRenderer)
          Makes a layer from a value.
 
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

GPSearchDataTypeFactory

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

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

GPSearchDataTypeFactory

public GPSearchDataTypeFactory(Object obj)
                        throws IOException
Construct a GPSearchDataTypeFactory using a reference to such an object returned from ArcGIS Engine or Server. This is semantically equivalent to casting obj to GPSearchDataTypeFactory.

Parameters:
obj - an object returned from ArcGIS Engine or Server
Throws:
IOException - if there are interop problems GPSearchDataTypeFactory theGPSearchDataTypeFactory = (GPSearchDataTypeFactory) obj;
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

getCLSID

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

Product Availability

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

Supported Platforms

Windows, Solaris, Linux

Specified by:
getCLSID in interface IGPDataTypeFactory
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.

getDataType

public IGPDataType getDataType(String name)
                        throws IOException,
                               AutomationException
Provides the data type object given the name.

Product Availability

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

Supported Platforms

Windows, Solaris, Linux

Specified by:
getDataType in interface IGPDataTypeFactory
Parameters:
name - The name (in)
Returns:
A reference to a com.esri.arcgis.geodatabase.IGPDataType
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getDataTypeName

public IGPName getDataTypeName(String name)
                        throws IOException,
                               AutomationException
Provides the data type name object given the name.

Product Availability

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

Supported Platforms

Windows, Solaris, Linux

Specified by:
getDataTypeName in interface IGPDataTypeFactory
Parameters:
name - The name (in)
Returns:
A reference to a com.esri.arcgis.geodatabase.IGPName
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getDataTypeNames

public IEnumGPName getDataTypeNames()
                             throws IOException,
                                    AutomationException
Provides the enumeration of data type name objects.

Product Availability

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

Supported Platforms

Windows, Solaris, Linux

Specified by:
getDataTypeNames in interface IGPDataTypeFactory
Returns:
A reference to a com.esri.arcgis.geodatabase.IEnumGPName
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

makeGPLayer

public IGPLayer makeGPLayer(ILayer pLayer)
                     throws IOException,
                            AutomationException
Makes a GPLayer from a layer.

Product Availability

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

Specified by:
makeGPLayer in interface IGPLayerSupport
Parameters:
pLayer - A reference to a com.esri.arcgis.carto.ILayer (in)
Returns:
A reference to a com.esri.arcgis.datasourcesfile.IGPLayer
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

makeLayer

public ILayer makeLayer(IGPValue pValue,
                        String name,
                        Object pRenderer)
                 throws IOException,
                        AutomationException
Makes a layer from a value.

Product Availability

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

Specified by:
makeLayer in interface IGPLayerSupport
Parameters:
pValue - A reference to a com.esri.arcgis.geodatabase.IGPValue (in)
name - The name (in)
pRenderer - A reference to another Object (IUnknown) (in)
Returns:
A reference to a com.esri.arcgis.carto.ILayer
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.