com.esri.arcgis.geodatabase
Interface IPersistCustomFeaturesExtension

All Superinterfaces:
Serializable
All Known Implementing Classes:
AnnotationFeatureClassExtension, DimensionClassExtension

public interface IPersistCustomFeaturesExtension
extends Serializable

Provides access to members that allow extra feature information to be persisted.

Product Availability

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

Supported Platforms

Windows, Solaris, Linux


Method Summary
 void loadClass(IStream stream, boolean[] canLoad)
          Looks at the class information and determines if it can load the features.
 void loadFeature(IStream stream, IFeature feature)
          Loads the feature information and updates the feature.
 void saveClass(IStream stream)
          Writes out to the stream, class information used to aid loading.
 void saveFeature(IStream stream, IFeature feature)
          Writes out to the stream, feature infomation used to aid loading.
 

Method Detail

saveClass

void saveClass(IStream stream)
               throws IOException,
                      AutomationException
Writes out to the stream, class information used to aid loading.

Product Availability

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

Supported Platforms

Windows, Solaris, Linux

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

loadClass

void loadClass(IStream stream,
               boolean[] canLoad)
               throws IOException,
                      AutomationException
Looks at the class information and determines if it can load the features.

Product Availability

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

Supported Platforms

Windows, Solaris, Linux

Parameters:
stream - A reference to a com.esri.arcgis.system.IStream (in)
canLoad - The canLoad (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

saveFeature

void saveFeature(IStream stream,
                 IFeature feature)
                 throws IOException,
                        AutomationException
Writes out to the stream, feature infomation used to aid loading.

Product Availability

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

Supported Platforms

Windows, Solaris, Linux

Parameters:
stream - A reference to a com.esri.arcgis.system.IStream (in)
feature - A reference to a com.esri.arcgis.geodatabase.IFeature (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

loadFeature

void loadFeature(IStream stream,
                 IFeature feature)
                 throws IOException,
                        AutomationException
Loads the feature information and updates the feature.

Product Availability

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

Supported Platforms

Windows, Solaris, Linux

Parameters:
stream - A reference to a com.esri.arcgis.system.IStream (in)
feature - A reference to a com.esri.arcgis.geodatabase.IFeature (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.