com.esri.arcgis.carto
Class FeatureLayerDrawingDescriptionFactory

java.lang.Object
  extended by com.esri.arcgis.carto.FeatureLayerDrawingDescriptionFactory
All Implemented Interfaces:
ILayerDrawingDescriptionFactory, com.esri.arcgis.interop.RemoteObjRef, Serializable

public class FeatureLayerDrawingDescriptionFactory
extends Object
implements com.esri.arcgis.interop.RemoteObjRef, ILayerDrawingDescriptionFactory

Feature layer drawing description factory.

Product Availability

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

See Also:
Serialized Form

Constructor Summary
FeatureLayerDrawingDescriptionFactory()
          Constructs a FeatureLayerDrawingDescriptionFactory using ArcGIS Engine.
FeatureLayerDrawingDescriptionFactory(Object obj)
          Deprecated. As of ArcGIS 9.2, replaced by normal Java casts.
FeatureLayerDrawingDescriptionFactory theFeatureLayerDrawingDescriptionFactory = (FeatureLayerDrawingDescriptionFactory) obj;
 
Method Summary
 boolean canCreate(ILayer pLayer)
          Returns if a drawing description can be created for the given layer.
 ILayerDrawingDescription createLayerDrawingDescription(ILayer pLayer)
          Returns layer drawing description for the given layer.
 boolean equals(Object o)
          Compare this object with another
static String getClsid()
          getClsid.
 int hashCode()
          the hashcode for this object
 
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

FeatureLayerDrawingDescriptionFactory

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

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

FeatureLayerDrawingDescriptionFactory

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

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

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

canCreate

public boolean canCreate(ILayer pLayer)
                  throws IOException,
                         AutomationException
Returns if a drawing description can be created for the given layer.

Product Availability

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

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

createLayerDrawingDescription

public ILayerDrawingDescription createLayerDrawingDescription(ILayer pLayer)
                                                       throws IOException,
                                                              AutomationException
Returns layer drawing description for the given layer.

Product Availability

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

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