com.esri.arcgis.system
Interface IXMLPersistedObject

All Superinterfaces:
Serializable
All Known Implementing Classes:
XMLPersistedObject

public interface IXMLPersistedObject
extends Serializable

Provides access to members to set or retrieve an object to be serialized to XML. The object must support IPersistStream or IPersistVariant.

Product Availability

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


Method Summary
 Object getObject()
          The object to be serialized to or deserialized from XML.
 void setObjectByRef(Object ppObject)
          The object to be serialized to or deserialized from XML.
 

Method Detail

getObject

Object getObject()
                 throws IOException,
                        AutomationException
The object to be serialized to or deserialized from XML.

Product Availability

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

Supported Platforms

Windows, Solaris, Linux

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

setObjectByRef

void setObjectByRef(Object ppObject)
                    throws IOException,
                           AutomationException
The object to be serialized to or deserialized from XML.

Product Availability

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

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