public class SpectralSample extends java.lang.Object implements com.esri.arcgis.interop.RemoteObjRef, ISpectralSample, IXMLSerialize
Description 'The Spectral Sample class that holds spectral data.' 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 =
IID, IIDfe137721_c242_4515_b499_6a55262da6e7, xxDummy
IID, IIDc8545045_6615_48e3_af27_52a0e5fc35e2, xxDummy
Constructor and Description |
---|
SpectralSample()
Constructs a SpectralSample using ArcGIS Engine.
|
SpectralSample(java.lang.Object obj)
Deprecated.
As of ArcGIS 9.2, replaced by normal Java casts.
SpectralSample theSpectralSample = (SpectralSample) obj; |
Modifier and Type | Method and Description |
---|---|
void |
deserialize(IXMLSerializeData data)
Deserializes an object from XML.
|
boolean |
equals(java.lang.Object o)
Compare this object with another
|
IPropertySet |
getCharacteristics()
Gets the list of Spectral Sample properties specific for the library type.
|
static java.lang.String |
getClsid()
getClsid.
|
com.esri.arcgis.interop.Dispatch |
getJintegraDispatch()
Gets a reference to a com.esri.arcgis.interop.Dispatch which can be used to access the COM object that support for this
interface indicates the implementing class references.
|
java.lang.String |
getName()
Gets the Spectral Sample name.
|
IDoubleArray |
getReflectanceData()
Gets the array of reflectance data.
|
GUID |
getSampleId()
Gets the Spectral Sample Id.
|
double |
getScaleFactor()
Gets the Scale Factor value.
|
GUID |
getSensorId()
Gets the Spectral Sensor Id that holds the wavelengths for this Sample.
|
int |
hashCode()
the hashcode for this object
|
void |
release()
Release this COM object reference
|
void |
serialize(IXMLSerializeData data)
Serializes an object to XML.
|
void |
setSensorId(GUID pSensorID)
Gets the Spectral Sensor Id that holds the wavelengths for this Sample.
|
void |
uSGSBasicLoad(java.lang.String path,
boolean createId)
Loads the basic characteristics of a Spectral Sample located in the specified path.
|
void |
uSGSFullyLoad(java.lang.String path,
boolean createId)
Loads all the properties of a Spectral Sample, including reflectance data, located in the specified path.
|
public SpectralSample() throws java.io.IOException, java.net.UnknownHostException
java.io.IOException
- if there are interop problemsjava.net.UnknownHostException
- if there are interop problemspublic SpectralSample(java.lang.Object obj) throws java.io.IOException
SpectralSample theSpectralSample = (SpectralSample) obj;
obj
to SpectralSample
.obj
- an object returned from ArcGIS Engine or Serverjava.io.IOException
- if there are interop problemspublic static java.lang.String getClsid()
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public com.esri.arcgis.interop.Dispatch getJintegraDispatch()
getJintegraDispatch
in interface com.esri.arcgis.interop.RemoteObjRef
public void release()
release
in interface com.esri.arcgis.interop.RemoteObjRef
public GUID getSampleId() throws java.io.IOException, AutomationException
getSampleId
in interface ISpectralSample
java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public java.lang.String getName() throws java.io.IOException, AutomationException
getName
in interface ISpectralSample
java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public GUID getSensorId() throws java.io.IOException, AutomationException
getSensorId
in interface ISpectralSample
java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public void setSensorId(GUID pSensorID) throws java.io.IOException, AutomationException
setSensorId
in interface ISpectralSample
pSensorID
- A Structure: com.esri.arcgis.support.ms.stdole.GUID (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public IDoubleArray getReflectanceData() throws java.io.IOException, AutomationException
getReflectanceData
in interface ISpectralSample
java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public double getScaleFactor() throws java.io.IOException, AutomationException
getScaleFactor
in interface ISpectralSample
java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public IPropertySet getCharacteristics() throws java.io.IOException, AutomationException
getCharacteristics
in interface ISpectralSample
java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public void uSGSBasicLoad(java.lang.String path, boolean createId) throws java.io.IOException, AutomationException
uSGSBasicLoad
in interface ISpectralSample
path
- The path (in)createId
- The createId (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public void uSGSFullyLoad(java.lang.String path, boolean createId) throws java.io.IOException, AutomationException
uSGSFullyLoad
in interface ISpectralSample
path
- The path (in)createId
- The createId (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public void serialize(IXMLSerializeData data) throws java.io.IOException, AutomationException
serialize
in interface IXMLSerialize
data
- A reference to a com.esri.arcgis.system.IXMLSerializeData (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public void deserialize(IXMLSerializeData data) throws java.io.IOException, AutomationException
deserialize
in interface IXMLSerialize
data
- A reference to a com.esri.arcgis.system.IXMLSerializeData (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.