com.esri.arcgis.geodatabaseextensions
Class TerrainBlobReader

java.lang.Object
  extended by com.esri.arcgis.geodatabaseextensions.TerrainBlobReader
All Implemented Interfaces:
ITerrainBlobReader, com.esri.arcgis.interop.RemoteObjRef, java.io.Serializable

public class TerrainBlobReader
extends java.lang.Object
implements com.esri.arcgis.interop.RemoteObjRef, ITerrainBlobReader

COM Class 'TerrainBlobReader'. Generated 3/19/2015 1:20:49 PM from 'C:\ArcGIS\COM\esriGeoDatabaseExtensions.olb'

Description 'Esri Terrain blob reader.' 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 =

See Also:
Serialized Form

Field Summary
 
Fields inherited from interface com.esri.arcgis.geodatabaseextensions.ITerrainBlobReader
IID, IID58ce4421_8073_464b_bf90_2ef70384c82e, xxDummy
 
Constructor Summary
TerrainBlobReader()
          Constructs a TerrainBlobReader using ArcGIS Engine.
TerrainBlobReader(java.lang.Object obj)
          Deprecated. As of ArcGIS 9.2, replaced by normal Java casts.
TerrainBlobReader theTerrainBlobReader = (TerrainBlobReader) obj;
 
Method Summary
 boolean equals(java.lang.Object o)
          Compare this object with another
static java.lang.String getClsid()
          getClsid.
 int getDataType()
          Returns the data type of the blob.
 int getItemCount()
          Returns the number of attribute values contained in the blob.
 com.esri.arcgis.interop.Dispatch getJintegraDispatch()
          Deprecated. Internal use only.
 java.lang.Object getValue(int index)
          Returns the value of the attribute specified by the index.
 int hashCode()
          the hashcode for this object
 boolean isKnownBlob(IMemoryBlobStream pBlob)
          Indicates if Terrain can recognize the blob.
 void release()
          Release a TerrainBlobReader.
 void setBlob(IMemoryBlobStream pBlob)
          Assigns a blob to the reader.
 void setEmpty()
          Uninitialize the object.
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TerrainBlobReader

public TerrainBlobReader()
                  throws java.io.IOException,
                         java.net.UnknownHostException
Constructs a TerrainBlobReader using ArcGIS Engine.

Throws:
java.io.IOException - if there are interop problems
java.net.UnknownHostException - if there are interop problems

TerrainBlobReader

public TerrainBlobReader(java.lang.Object obj)
                  throws java.io.IOException
Deprecated. As of ArcGIS 9.2, replaced by normal Java casts.
TerrainBlobReader theTerrainBlobReader = (TerrainBlobReader) obj;

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

Parameters:
obj - an object returned from ArcGIS Engine or Server
Throws:
java.io.IOException - if there are interop problems
Method Detail

getClsid

public static java.lang.String getClsid()
getClsid.


equals

public boolean equals(java.lang.Object o)
Compare this object with another

Overrides:
equals in class java.lang.Object

hashCode

public int hashCode()
the hashcode for this object

Overrides:
hashCode in class java.lang.Object

getJintegraDispatch

public com.esri.arcgis.interop.Dispatch getJintegraDispatch()
Deprecated. Internal use only.

Specified by:
getJintegraDispatch in interface com.esri.arcgis.interop.RemoteObjRef

release

public void release()
Release a TerrainBlobReader.

Specified by:
release in interface com.esri.arcgis.interop.RemoteObjRef

setEmpty

public void setEmpty()
              throws java.io.IOException,
                     AutomationException
Uninitialize the object.

Specified by:
setEmpty in interface ITerrainBlobReader
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

isKnownBlob

public boolean isKnownBlob(IMemoryBlobStream pBlob)
                    throws java.io.IOException,
                           AutomationException
Indicates if Terrain can recognize the blob.

Specified by:
isKnownBlob in interface ITerrainBlobReader
Parameters:
pBlob - A reference to a com.esri.arcgis.system.IMemoryBlobStream (in)
Returns:
The pbIsKnown
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setBlob

public void setBlob(IMemoryBlobStream pBlob)
             throws java.io.IOException,
                    AutomationException
Assigns a blob to the reader.

Specified by:
setBlob in interface ITerrainBlobReader
Parameters:
pBlob - A reference to a com.esri.arcgis.system.IMemoryBlobStream (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getDataType

public int getDataType()
                throws java.io.IOException,
                       AutomationException
Returns the data type of the blob.

Specified by:
getDataType in interface ITerrainBlobReader
Returns:
A com.esri.arcgis.geodatabaseextensions.esriTerrainBlobDataType constant
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getItemCount

public int getItemCount()
                 throws java.io.IOException,
                        AutomationException
Returns the number of attribute values contained in the blob.

Specified by:
getItemCount in interface ITerrainBlobReader
Returns:
The pcItems
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getValue

public java.lang.Object getValue(int index)
                          throws java.io.IOException,
                                 AutomationException
Returns the value of the attribute specified by the index.

Specified by:
getValue in interface ITerrainBlobReader
Parameters:
index - The index (in)
Returns:
A Variant
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.