com.esri.arcgis.catalog
Interface IGxObjectFactory

All Superinterfaces:
Serializable
All Known Implementing Classes:
GxAddInFactory, GxAGSConnectionFactory, GxCadFactory, GxCoverageFactory, GxDatabaseFactory, GxDataGraphFactory, GxExcelFactory, GxFeatureDefinitionPackageFactory, GxFileFactory, GxGeoprocessingFileFactory, GxIMSConnectionFactory, GxISCDefFactory, GxLayerFactory, GxMapFactory, GxMetadataFactory, GxMSDFileFactory, GxPackageFactory, GxPCCoverageFactory, GxPre70CoverageFactory, GxPrjFileFactory, GxRasterFileSystemFactory, GxReportFactory, GxSDCFactory, GxShapefileFactory, GxShortcutFactory, GxStreetMapFactory, GxTextFileFactory, GxToolboxFactory, GxVpfFactory, GxWCSConnectionFactory, GxWMSConnectionFactory, IGxObjectFactoryProxy

public interface IGxObjectFactory
extends Serializable

Provides access to members that define a GxObject factory.

Product Availability

Available with ArcGIS Desktop.


Method Summary
 IEnumGxObject getChildren(String parentDir, IFileNames fileNames)
          Returns an enumeration of objects corresponding to one or more of the given file names supported by the object factory.
 String getName()
          The name of the object factory.
 boolean hasChildren(String parentDir, IFileNames fileNames)
          Indicates if any of the specified files are supported by the object factory.
 void setCatalogByRef(IGxCatalog rhs1)
          Attach the catalog to the object factory.
 

Method Detail

setCatalogByRef

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

Product Availability

Available with ArcGIS Desktop.

Supported Platforms

Windows

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

getName

String getName()
               throws IOException,
                      AutomationException
The name of the object factory.

Product Availability

Available with ArcGIS Desktop.

Supported Platforms

Windows

Returns:
The factoryName
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

hasChildren

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

Product Availability

Available with ArcGIS Desktop.

Supported Platforms

Windows

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

getChildren

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

Product Availability

Available with ArcGIS Desktop.

Supported Platforms

Windows

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:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.