com.esri.arcgis.catalog
Class GxToolboxFactory

java.lang.Object
  extended by com.esri.arcgis.catalog.GxToolboxFactory
All Implemented Interfaces:
IGxObjectFactory, IGxObjectFactoryFileExtensions, com.esri.arcgis.interop.RemoteObjRef, java.io.Serializable

public class GxToolboxFactory
extends java.lang.Object
implements com.esri.arcgis.interop.RemoteObjRef, IGxObjectFactory, IGxObjectFactoryFileExtensions

COM Class 'GxToolboxFactory'. Generated 3/19/2015 1:20:49 PM from 'C:\ArcGIS\COM\esriCatalog.olb'

Description 'GX Toolbox object factory.' 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 =

See Also:
Serialized Form

Field Summary
 
Fields inherited from interface com.esri.arcgis.catalog.IGxObjectFactory
IID, IID65d77502_895c_11d2_af5d_080009ec734b, xxDummy
 
Fields inherited from interface com.esri.arcgis.catalog.IGxObjectFactoryFileExtensions
IID, IIDf61dc478_8f2e_43fa_9090_7fccb8450e18, xxDummy
 
Constructor Summary
GxToolboxFactory()
          Constructs a GxToolboxFactory using ArcGIS Engine.
GxToolboxFactory(java.lang.Object obj)
          Deprecated. As of ArcGIS 9.2, replaced by normal Java casts.
GxToolboxFactory theGxToolboxFactory = (GxToolboxFactory) obj;
 
Method Summary
 boolean equals(java.lang.Object o)
          Compare this object with another
 java.lang.String getActivationExtensions()
          The minimal set of file extensions which should cause the factory to be activated.
 IEnumGxObject getChildren(java.lang.String parentDir, IFileNames fileNames)
          Returns an enumeration of objects corresponding to one or more of the given file names supported by the object factory.
static java.lang.String getClsid()
          getClsid.
 com.esri.arcgis.interop.Dispatch getJintegraDispatch()
          Deprecated. Internal use only.
 java.lang.String getName()
          The name of the object factory.
 java.lang.String getRelevantExtensions()
          The complete set of file extensions relevant to the factory.
 boolean hasChildren(java.lang.String parentDir, IFileNames fileNames)
          Indicates if any of the specified files are supported by the object factory.
 int hashCode()
          the hashcode for this object
 void release()
          Release a GxToolboxFactory.
 void setCatalogByRef(IGxCatalog rhs1)
          Attach the catalog to the object factory.
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GxToolboxFactory

public GxToolboxFactory()
                 throws java.io.IOException,
                        java.net.UnknownHostException
Constructs a GxToolboxFactory using ArcGIS Engine.

Throws:
java.io.IOException - if there are interop problems
java.net.UnknownHostException - if there are interop problems

GxToolboxFactory

public GxToolboxFactory(java.lang.Object obj)
                 throws java.io.IOException
Deprecated. As of ArcGIS 9.2, replaced by normal Java casts.
GxToolboxFactory theGxToolboxFactory = (GxToolboxFactory) obj;

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

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

getClsid

public static java.lang.String getClsid()
getClsid.


equals

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

Overrides:
equals in class java.lang.Object

hashCode

public int hashCode()
the hashcode for this object

Overrides:
hashCode in class java.lang.Object

getJintegraDispatch

public com.esri.arcgis.interop.Dispatch getJintegraDispatch()
Deprecated. Internal use only.

Specified by:
getJintegraDispatch in interface com.esri.arcgis.interop.RemoteObjRef

release

public void release()
Release a GxToolboxFactory.

Specified by:
release in interface com.esri.arcgis.interop.RemoteObjRef

setCatalogByRef

public void setCatalogByRef(IGxCatalog rhs1)
                     throws java.io.IOException,
                            AutomationException
Attach the catalog to the object factory.

Specified by:
setCatalogByRef in interface IGxObjectFactory
Parameters:
rhs1 - A reference to a com.esri.arcgis.catalog.IGxCatalog (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getName

public java.lang.String getName()
                         throws java.io.IOException,
                                AutomationException
The name of the object factory.

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

hasChildren

public boolean hasChildren(java.lang.String parentDir,
                           IFileNames fileNames)
                    throws java.io.IOException,
                           AutomationException
Indicates if any of the specified files are supported by the object factory.

Specified by:
hasChildren in interface IGxObjectFactory
Parameters:
parentDir - The parentDir (in)
fileNames - A reference to a com.esri.arcgis.system.IFileNames (in)
Returns:
The hasChildren
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getChildren

public IEnumGxObject getChildren(java.lang.String parentDir,
                                 IFileNames fileNames)
                          throws java.io.IOException,
                                 AutomationException
Returns an enumeration of objects corresponding to one or more of the given file names supported by the object factory.

Specified by:
getChildren in interface IGxObjectFactory
Parameters:
parentDir - The parentDir (in)
fileNames - A reference to a com.esri.arcgis.system.IFileNames (in)
Returns:
A reference to a com.esri.arcgis.catalog.IEnumGxObject
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getRelevantExtensions

public java.lang.String getRelevantExtensions()
                                       throws java.io.IOException,
                                              AutomationException
The complete set of file extensions relevant to the factory.

Specified by:
getRelevantExtensions in interface IGxObjectFactoryFileExtensions
Returns:
The extSet
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getActivationExtensions

public java.lang.String getActivationExtensions()
                                         throws java.io.IOException,
                                                AutomationException
The minimal set of file extensions which should cause the factory to be activated.

Specified by:
getActivationExtensions in interface IGxObjectFactoryFileExtensions
Returns:
The extSet
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.