public class XmlPropertySet extends java.lang.Object implements com.esri.arcgis.interop.RemoteObjRef, IPersistStreamInit, IPropertySet, IXmlPropertySet, IXmlPropertySet2, ISupportErrorInfo, IClone, IXMLSerialize
Description 'Esri XML PropertySet object.' 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 =
IID, IID7fd52380_4e07_101b_ae2d_08002b2ec713, xxDummy
IID0000010c_0000_0000_c000_000000000046
IID, IIDf0ba6abc_8e9f_11d0_b4ab_0000f8037368, xxDummy
IID, IID121bd4bc_2508_11d3_a641_0008c7d3ae50, xxDummy
IID, IID01700025_ef62_47e3_bd1e_7a47d0696541, xxDummy
IID, IIDdf0b3d60_548f_101b_8e65_08002b2bd119, xxDummy
IID, IID9bff8aeb_e415_11d0_943c_080009eebecb, xxDummy
IID, IIDc8545045_6615_48e3_af27_52a0e5fc35e2, xxDummy
Constructor and Description |
---|
XmlPropertySet()
Constructs a XmlPropertySet using ArcGIS Engine.
|
XmlPropertySet(java.lang.Object obj)
Deprecated.
As of ArcGIS 9.2, replaced by normal Java casts.
XmlPropertySet theXmlPropertySet = (XmlPropertySet) obj; |
Modifier and Type | Method and Description |
---|---|
void |
assign(IClone src)
Assigns the properties of src to the receiver.
|
void |
deleteProperty(java.lang.String name)
Deletes the specified elements.
|
void |
deletePropertyByAttribute(java.lang.String attribute,
java.lang.String value,
boolean deleteParent)
Deletes the elements which have the specified attribute value.
|
void |
deletePropertyByNameAndAttribute(java.lang.String name,
java.lang.String attribute,
java.lang.String value,
boolean deleteParent)
Deletes the specified elements which have the specified attribute value.
|
void |
deserialize(IXMLSerializeData data)
Deserializes an object from XML.
|
boolean |
equals(java.lang.Object o)
Compare this object with another
|
IClone |
esri_clone()
Clones the receiver and assigns the result to *clone.
|
void |
getAllProperties(java.lang.Object[] names,
java.lang.Object[] values)
The name and value of all the properties in the property set.
|
void |
getAttribute(java.lang.String name,
java.lang.String attribute,
java.lang.Object[] value)
Returns the set of values for the specified attribute from the specified elements.
|
void |
getClassID(GUID[] pClassID)
getClassID
|
static java.lang.String |
getClsid()
getClsid.
|
int |
getCount()
The number of properties contained in the property set.
|
int |
getCountX(java.lang.String name)
Number of occurrances of an element in the metadata.
|
com.esri.arcgis.interop.Dispatch |
getJintegraDispatch()
Gets a reference to a com.esri.arcgis.interop.Dispatch which can be used to access the COM object that support for this
interface indicates the implementing class references.
|
void |
getProperties(java.lang.Object names,
java.lang.Object[] values)
The values of the specified properties.
|
void |
getPropertiesByAttribute(java.lang.String attribute,
java.lang.String value,
boolean noValues,
java.lang.Object[] tags,
java.lang.Object[] values)
Returns the set of names and values for elements which have the specified attribute value.
|
java.lang.Object |
getProperty(java.lang.String name)
The value of the specified property.
|
void |
getSizeMax(_ULARGE_INTEGER[] pCbSize)
getSizeMax
|
java.lang.String |
getXml(java.lang.String name)
Returns the XML corresponding to the specified element as a string.
|
int |
hashCode()
the hashcode for this object
|
void |
initExisting()
Initializes an XmlPropertySet and adds the Esri group of elements.
|
void |
initGeneric(java.lang.String rootName)
Initializes an XmlPropertySet without adding the Esri group of elements.
|
void |
initNew()
initNew
|
void |
interfaceSupportsErrorInfo(GUID riid)
interfaceSupportsErrorInfo
|
void |
isDirty()
isDirty
|
boolean |
isEqual(IClone other)
Indicates if the receiver and other have the same properties.
|
boolean |
isEqual(IPropertySet propertySet)
True if the property set is the same as the input property set.
|
boolean |
isIdentical(IClone other)
Indicates if the receiver and other are the same object.
|
boolean |
isNew()
Indicates if a new XmlPropertySet was created on retrieving the metadata.
|
boolean |
isOverwriteSyncAttribute()
Indicates if the Sync attribute will be ignored when setting an element's value.
|
void |
load(IStream pStm)
load
|
void |
release()
Release this COM object reference
|
void |
removeProperty(java.lang.String name)
Removes a property from the set.
|
void |
save(IStream pStm,
int fClearDirty)
save
|
void |
saveAsFile(java.lang.String xslPath,
java.lang.String header,
boolean outputANSI,
java.lang.String[] outPath)
Transforms the metadata using an XSL stylesheet if specified, writes out the header if specified, and saves it in a file.
|
void |
serialize(IXMLSerializeData data)
Serializes an object to XML.
|
void |
setAttribute(java.lang.String name,
java.lang.String attribute,
java.lang.Object value,
int action)
Sets the attribute of the specified element.
|
void |
setOverwriteSyncAttribute(boolean overwriteSyncAttributes)
Indicates if the Sync attribute will be ignored when setting an element's value.
|
void |
setProperties(java.lang.Object names,
java.lang.Object values)
The values of the specified properties.
|
void |
setProperty(java.lang.String name,
java.lang.Object value)
The value of the specified property.
|
void |
setPropertyX(java.lang.String name,
java.lang.Object value,
int propType,
int action,
boolean syncing)
Sets the value of the specified element.
|
void |
setXml(java.lang.String xml)
Replaces existing metadata with the content defined in the XML.
|
java.lang.String |
simpleGetProperty(java.lang.String name)
The values of the specified property.
|
void |
transformImages(java.lang.String path,
java.lang.Object[] fileNames)
Transforms encoded thumbnail and image enclosures to files and links them into the metadata.
|
public XmlPropertySet() throws java.io.IOException, java.net.UnknownHostException
java.io.IOException
- if there are interop problemsjava.net.UnknownHostException
- if there are interop problemspublic XmlPropertySet(java.lang.Object obj) throws java.io.IOException
XmlPropertySet theXmlPropertySet = (XmlPropertySet) obj;
obj
to XmlPropertySet
.obj
- an object returned from ArcGIS Engine or Serverjava.io.IOException
- if there are interop problemspublic static java.lang.String getClsid()
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public com.esri.arcgis.interop.Dispatch getJintegraDispatch()
getJintegraDispatch
in interface com.esri.arcgis.interop.RemoteObjRef
public void release()
release
in interface com.esri.arcgis.interop.RemoteObjRef
public void isDirty() throws java.io.IOException, AutomationException
isDirty
in interface IPersistStreamInit
java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public void load(IStream pStm) throws java.io.IOException, AutomationException
load
in interface IPersistStreamInit
pStm
- A reference to a com.esri.arcgis.system.IStream (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public void save(IStream pStm, int fClearDirty) throws java.io.IOException, AutomationException
save
in interface IPersistStreamInit
pStm
- A reference to a com.esri.arcgis.system.IStream (in)fClearDirty
- The fClearDirty (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public void getSizeMax(_ULARGE_INTEGER[] pCbSize) throws java.io.IOException, AutomationException
getSizeMax
in interface IPersistStreamInit
pCbSize
- A Structure: com.esri.arcgis.system._ULARGE_INTEGER (out: use single element array)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public void initNew() throws java.io.IOException, AutomationException
initNew
in interface IPersistStreamInit
java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public void getClassID(GUID[] pClassID) throws java.io.IOException, AutomationException
getClassID
in interface IPersist
pClassID
- A Structure: com.esri.arcgis.support.ms.stdole.GUID (out: use single element array)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public int getCount() throws java.io.IOException, AutomationException
getCount
in interface IPropertySet
java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public java.lang.Object getProperty(java.lang.String name) throws java.io.IOException, AutomationException
getProperty
in interface IPropertySet
name
- The name (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public void getProperties(java.lang.Object names, java.lang.Object[] values) throws java.io.IOException, AutomationException
getProperties
in interface IPropertySet
names
- A Variant (in)values
- A Variant (out: use single element array)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public void getAllProperties(java.lang.Object[] names, java.lang.Object[] values) throws java.io.IOException, AutomationException
getAllProperties
in interface IPropertySet
names
- A Variant (out: use single element array)values
- A Variant (out: use single element array)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public void setProperty(java.lang.String name, java.lang.Object value) throws java.io.IOException, AutomationException
setProperty
in interface IPropertySet
name
- The name (in)value
- A Variant (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public void setProperties(java.lang.Object names, java.lang.Object values) throws java.io.IOException, AutomationException
setProperties
in interface IPropertySet
names
- A Variant (in)values
- A Variant (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public boolean isEqual(IPropertySet propertySet) throws java.io.IOException, AutomationException
isEqual
in interface IPropertySet
propertySet
- A reference to a com.esri.arcgis.system.IPropertySet (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public void removeProperty(java.lang.String name) throws java.io.IOException, AutomationException
removeProperty
in interface IPropertySet
name
- The name (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public int getCountX(java.lang.String name) throws java.io.IOException, AutomationException
getCountX
in interface IXmlPropertySet
getCountX
in interface IXmlPropertySet2
name
- The name (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public void getPropertiesByAttribute(java.lang.String attribute, java.lang.String value, boolean noValues, java.lang.Object[] tags, java.lang.Object[] values) throws java.io.IOException, AutomationException
getPropertiesByAttribute
in interface IXmlPropertySet
getPropertiesByAttribute
in interface IXmlPropertySet2
attribute
- The attribute (in)value
- The value (in)noValues
- The noValues (in)tags
- A Variant (out: use single element array)values
- A Variant (out: use single element array)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public void setPropertyX(java.lang.String name, java.lang.Object value, int propType, int action, boolean syncing) throws java.io.IOException, AutomationException
setPropertyX
in interface IXmlPropertySet
setPropertyX
in interface IXmlPropertySet2
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)syncing
- The syncing (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public void deleteProperty(java.lang.String name) throws java.io.IOException, AutomationException
deleteProperty
in interface IXmlPropertySet
deleteProperty
in interface IXmlPropertySet2
name
- The name (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public void deletePropertyByAttribute(java.lang.String attribute, java.lang.String value, boolean deleteParent) throws java.io.IOException, AutomationException
deletePropertyByAttribute
in interface IXmlPropertySet
deletePropertyByAttribute
in interface IXmlPropertySet2
attribute
- The attribute (in)value
- The value (in)deleteParent
- The deleteParent (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public java.lang.String simpleGetProperty(java.lang.String name) throws java.io.IOException, AutomationException
simpleGetProperty
in interface IXmlPropertySet
simpleGetProperty
in interface IXmlPropertySet2
name
- The name (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public void saveAsFile(java.lang.String xslPath, java.lang.String header, boolean outputANSI, java.lang.String[] outPath) throws java.io.IOException, AutomationException
saveAsFile
in interface IXmlPropertySet
saveAsFile
in interface IXmlPropertySet2
xslPath
- The xslPath (in)header
- The header (in)outputANSI
- The outputANSI (in)outPath
- The outPath (in/out: use single element array)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public boolean isNew() throws java.io.IOException, AutomationException
isNew
in interface IXmlPropertySet
isNew
in interface IXmlPropertySet2
java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public void setAttribute(java.lang.String name, java.lang.String attribute, java.lang.Object value, int action) throws java.io.IOException, AutomationException
setAttribute
in interface IXmlPropertySet
setAttribute
in interface IXmlPropertySet2
name
- The name (in)attribute
- The attribute (in)value
- A Variant (in)action
- A com.esri.arcgis.geodatabase.esriXmlSetPropertyAction constant (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public void transformImages(java.lang.String path, java.lang.Object[] fileNames) throws java.io.IOException, AutomationException
transformImages
in interface IXmlPropertySet
transformImages
in interface IXmlPropertySet2
path
- The path (in)fileNames
- A Variant (out: use single element array)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public void initExisting() throws java.io.IOException, AutomationException
initExisting
in interface IXmlPropertySet
initExisting
in interface IXmlPropertySet2
java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public void initGeneric(java.lang.String rootName) throws java.io.IOException, AutomationException
initGeneric
in interface IXmlPropertySet2
rootName
- The rootName (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public java.lang.String getXml(java.lang.String name) throws java.io.IOException, AutomationException
getXml
in interface IXmlPropertySet2
name
- The name (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public void setXml(java.lang.String xml) throws java.io.IOException, AutomationException
setXml
in interface IXmlPropertySet2
xml
- The xml (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public void deletePropertyByNameAndAttribute(java.lang.String name, java.lang.String attribute, java.lang.String value, boolean deleteParent) throws java.io.IOException, AutomationException
deletePropertyByNameAndAttribute
in interface IXmlPropertySet2
name
- The name (in)attribute
- The attribute (in)value
- The value (in)deleteParent
- The deleteParent (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public void getAttribute(java.lang.String name, java.lang.String attribute, java.lang.Object[] value) throws java.io.IOException, AutomationException
getAttribute
in interface IXmlPropertySet2
name
- The name (in)attribute
- The attribute (in)value
- A Variant (out: use single element array)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public void setOverwriteSyncAttribute(boolean overwriteSyncAttributes) throws java.io.IOException, AutomationException
setOverwriteSyncAttribute
in interface IXmlPropertySet2
overwriteSyncAttributes
- The overwriteSyncAttributes (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public boolean isOverwriteSyncAttribute() throws java.io.IOException, AutomationException
isOverwriteSyncAttribute
in interface IXmlPropertySet2
java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public void interfaceSupportsErrorInfo(GUID riid) throws java.io.IOException, AutomationException
interfaceSupportsErrorInfo
in interface ISupportErrorInfo
riid
- A Structure: com.esri.arcgis.support.ms.stdole.GUID (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public IClone esri_clone() throws java.io.IOException, AutomationException
esri_clone
in interface IClone
java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public void assign(IClone src) throws java.io.IOException, AutomationException
assign
in interface IClone
src
- A reference to a com.esri.arcgis.system.IClone (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public boolean isEqual(IClone other) throws java.io.IOException, AutomationException
isEqual
in interface IClone
other
- A reference to a com.esri.arcgis.system.IClone (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public boolean isIdentical(IClone other) throws java.io.IOException, AutomationException
isIdentical
in interface IClone
other
- A reference to a com.esri.arcgis.system.IClone (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public void serialize(IXMLSerializeData data) throws java.io.IOException, AutomationException
serialize
in interface IXMLSerialize
data
- A reference to a com.esri.arcgis.system.IXMLSerializeData (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public void deserialize(IXMLSerializeData data) throws java.io.IOException, AutomationException
deserialize
in interface IXMLSerialize
data
- A reference to a com.esri.arcgis.system.IXMLSerializeData (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.