com.esri.arcgis.system
Interface IObjectStream

All Superinterfaces:
ISequentialStream, IStream, java.io.Serializable
All Known Implementing Classes:
IObjectStreamProxy, ObjectStream

public interface IObjectStream
extends IStream, java.io.Serializable

COM Interface 'IObjectStream'. Generated 3/19/2015 1:21:00 PM from 'C:\ArcGIS\COM\esriSystem.olb'

Description: 'Provides access to members used to make objects and object references persistant. Use of this interface allows multiple references to the same object to be stored properly.' Generator Options: PromptForTypeLibraries = False ClashPrefix = esri_ LowerCaseMemberNames = True IDispatchOnly = False RetryOnReject = False AwtForOcxs = True ArraysAsObjects = False DontRenameSameMethods = False ImplementConflictingInterfaces = True ReuseMethods = True RenameConflictingInterfaceMethods = True GenBeanInfo = True GenerateJavadoc =


Field Summary
static java.lang.String IID
          Deprecated. Internal use only
static int IID18a45ba7_1266_11d1_86ad_0000f8751720
           
static int xxDummy
          Deprecated. Internal use only
 
Fields inherited from interface com.esri.arcgis.system.IStream
IID0000000c_0000_0000_c000_000000000046
 
Fields inherited from interface com.esri.arcgis.system.ISequentialStream
IID0c733a30_2a1c_11ce_ade5_00aa0044773d
 
Method Summary
 IStream getStream()
          The aggregated stream object.
 java.lang.String getVersion()
          The software version for the stream.
 java.lang.Object loadObject(GUID riid, java.lang.Object pUnkOuter)
          Load an object from the specified stream.
 void replaceObject(java.lang.Object unknown)
          Replaces the current object with the object in the the specified stream.
 void saveObject(java.lang.Object pUnk)
          Store an object to the specified stream.
 void setStreamByRef(IStream ppStream)
          The aggregated stream object.
 void setVersion(java.lang.String versionSpecifier)
          The software version for the stream.
 
Methods inherited from interface com.esri.arcgis.system.IStream
commit, esri_clone, lockRegion, remoteCopyTo, remoteSeek, revert, setSize, stat, unlockRegion
 
Methods inherited from interface com.esri.arcgis.system.ISequentialStream
remoteRead, remoteWrite
 

Field Detail

IID18a45ba7_1266_11d1_86ad_0000f8751720

static final int IID18a45ba7_1266_11d1_86ad_0000f8751720
See Also:
Constant Field Values

xxDummy

static final int xxDummy
Deprecated. Internal use only
See Also:
Constant Field Values

IID

static final java.lang.String IID
Deprecated. Internal use only
See Also:
Constant Field Values
Method Detail

setStreamByRef

void setStreamByRef(IStream ppStream)
                    throws java.io.IOException,
                           AutomationException
The aggregated stream object.

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

getStream

IStream getStream()
                  throws java.io.IOException,
                         AutomationException
The aggregated stream object.

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

saveObject

void saveObject(java.lang.Object pUnk)
                throws java.io.IOException,
                       AutomationException
Store an object to the specified stream. The first time the object is stored, the full object is written to the stream. When the object is subsequently stored, a reference is stored.

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

loadObject

java.lang.Object loadObject(GUID riid,
                            java.lang.Object pUnkOuter)
                            throws java.io.IOException,
                                   AutomationException
Load an object from the specified stream. The first time an object is encountered, it is loaded from the stream. When subsequent references to the object are loaded, a pointer to the first object is returned.

Parameters:
riid - A Structure: com.esri.arcgis.support.ms.stdole.GUID (in)
pUnkOuter - A reference to another Object (IUnknown) (in)
Returns:
A reference to another Object (IUnknown)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

replaceObject

void replaceObject(java.lang.Object unknown)
                   throws java.io.IOException,
                          AutomationException
Replaces the current object with the object in the the specified stream.

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

setVersion

void setVersion(java.lang.String versionSpecifier)
                throws java.io.IOException,
                       AutomationException
The software version for the stream.

Parameters:
versionSpecifier - The versionSpecifier (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getVersion

java.lang.String getVersion()
                            throws java.io.IOException,
                                   AutomationException
The software version for the stream.

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