com.esri.arcgis.geodatabase
Class XmlPropertySetEdit

java.lang.Object
  extended by com.esri.arcgis.geodatabase.XmlPropertySetEdit
All Implemented Interfaces:
IXmlPropertySetEdit, com.esri.arcgis.interop.RemoteObjRef, Serializable

public class XmlPropertySetEdit
extends Object
implements com.esri.arcgis.interop.RemoteObjRef, IXmlPropertySetEdit

ESRI XML PropertySet Edit object.

Product Availability

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

Supported Platforms

Windows, Solaris, Linux

See Also:
Serialized Form

Constructor Summary
XmlPropertySetEdit()
          Constructs a XmlPropertySetEdit using ArcGIS Engine.
XmlPropertySetEdit(Object obj)
          Deprecated. As of ArcGIS 9.2, replaced by normal Java casts.
XmlPropertySetEdit theXmlPropertySetEdit = (XmlPropertySetEdit) obj;
 
Method Summary
 boolean equals(Object o)
          Compare this object with another
static String getClsid()
          getClsid.
 Object getProperty(String name)
          Returns the set of values for the specified element.
 int hashCode()
          the hashcode for this object
 void setDatasetByRef(IDataset rhs1)
          Dataset whose metadata will be edited.
 void setProperty(String name, Object value, int propType, int action)
          Sets the value of the specified element.
 
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

XmlPropertySetEdit

public XmlPropertySetEdit()
                   throws IOException,
                          UnknownHostException
Constructs a XmlPropertySetEdit using ArcGIS Engine.

Throws:
IOException - if there are interop problems
UnknownHostException - if there are interop problems

XmlPropertySetEdit

public XmlPropertySetEdit(Object obj)
                   throws IOException
Deprecated. As of ArcGIS 9.2, replaced by normal Java casts.
XmlPropertySetEdit theXmlPropertySetEdit = (XmlPropertySetEdit) obj;

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

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

getClsid

public static String getClsid()
getClsid.


equals

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

Overrides:
equals in class Object

hashCode

public int hashCode()
the hashcode for this object

Overrides:
hashCode in class Object

setDatasetByRef

public void setDatasetByRef(IDataset rhs1)
                     throws IOException,
                            AutomationException
Dataset whose metadata will be edited.

Product Availability

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

Supported Platforms

Windows, Solaris, Linux

Specified by:
setDatasetByRef in interface IXmlPropertySetEdit
Parameters:
rhs1 - A reference to a com.esri.arcgis.geodatabase.IDataset (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getProperty

public Object getProperty(String name)
                   throws IOException,
                          AutomationException
Returns the set of values for the specified element.

Product Availability

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

Supported Platforms

Windows, Solaris, Linux

Specified by:
getProperty in interface IXmlPropertySetEdit
Parameters:
name - The name (in)
Returns:
A Variant
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setProperty

public void setProperty(String name,
                        Object value,
                        int propType,
                        int action)
                 throws IOException,
                        AutomationException
Sets the value of the specified element.

Product Availability

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

Supported Platforms

Windows, Solaris, Linux

Specified by:
setProperty in interface IXmlPropertySetEdit
Parameters:
name - The name (in)
value - A Variant (in)
propType - A com.esri.arcgis.geodatabase.esriXmlPropertyType constant (in)
action - A com.esri.arcgis.geodatabase.esriXmlSetPropertyAction constant (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.