|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.esri.arcgis.catalog.GxMetadataFactory
public class GxMetadataFactory
A factory for creating GxMetadata objects to show XML files in the Catalog.
Constructor Summary | |
---|---|
GxMetadataFactory()
Constructs a GxMetadataFactory using ArcGIS Engine. |
|
GxMetadataFactory(Object obj)
Deprecated. As of ArcGIS 9.2, replaced by normal Java casts. GxMetadataFactory theGxMetadataFactory = (GxMetadataFactory) obj; |
Method Summary | |
---|---|
boolean |
equals(Object o)
Compare this object with another |
String |
getActivationExtensions()
The minimal set of file extensions which should cause the factory to be activated. |
IEnumGxObject |
getChildren(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 String |
getClsid()
getClsid. |
IGxObject |
getGxObjectFromMetadata(String metadataPath)
Given a path to some metadata, constructs the corresponding GxObject. |
String |
getName()
The name of the object factory. |
int |
getPriority()
The priority of the object factory. |
String |
getRelevantExtensions()
The complete set of file extensions relevant to the factory. |
boolean |
hasChildren(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 |
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 |
Methods inherited from interface com.esri.arcgis.interop.RemoteObjRef |
---|
getJintegraDispatch, release |
Constructor Detail |
---|
public GxMetadataFactory() throws IOException, UnknownHostException
IOException
- if there are interop problems
UnknownHostException
- if there are interop problemspublic GxMetadataFactory(Object obj) throws IOException
GxMetadataFactory theGxMetadataFactory = (GxMetadataFactory) obj;
obj
to GxMetadataFactory
.
obj
- an object returned from ArcGIS Engine or Server
IOException
- if there are interop problemsMethod Detail |
---|
public static String getClsid()
public boolean equals(Object o)
equals
in class Object
public int hashCode()
hashCode
in class Object
public void setCatalogByRef(IGxCatalog rhs1) throws IOException, AutomationException
setCatalogByRef
in interface IGxObjectFactory
rhs1
- A reference to a com.esri.arcgis.catalog.IGxCatalog (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public String getName() throws IOException, AutomationException
getName
in interface IGxObjectFactory
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public boolean hasChildren(String parentDir, IFileNames fileNames) throws IOException, AutomationException
hasChildren
in interface IGxObjectFactory
parentDir
- The parentDir (in)fileNames
- A reference to a com.esri.arcgis.system.IFileNames (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public IEnumGxObject getChildren(String parentDir, IFileNames fileNames) throws IOException, AutomationException
getChildren
in interface IGxObjectFactory
parentDir
- The parentDir (in)fileNames
- A reference to a com.esri.arcgis.system.IFileNames (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public IGxObject getGxObjectFromMetadata(String metadataPath) throws IOException, AutomationException
getGxObjectFromMetadata
in interface IGxObjectFactoryMetadata
metadataPath
- The metadataPath (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public int getPriority() throws IOException, AutomationException
getPriority
in interface IGxObjectFactoryPriority
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setPriority(int priority) throws IOException, AutomationException
setPriority
in interface IGxObjectFactoryPriority
priority
- The priority (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public String getRelevantExtensions() throws IOException, AutomationException
getRelevantExtensions
in interface IGxObjectFactoryFileExtensions
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public String getActivationExtensions() throws IOException, AutomationException
getActivationExtensions
in interface IGxObjectFactoryFileExtensions
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 |