|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.esri.arcgis.datasourcesraster.MosaicWorkspaceExtension
public class MosaicWorkspaceExtension
A mosaic dataset workspace extension.
| Constructor Summary | |
|---|---|
MosaicWorkspaceExtension()
Constructs a MosaicWorkspaceExtension using ArcGIS Engine. |
|
MosaicWorkspaceExtension(Object obj)
Deprecated. As of ArcGIS 9.2, replaced by normal Java casts. MosaicWorkspaceExtension theMosaicWorkspaceExtension = (MosaicWorkspaceExtension) obj; |
|
| Method Summary | |
|---|---|
void |
addDataset(IDataset datasetToAdd)
Adds a dataset to the dataset collection. |
IDataset |
createDataset(IDEDataset dataElement)
Given a data element, create a dataset in this container. |
IMosaicDataset |
createMosaicDataset(String name,
ISpatialReference pSpatialReference,
ICreateMosaicDatasetParameters pParameters,
String configurationKeyword)
Creates a mosaic dataset. |
IMosaicDataset |
createReferencedMosaicDataset(String name,
ISpatialReference pSpatialReference,
IRasterCatalog pExternalCatalog,
String definitionQuery,
ICreateMosaicDatasetParameters pParameters,
String configurationKeyword)
Creates a referenced mosaic dataset from an external raster catalog. |
void |
deleteMosaicDataset(String name)
Deletes a mosaic dataset. |
boolean |
equals(Object o)
Compare this object with another |
static String |
getClsid()
getClsid. |
IEnumBSTR |
getDataDictionaryTableNames()
Any data dictionary tables that should not be exposed to browsers and should not participate in edit sessions. |
IDataset |
getDataset(int type,
int index)
The dataset associated with the specified index value and dataset type. |
IDataset |
getDatasetByID(int type,
int datasetID)
The dataset associated with the specified index value and dataset type. |
IDataset |
getDatasetByName(int type,
String name)
The dataset of the specified type with the specified name. |
int |
getDatasetCount(int type)
The number of datasets of the specified type in this container. |
IEnumDatasetName |
getDatasetNames(int type)
The names of all the datasets with the specified type. |
IEnumDataset |
getDatasets(int type)
An enumerator over the datasets of the specified type. |
IEnumDatasetType |
getDatasetTypes()
The names of all the datasets with the specified type. |
IUID |
getGUID()
The GUID that identifies this Workspace Extension. |
String |
getName()
The Name for this Workspace Extension. |
IEnumBSTR |
getPrivateDatasetNames(int dtype)
The private datasets that should not be exposed to browsers. |
IWorkspace |
getWorkspace()
The workspace associated with this Workspace Extension. |
int |
hashCode()
the hashcode for this object |
void |
init(IWorkspaceHelper pWorkspaceHelper)
Initializes the extension, passing in a reference to its workspace helper. |
IMosaicDataset |
openMosaicDataset(String name)
Opens a mosaic dataset for a given name. |
boolean |
ownsDatasetType(int datasetType)
Indicates if the workspace extension owns the dataset type. |
void |
shutdown()
Informs the extension that its workspace helper (and workspace) are going away. |
| 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 MosaicWorkspaceExtension()
throws IOException,
UnknownHostException
IOException - if there are interop problems
UnknownHostException - if there are interop problems
public MosaicWorkspaceExtension(Object obj)
throws IOException
MosaicWorkspaceExtension theMosaicWorkspaceExtension = (MosaicWorkspaceExtension) obj;
obj to MosaicWorkspaceExtension.
obj - an object returned from ArcGIS Engine or Server
IOException - if there are interop problems| Method Detail |
|---|
public static String getClsid()
public boolean equals(Object o)
equals in class Objectpublic int hashCode()
hashCode in class Object
public IMosaicDataset createMosaicDataset(String name,
ISpatialReference pSpatialReference,
ICreateMosaicDatasetParameters pParameters,
String configurationKeyword)
throws IOException,
AutomationException
createMosaicDataset in interface IMosaicWorkspaceExtensionname - The name (in)pSpatialReference - A reference to a com.esri.arcgis.geometry.ISpatialReference (in)pParameters - A reference to a com.esri.arcgis.datasourcesraster.ICreateMosaicDatasetParameters (in)configurationKeyword - The configurationKeyword (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public IMosaicDataset createReferencedMosaicDataset(String name,
ISpatialReference pSpatialReference,
IRasterCatalog pExternalCatalog,
String definitionQuery,
ICreateMosaicDatasetParameters pParameters,
String configurationKeyword)
throws IOException,
AutomationException
createReferencedMosaicDataset in interface IMosaicWorkspaceExtensionname - The name (in)pSpatialReference - A reference to a com.esri.arcgis.geometry.ISpatialReference (in)pExternalCatalog - A reference to a com.esri.arcgis.geodatabase.IRasterCatalog (in)definitionQuery - The definitionQuery (in)pParameters - A reference to a com.esri.arcgis.datasourcesraster.ICreateMosaicDatasetParameters (in)configurationKeyword - The configurationKeyword (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public IMosaicDataset openMosaicDataset(String name)
throws IOException,
AutomationException
openMosaicDataset in interface IMosaicWorkspaceExtensionname - The name (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void deleteMosaicDataset(String name)
throws IOException,
AutomationException
deleteMosaicDataset in interface IMosaicWorkspaceExtensionname - The name (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public String getName()
throws IOException,
AutomationException
The Name property is the name of the extension.
getName in interface IWorkspaceExtensionIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public IUID getGUID()
throws IOException,
AutomationException
The GUID property returns the well-known GUID for the extension and is guaranteed to be unique.
getGUID in interface IWorkspaceExtensionIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public IEnumBSTR getPrivateDatasetNames(int dtype)
throws IOException,
AutomationException
getPrivateDatasetNames in interface IWorkspaceExtensiondtype - A com.esri.arcgis.geodatabase.esriDatasetType constant (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public IEnumBSTR getDataDictionaryTableNames()
throws IOException,
AutomationException
The PrivateDatasetNames and DataDictionaryNames properties return the names of tables and datasets that are private to the extension and will not be exposed by the workspace to browsing clients. Since they return an EnumBSTR object that is not cocreatable, you must create your own object that implements IEnumBSTR.
getDataDictionaryTableNames in interface IWorkspaceExtensionIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public boolean ownsDatasetType(int datasetType)
throws IOException,
AutomationException
The OwnDatasetType method returns a boolean indicating whether the workspace extension supports the specified dataset type.
ownsDatasetType in interface IWorkspaceExtension2datasetType - A com.esri.arcgis.geodatabase.esriDatasetType constant (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public IWorkspace getWorkspace()
throws IOException,
AutomationException
The Workspace property returns a reference to the workspace associated with the extension.
getWorkspace in interface IWorkspaceExtension2IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void init(IWorkspaceHelper pWorkspaceHelper)
throws IOException,
AutomationException
init in interface IWorkspaceExtensionControlpWorkspaceHelper - A reference to a com.esri.arcgis.geodatabase.IWorkspaceHelper (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void shutdown()
throws IOException,
AutomationException
The Shutdown method informs the workspace extension that the workspace has been released by all clients and is about to go away. In response, the workspace extension should release its reference on the workspace helper. Any subsequent calls by the application to the workspace extension should return an error.
shutdown in interface IWorkspaceExtensionControlIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void addDataset(IDataset datasetToAdd)
throws IOException,
AutomationException
When calling this method on feature datasets, both the XY and Z spatial reference systems of the dataset (if applicable) must match those of the feature dataset.
addDataset in interface IDatasetContainerdatasetToAdd - A reference to a com.esri.arcgis.geodatabase.IDataset (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public IDataset getDataset(int type,
int index)
throws IOException,
AutomationException
getDataset in interface IDatasetContainer2type - A com.esri.arcgis.geodatabase.esriDatasetType constant (in)index - The index (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public IEnumDataset getDatasets(int type)
throws IOException,
AutomationException
getDatasets in interface IDatasetContainer2type - A com.esri.arcgis.geodatabase.esriDatasetType constant (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public int getDatasetCount(int type)
throws IOException,
AutomationException
getDatasetCount in interface IDatasetContainer2type - A com.esri.arcgis.geodatabase.esriDatasetType constant (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public IDataset getDatasetByName(int type,
String name)
throws IOException,
AutomationException
getDatasetByName in interface IDatasetContainer2type - A com.esri.arcgis.geodatabase.esriDatasetType constant (in)name - The name (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public IEnumDatasetName getDatasetNames(int type)
throws IOException,
AutomationException
getDatasetNames in interface IDatasetContainer2type - A com.esri.arcgis.geodatabase.esriDatasetType constant (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public IEnumDatasetType getDatasetTypes()
throws IOException,
AutomationException
The DatasetTypes property returns an enumerator of IEnumDatasetType containing the supported esriDatasetTypes for the container. Use this method to determine the supported datasets for the container.
getDatasetTypes in interface IDatasetContainer2IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public IDataset createDataset(IDEDataset dataElement)
throws IOException,
AutomationException
The CreateDataset method will create a dataset given a populated data element. Use the DatasetTypes property to determine the supported dataset types.
createDataset in interface IDatasetContainer2dataElement - A reference to a com.esri.arcgis.geodatabase.IDEDataset (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public IDataset getDatasetByID(int type,
int datasetID)
throws IOException,
AutomationException
getDatasetByID in interface IDatasetContainer3type - A com.esri.arcgis.geodatabase.esriDatasetType constant (in)datasetID - The datasetID (in)
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 | ||||||||