|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.esri.arcgis.interop.Dispatch com.esri.arcgis.catalog.IMetadataImportProxy
public class IMetadataImportProxy
Provides access to members that define a metadata importer.
The IMetadataImport interface is available to custom CoClasses that implement the MetadataImport abstract class. For example, a custom CoClass might be written to support importing metadata to an ArcGIS item from a custom document format. Example code illustrating how to use this object is available in the ArcGIS 9.3.1 Developer Help system.
Field Summary | |
---|---|
boolean |
noncastable
|
Fields inherited from class com.esri.arcgis.interop.Dispatch |
---|
DISPATCH_METHOD, DISPATCH_PROPERTYGET, DISPATCH_PROPERTYPUT, DISPATCH_PROPERTYPUTREF, objRef |
Constructor Summary | |
---|---|
|
IMetadataImportProxy()
|
|
IMetadataImportProxy(Object obj)
|
protected |
IMetadataImportProxy(Object obj,
String iid)
|
Method Summary | |
---|---|
void |
addListener(String iidStr,
Object theListener,
Object theSource)
|
void |
esri_import(String source,
IMetadata destination)
Imports metadata from the specified location. |
String |
getDefaultFilename()
Default filename (including the file extension) from which to import. |
String |
getName()
Name of the metadata importer. |
void |
removeListener(String iidStr,
Object theListener)
|
Methods inherited from class com.esri.arcgis.interop.Dispatch |
---|
bindUsingMoniker, constructVtblPosTable, convertToNative, cookieForListener, createDispatch, createObjrefMonikerDisplayName, equals, getActiveObject, getActiveObject, getDefaultProperty, getDispatchIdOfName, getLastErrorCode, getMtsObjectContext, getObjRef, getPropertyByName, getPropertyByName, getVtblPos, hashCode, initDispatch, invoke, invokeMethodByName, invokeMethodByName, invokeMethodByName, invokePropertyGetByName, invokePropertyPutByName, invokePropertyPutByRefByName, isNativeMode, isObjRef, optimizedVtblInvoke, queryInterface, readExternal, release, setNativeMode, setPropertyByName, toString, vtblInvoke, writeExternal |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public boolean noncastable
Constructor Detail |
---|
public IMetadataImportProxy()
public IMetadataImportProxy(Object obj) throws IOException
IOException
protected IMetadataImportProxy(Object obj, String iid) throws IOException
IOException
Method Detail |
---|
public void addListener(String iidStr, Object theListener, Object theSource) throws IOException
addListener
in class com.esri.arcgis.interop.Dispatch
IOException
public void removeListener(String iidStr, Object theListener) throws IOException
removeListener
in class com.esri.arcgis.interop.Dispatch
IOException
public String getName() throws IOException, AutomationException
Returns the name of the MetadataImport subclass as a string.
getName
in interface IMetadataImport
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public String getDefaultFilename() throws IOException, AutomationException
The DefaultFilename is determined by the MetadataImport subclass. Typically the name “metadata” with an appropriate file extension for the import format is built into the MetadataImport subclass. For example, “metadata.txt” would be appropriate if a subclass imports content from a structured text file.
getDefaultFilename
in interface IMetadataImport
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void esri_import(String source, IMetadata destination) throws IOException, AutomationException
esri_import
in interface IMetadataImport
source
- The source (in)destination
- A reference to a com.esri.arcgis.geodatabase.IMetadata (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 |