com.esri.arcgis.carto
Interface ILayerFactory

All Superinterfaces:
Serializable
All Known Implementing Classes:
CadAnnotationLayerFactory, CadastralFabricLayerFactory, CadFeatureLayerFactory, CadLayerFactory, CoverageAnnotationLayerFactory, EngineCadAnnotationLayerFactory, EngineCadFeatureLayerFactory, EngineCadLayerFactory, EngineCoverageAnnotationLayerFactory, EngineIMSLayerFactory, EngineNetworkLayerFactory, EngineTopologyLayerFactory, EngineWMSMapLayerFactory, FeatureLayerFactory, FeatureServerLayerFactory, GeoVideoLayerFactory, GlobeLayerFactory, GlobeServerLayerFactory, GroupLayerFactory, GxBrowserFactory, ILayerFactoryProxy, ImageServerLayerFactory, IMSGlobeLayerFactory, IMSLayerFactory, LasDatasetGxBrowserFactory, LasDatasetLayerFactory, MapServerLayerFactory, NetCDFLayerFactory, NetworkLayerFactory, ProcessLayerFactory, RasterCatalogGxBrowserFactory, RasterCatalogLayerFactory, RasterGxBrowserFactory, RasterLayerFactory, SchematicLayerFactory, SearchResultsLayerFactory, TemporalLayerFactory, TerrainGxBrowserFactory, TerrainLayerFactory, TinGxBrowserFactory, TinLayerFactory, WCSLayerFactory, WMSMapLayerFactory, WMTSLayerFactory

public interface ILayerFactory
extends Serializable

Provides access to members that control the creation of layers through a factory.

Product Availability

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

Supported Platforms

Windows, Solaris, Linux


Method Summary
 IEnumLayer create(Object inputObject)
          Creates layer(s) based on the specified object.
 String getLayerCategory()
          Category name.
 String getPublicName()
          Public name of the factory.
 boolean isCanCreate(Object inputObject)
          Indicates if the factory can create a layer based upon the specified object.
 IEnumLayer loadLayers()
          Loads a set of layers.
 

Method Detail

getPublicName

String getPublicName()
                     throws IOException,
                            AutomationException
Public name of the factory.

Product Availability

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

Supported Platforms

Windows, Solaris, Linux

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

getLayerCategory

String getLayerCategory()
                        throws IOException,
                               AutomationException
Category name.

Product Availability

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

Supported Platforms

Windows, Solaris, Linux

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

loadLayers

IEnumLayer loadLayers()
                      throws IOException,
                             AutomationException
Loads a set of layers.

Product Availability

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

Supported Platforms

Windows, Solaris, Linux

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

isCanCreate

boolean isCanCreate(Object inputObject)
                    throws IOException,
                           AutomationException
Indicates if the factory can create a layer based upon the specified object.

Product Availability

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

Parameters:
inputObject - A reference to another Object (IUnknown) (in)
Returns:
The ok
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

create

IEnumLayer create(Object inputObject)
                  throws IOException,
                         AutomationException
Creates layer(s) based on the specified object.

Description

Creates a layer using the factory defined by the implementing coclass and the supplied object. This object can be a name object.

Product Availability

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

Supported Platforms

Windows, Solaris, Linux

Parameters:
inputObject - A reference to another Object (IUnknown) (in)
Returns:
A reference to a com.esri.arcgis.carto.IEnumLayer
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.