public interface IXmlPropertySet2
extends java.io.Serializable
Description: 'Provides access to members that manage metadata.' 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 =
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
IID
Deprecated.
Internal use only
|
static int |
IID01700025_ef62_47e3_bd1e_7a47d0696541 |
static int |
xxDummy
Deprecated.
Internal use only
|
Modifier and Type | Method and Description |
---|---|
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 |
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.
|
int |
getCountX(java.lang.String name)
Number of occurrances of an element in the metadata.
|
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.String |
getXml(java.lang.String name)
Returns the XML corresponding to the specified element as a string.
|
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.
|
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 |
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 |
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 |
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.
|
static final int IID01700025_ef62_47e3_bd1e_7a47d0696541
static final int xxDummy
static final java.lang.String IID
int getCountX(java.lang.String name) throws java.io.IOException, AutomationException
name
- The name (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.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
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.void setPropertyX(java.lang.String name, java.lang.Object value, int propType, int action, boolean syncing) throws java.io.IOException, AutomationException
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.void deleteProperty(java.lang.String name) throws java.io.IOException, AutomationException
name
- The name (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.void deletePropertyByAttribute(java.lang.String attribute, java.lang.String value, boolean deleteParent) throws java.io.IOException, AutomationException
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.java.lang.String simpleGetProperty(java.lang.String name) throws java.io.IOException, AutomationException
name
- The name (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.void saveAsFile(java.lang.String xslPath, java.lang.String header, boolean outputANSI, java.lang.String[] outPath) throws java.io.IOException, AutomationException
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.boolean isNew() throws java.io.IOException, AutomationException
java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.void setAttribute(java.lang.String name, java.lang.String attribute, java.lang.Object value, int action) throws java.io.IOException, AutomationException
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.void transformImages(java.lang.String path, java.lang.Object[] fileNames) throws java.io.IOException, AutomationException
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.void initExisting() throws java.io.IOException, AutomationException
java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.void initGeneric(java.lang.String rootName) throws java.io.IOException, AutomationException
rootName
- The rootName (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.java.lang.String getXml(java.lang.String name) throws java.io.IOException, AutomationException
name
- The name (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.void setXml(java.lang.String xml) throws java.io.IOException, AutomationException
xml
- The xml (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.void deletePropertyByNameAndAttribute(java.lang.String name, java.lang.String attribute, java.lang.String value, boolean deleteParent) throws java.io.IOException, AutomationException
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.void getAttribute(java.lang.String name, java.lang.String attribute, java.lang.Object[] value) throws java.io.IOException, AutomationException
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.void setOverwriteSyncAttribute(boolean overwriteSyncAttributes) throws java.io.IOException, AutomationException
overwriteSyncAttributes
- The overwriteSyncAttributes (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.boolean isOverwriteSyncAttribute() throws java.io.IOException, AutomationException
java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.