com.esri.arcgis.catalog
Class GxMetadataFactory

java.lang.Object
  extended by com.esri.arcgis.catalog.GxMetadataFactory
All Implemented Interfaces:
IGxObjectFactory, IGxObjectFactoryFileExtensions, IGxObjectFactoryMetadata, IGxObjectFactoryPriority, com.esri.arcgis.interop.RemoteObjRef, java.io.Serializable

public class GxMetadataFactory
extends java.lang.Object
implements com.esri.arcgis.interop.RemoteObjRef, IGxObjectFactory, IGxObjectFactoryMetadata, IGxObjectFactoryPriority, IGxObjectFactoryFileExtensions

COM Class 'GxMetadataFactory'. Generated 3/19/2015 1:20:49 PM from 'C:\ArcGIS\COM\esriCatalog.olb'

Description 'A factory for creating GxMetadata objects to show XML files in the Catalog.' 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 =

See Also:
Serialized Form

Field Summary
 
Fields inherited from interface com.esri.arcgis.catalog.IGxObjectFactory
IID, IID65d77502_895c_11d2_af5d_080009ec734b, xxDummy
 
Fields inherited from interface com.esri.arcgis.catalog.IGxObjectFactoryMetadata
IID, IID5f31857e_62c8_415b_a126_f8eae2f26f55, xxDummy
 
Fields inherited from interface com.esri.arcgis.catalog.IGxObjectFactoryPriority
IID, IID36f2ba2c_d538_4652_a089_82be069eab65, xxDummy
 
Fields inherited from interface com.esri.arcgis.catalog.IGxObjectFactoryFileExtensions
IID, IIDf61dc478_8f2e_43fa_9090_7fccb8450e18, xxDummy
 
Constructor Summary
GxMetadataFactory()
          Constructs a GxMetadataFactory using ArcGIS Engine.
GxMetadataFactory(java.lang.Object obj)
          Deprecated. As of ArcGIS 9.2, replaced by normal Java casts.
GxMetadataFactory theGxMetadataFactory = (GxMetadataFactory) obj;
 
Method Summary
 boolean equals(java.lang.Object o)
          Compare this object with another
 java.lang.String getActivationExtensions()
          The minimal set of file extensions which should cause the factory to be activated.
 IEnumGxObject getChildren(java.lang.String parentDir, IFileNames fileNames)
          Returns an enumeration of objects corresponding to one or more of the given file names supported by the object factory.
static java.lang.String getClsid()
          getClsid.
 IGxObject getGxObjectFromMetadata(java.lang.String metadataPath)
          Given a path to some metadata, constructs the corresponding GxObject.
 com.esri.arcgis.interop.Dispatch getJintegraDispatch()
          Deprecated. Internal use only.
 java.lang.String getName()
          The name of the object factory.
 int getPriority()
          The priority of the object factory.
 java.lang.String getRelevantExtensions()
          The complete set of file extensions relevant to the factory.
 boolean hasChildren(java.lang.String parentDir, IFileNames fileNames)
          Indicates if any of the specified files are supported by the object factory.
 int hashCode()
          the hashcode for this object
 void release()
          Release a GxMetadataFactory.
 void setCatalogByRef(IGxCatalog rhs1)
          Attach the catalog to the object factory.
 void setPriority(int priority)
          The priority of the object factory.
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GxMetadataFactory

public GxMetadataFactory()
                  throws java.io.IOException,
                         java.net.UnknownHostException
Constructs a GxMetadataFactory using ArcGIS Engine.

Throws:
java.io.IOException - if there are interop problems
java.net.UnknownHostException - if there are interop problems

GxMetadataFactory

public GxMetadataFactory(java.lang.Object obj)
                  throws java.io.IOException
Deprecated. As of ArcGIS 9.2, replaced by normal Java casts.
GxMetadataFactory theGxMetadataFactory = (GxMetadataFactory) obj;

