|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.esri.arcgis.geodatabaseextensions.TerrainBlobWriter
public class TerrainBlobWriter
Esri Terrain blob writer.
TerrainBlobWriter is an object used to create terrain point attributes packed into binary large objects (BLOBs). These BLOBs are used to store attribution for points clustered into multipoint shapes. For each point in a multipoint you should have a corresponding value in a BLOB. Point vertex IDs are used to map from points to their corresponding values in the BLOB. Use the TerrainBlobReader to retrieve values from BLOBs made by this object.
Constructor Summary | |
---|---|
TerrainBlobWriter()
Constructs a TerrainBlobWriter using ArcGIS Engine. |
|
TerrainBlobWriter(Object obj)
Deprecated. As of ArcGIS 9.2, replaced by normal Java casts. TerrainBlobWriter theTerrainBlobWriter = (TerrainBlobWriter) obj; |
Method Summary | |
---|---|
void |
addValue(Object value)
Adds an attribute value to the blob. |
void |
beginAddingValue(int type)
Initialize a new blob with the specified data type. |
IMemoryBlobStream |
endAddingValue()
Completes writing the blob and returns a reference to the blob object. |
boolean |
equals(Object o)
Compare this object with another |
static String |
getClsid()
getClsid. |
int |
getItemCount()
Returns the number of attribute values contained in the blob. |
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 |
---|
public TerrainBlobWriter() throws IOException, UnknownHostException
IOException
- if there are interop problems
UnknownHostException
- if there are interop problemspublic TerrainBlobWriter(Object obj) throws IOException
TerrainBlobWriter theTerrainBlobWriter = (TerrainBlobWriter) obj;
obj
to TerrainBlobWriter
.
obj
- an object returned from ArcGIS Engine or Server
IOException
- if there are interop problemsMethod Detail |
---|
public static String getClsid()
public boolean equals(Object o)
equals
in class Object
public int hashCode()
hashCode
in class Object
public void beginAddingValue(int type) throws IOException, AutomationException
BeginAddingValue is used to initialize a new BLOB to one of the supported numeric types (see esriTerrainBlobDataType). All values in an individual TerrainBlob are the same type; homogeneous.
After calling BeginAddingValue you use ITerrainBlobWriter.AddValue to populate the BLOB.
beginAddingValue
in interface ITerrainBlobWriter
type
- A com.esri.arcgis.geodatabaseextensions.esriTerrainBlobDataType constant (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void addValue(Object value) throws IOException, AutomationException
Ideally, the variable type used for assignment should match the BLOB type (see ITerrainBlobWriter.BeginAddingValue) to ensure the value is properly maintained. Since this is not always possible (e.g., VB does not support 'char'), for flexibility the value is cast so you are not forced to use the same types. If the types don't match the value may get mangled if it's outide the BLOB type's range.
addValue
in interface ITerrainBlobWriter
value
- A Variant (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public int getItemCount() throws IOException, AutomationException
getItemCount
in interface ITerrainBlobWriter
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public IMemoryBlobStream endAddingValue() throws IOException, AutomationException
EndAddingValue indicates there are no more values to be added. This completes and returns a TerrainBlob object. It can be interpreted by the TerrainBlobReader.
endAddingValue
in interface ITerrainBlobWriter
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |