|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.esri.arcgis.catalog.GNSynchronizer
public class GNSynchronizer
Esri Geography Network Synchronizer object.
When metadata is synchronized, this synchronizer adds properties for the ArcGIS item that is used if its metadata is published to an ArcIMS Metadata Service. For ArcIMS WMS and WFS services, adds properties of the service to its metadata. If the metadata is published to an ArcIMS Metadata Service and the published document is viewed, these properties let you preview the service in ArcGIS even if you only have access to the service’s metadata.
This synchronizer is provided with ArcGIS, but is no longer used. These functionality provided by this object is now included in the FGDCSynchronizer CoClass.
Constructor Summary | |
---|---|
GNSynchronizer()
Constructs a GNSynchronizer using ArcGIS Engine. |
|
GNSynchronizer(Object obj)
Construct a GNSynchronizer using a reference to such an object returned from ArcGIS Engine or Server. |
Method Summary | |
---|---|
boolean |
equals(Object o)
Compare this object with another |
IUID |
getClassID()
The class ID of the metadata synchronizer. |
static String |
getClsid()
getClsid. |
String |
getName()
The name of the metadata synchronizer. |
int |
hashCode()
the hashcode for this object |
void |
update(IXmlPropertySet propertySet,
String itemDesc,
Object value)
Updates the metadata item using the value passed in. |
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 GNSynchronizer() throws IOException, UnknownHostException
IOException
- if there are interop problems
UnknownHostException
- if there are interop problemspublic GNSynchronizer(Object obj) throws IOException
obj
to GNSynchronizer
.
obj
- an object returned from ArcGIS Engine or Server
IOException
- if there are interop problems
GNSynchronizer theGNSynchronizer = (GNSynchronizer) obj;
Method Detail |
---|
public static String getClsid()
public boolean equals(Object o)
equals
in class Object
public int hashCode()
hashCode
in class Object
public String getName() throws IOException, AutomationException
A string that identifies the synchronizer. The Name is used when managing metadata synchronizers through the IMetadataSynchronizationManager interface.
getName
in interface IMetadataSynchronizer
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public IUID getClassID() throws IOException, AutomationException
A UID object that must be unique to the synchronizer.
getClassID
in interface IMetadataSynchronizer
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void update(IXmlPropertySet propertySet, String itemDesc, Object value) throws IOException, AutomationException
This method is used to define the structure of the metadata that is written during synchronization. It is called once for each property of the dataset during synchronization. The method requires three parameters; pPropertySet, itemDesc, and Value.
The pPropertySet parameter is an XML property set representing the metadata of the dataset being synchronized.
The itemDesc string parameter describes what object is being passed in the Value parameter.
The Value parameter is an object of the datasets whose metadata is being synchronized.
The different objects passed to the Update method, the Value parameter, vary from the type of dataset that is being synchronized. Not all itemDesc are supported for all data types. For instance, CoverageEntity objects only apply to ArcGIS for Desktop Advanced coverages and ArcGIS for Desktop Advanced tables.
A complete list of the expected Values for the supported itemDesc items is available in the Technical Paper "Creating a Custom Metadata Synchronizer," May 2001.
update
in interface IMetadataSynchronizer
propertySet
- A reference to a com.esri.arcgis.geodatabase.IXmlPropertySet (in)itemDesc
- The itemDesc (in)value
- A Variant (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 |