Construct a GxMetadataFactory using a reference to such an object returned from ArcGIS Engine or Server. This is semantically equivalent to casting obj to GxMetadataFactory.

Parameters:
obj - an object returned from ArcGIS Engine or Server
Throws:
java.io.IOException - if there are interop problems
Method Detail

getClsid

public static java.lang.String getClsid()
getClsid.


equals

public boolean equals(java.lang.Object o)
Compare this object with another

Overrides:
equals in class java.lang.Object

hashCode

public int hashCode()
the hashcode for this object

Overrides:
hashCode in class java.lang.Object

getJintegraDispatch

public com.esri.arcgis.interop.Dispatch getJintegraDispatch()
Deprecated. Internal use only.

Specified by:
getJintegraDispatch in interface com.esri.arcgis.interop.RemoteObjRef

release

public void release()
Release a GxMetadataFactory.

Specified by:
release in interface com.esri.arcgis.interop.RemoteObjRef

setCatalogByRef

public void setCatalogByRef(IGxCatalog rhs1)
                     throws java.io.IOException,
                            AutomationException
Attach the catalog to the object factory.

Specified by:
setCatalogByRef in interface IGxObjectFactory
Parameters:
rhs1 - A reference to a com.esri.arcgis.catalog.IGxCatalog (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getName

public java.lang.String getName()
                         throws java.io.IOException,
                                AutomationException
The name of the object factory.

Specified by:
getName in interface IGxObjectFactory
Returns:
The factoryName
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

hasChildren

public boolean hasChildren(java.lang.String parentDir,
                           IFileNames fileNames)
                    throws java.io.IOException,
                           AutomationException
Indicates if any of the specified files are supported by the object factory.

Specified by:
hasChildren in interface IGxObjectFactory
Parameters:
parentDir - The parentDir (in)
fileNames - A reference to a com.esri.arcgis.system.IFileNames (in)
Returns:
The hasChildren
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getChildren

public IEnumGxObject getChildren(java.lang.String parentDir,
                                 IFileNames fileNames)
                          throws java.io.IOException,
                                 AutomationException
Returns an enumeration of objects corresponding to one or more of the given file names supported by the object factory.

Specified by:
getChildren in interface IGxObjectFactory
Parameters:
parentDir - The parentDir (in)
fileNames - A reference to a com.esri.arcgis.system.IFileNames (in)
Returns:
A reference to a com.esri.arcgis.catalog.IEnumGxObject
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getGxObjectFromMetadata

public IGxObject getGxObjectFromMetadata(java.lang.String metadataPath)
                                  throws java.io.IOException,
                                         AutomationException
Given a path to some metadata, constructs the corresponding GxObject.

Specified by:
getGxObjectFromMetadata in interface IGxObjectFactoryMetadata
Parameters:
metadataPath - The metadataPath (in)
Returns:
A reference to a com.esri.arcgis.catalog.IGxObject
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getPriority

public int getPriority()
                throws java.io.IOException,
                       AutomationException
The priority of the object factory. The higher the priority, the sooner the object factory is used to discover GxObjects.

Specified by:
getPriority in interface IGxObjectFactoryPriority
Returns:
The priority
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setPriority

public void setPriority(int priority)
                 throws java.io.IOException,
                        AutomationException
The priority of the object factory. The higher the priority, the sooner the object factory is used to discover GxObjects.

Specified by:
setPriority in interface IGxObjectFactoryPriority
Parameters:
priority - The priority (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getRelevantExtensions

public java.lang.String getRelevantExtensions()
                                       throws java.io.IOException,
                                              AutomationException
The complete set of file extensions relevant to the factory.

Specified by:
getRelevantExtensions in interface IGxObjectFactoryFileExtensions
Returns:
The extSet
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getActivationExtensions

public java.lang.String getActivationExtensions()
                                         throws java.io.IOException,
                                                AutomationException
The minimal set of file extensions which should cause the factory to be activated.

Specified by:
getActivationExtensions in interface IGxObjectFactoryFileExtensions
Returns:
The extSet
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.