com.esri.arcgis.geodatabase
Class IPlugInMetadataProxy

java.lang.Object
  extended by com.esri.arcgis.interop.Dispatch
      extended by com.esri.arcgis.geodatabase.IPlugInMetadataProxy
All Implemented Interfaces:
IPlugInMetadata, Externalizable, Serializable
Direct Known Subclasses:
IPlugInMetadata2Proxy

public class IPlugInMetadataProxy
extends com.esri.arcgis.interop.Dispatch
implements IPlugInMetadata, Serializable

Provides access to members that manage property set metadata for a plug-in.

Description

May be implemented by a plug-in workspace helper class if a plug-in data source has its own metadata engine.

Remarks

You should implement either IPlugInMetadata or IPlugInMetadataPath on your plug-in workspace helper for successful operation of the Export Data command in ArcMap. This command uses the FeatureDataConverter object which relies on metadata capabilities of data sources.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

See Also:
Serialized Form

Field Summary
 boolean noncastable
           
 
Fields inherited from class com.esri.arcgis.interop.Dispatch
DISPATCH_METHOD, DISPATCH_PROPERTYGET, DISPATCH_PROPERTYPUT, DISPATCH_PROPERTYPUTREF, objRef
 
Constructor Summary
  IPlugInMetadataProxy()
           
  IPlugInMetadataProxy(Object obj)
           
protected IPlugInMetadataProxy(Object obj, String iid)
           
 
Method Summary
 void addListener(String iidStr, Object theListener, Object theSource)
           
 IPropertySet getMetadata(String localName)
          A property set containing the metadata for the indicated dataset.
 boolean isCanEditMetadata()
          Indicates if the metadata for the indicated dataset currently writable.
 void removeListener(String iidStr, Object theListener)
           
 void setMetadata(String localName, IPropertySet metadata)
          A property set containing the metadata for the indicated dataset.
 
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

noncastable

public boolean noncastable
Constructor Detail

IPlugInMetadataProxy

public IPlugInMetadataProxy()

IPlugInMetadataProxy

public IPlugInMetadataProxy(Object obj)
                     throws IOException
Throws:
IOException

IPlugInMetadataProxy

protected IPlugInMetadataProxy(Object obj,
                               String iid)
                        throws IOException
Throws:
IOException
Method Detail

addListener

public void addListener(String iidStr,
                        Object theListener,
                        Object theSource)
                 throws IOException
Overrides:
addListener in class com.esri.arcgis.interop.Dispatch
Throws:
IOException

removeListener

public void removeListener(String iidStr,
                           Object theListener)
                    throws IOException
Overrides:
removeListener in class com.esri.arcgis.interop.Dispatch
Throws:
IOException

isCanEditMetadata

public boolean isCanEditMetadata()
                          throws IOException,
                                 AutomationException
Indicates if the metadata for the indicated dataset currently writable.

Description

Returns true if the metadata is currently editable. This implies that a call to put_Metadata is expected to succeed.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Supported Platforms

Windows, Solaris, Linux

Specified by:
isCanEditMetadata in interface IPlugInMetadata
Returns:
The canEdit
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getMetadata

public IPropertySet getMetadata(String localName)
                         throws IOException,
                                AutomationException
A property set containing the metadata for the indicated dataset.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Specified by:
getMetadata in interface IPlugInMetadata
Parameters:
localName - The localName (in)
Returns:
A reference to a com.esri.arcgis.system.IPropertySet
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setMetadata

public void setMetadata(String localName,
                        IPropertySet metadata)
                 throws IOException,
                        AutomationException
A property set containing the metadata for the indicated dataset.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Specified by:
setMetadata in interface IPlugInMetadata
Parameters:
localName - The localName (in)
metadata - A reference to a com.esri.arcgis.system.IPropertySet (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.